win11上使用 curl 时,报错:curl: (35) schannel: next InitializeSecurityContext failed: CRYPT_E_NO_REVOCATION_CHECK (0x80092012) - 吊销功能无法检查证书是否吊销
dreampasssser
70
信誉分
我使用了代理软件去访问 github,浏览器能正常访问,但在 powershell 中使用 curl 时不行,用如下的方式访问:
curl -v https://github.com
会报这样的错误:
* 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) - 吊销功能无法检查证书是否吊销。
查了一些资料,看到能用 --ssl-no-revoke 参数来避免报错。但这是跳过吊销检查的方法,感觉不太好,想知道有没有其他的办法。
Windows 商业版 | 面向 IT 专业人士的 Windows 客户端 | 用户体验 | 其他
登录以回答