【发布时间】:2019-07-23 02:19:00
【问题描述】:
C:\Users\casta>curl https://c5.ppy.sh
curl: (35) schannel: next InitializeSecurityContext failed: Unknown error (0x80092012) - The revocation function was unable to check revocation for the certificate.
我创建了自己的 CA,并从该 CA 中创建了证书。
问题是,当我尝试使用此证书访问网站时,它工作正常!
但是如果我尝试使用 curl 或 C# 应用程序,它会返回错误。
C# 错误在这里:
2019-02-28T09:20:33: System.Net.WebException: The request was aborted: Could not create SSL/TLS secure channel
2019-02-28T09:20:33: 위치: #=zGFbxUFU_LnBci6wJmmCy1$E=.#=z0YcFrd6MZP1A()
2019-02-28T09:20:33: 위치: #=zuFHGCPNOLQmjQEcRmqQHLnQ=.#=z3NGNjJ0=()
【问题讨论】:
-
我在具有自签名证书的网络上使用 PowerShell 时遇到了这个问题。不过,不确定如何告诉 PowerShell 证书没问题。
标签: ssl ssl-certificate tls1.2