Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
9,967 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
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 also 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, so I don't really want to use it.
I want to find a way to manual use of client certificate or enable automatic use of client certificate. And any other way without skip of the check is fine.