28,661 questions
How to fix "curl: (35) schannel: next InitializeSecurityContext failed: CRYPT_E_NO_REVOCATION_CHECK (0x80092012)" while using curl in powershell on win11?
dreampasssser
20
Reputation points
I used proxy software to access github. It worked in the browser, but it didn't work when I used curl in powershell. Access it as follows:
curl -v https://github.com
This error will be reported:
* Host github.com:443 was resolved.
* IPv6: (none)
* IPv4: 127.0.0.1
* Trying 127.0.0.1:443...
* Connected to github.com (127.0.0.1) port 443
* schannel: disabled automatic use of client certificate
* ALPN: curl offers http/1.1
* schannel: next InitializeSecurityContext failed: CRYPT_E_NO_REVOCATION_CHECK (0x80092012) - 吊销功能无法检查证书是否吊销。
* closing connection #0
curl: (35) schannel: next InitializeSecurityContext failed: CRYPT_E_NO_REVOCATION_CHECK (0x80092012) - 吊销功能无法检查证书是否吊销。
I looked it up and saw that the --ssl-no-revoke
argument can be used to avoid errors. But this is a way to skip the check of revocation, I think it's not so good. I want to know if there's any other way to resolve it.
Windows for business | Windows Client for IT Pros | User experience | Other
Sign in to answer