curl: Unknown error (0x80092012) - The revocation function was unable to check revocation for the certificate

前端 未结 2 613
醉酒成梦
醉酒成梦 2020-12-18 00:39
C:\\Users\\casta>curl https://c5.ppy.sh
curl: (35) schannel: next InitializeSecurityContext failed: Unknown error (0x80092012) - The revocation function was unabl         


        
相关标签:
2条回答
  • 2020-12-18 01:12

    You can use the --ssl flag and omit the https like this

    curl --ssl c5.ppy.sh
    
    0 讨论(0)
  • 2020-12-18 01:13

    I've been using curl through a mitm proxy for pen-testing and getting the same issue.

    I finally figured that curl needs a parameter telling it not to check certificate revocation, so the command looks something like this:

    curl "https://www.example.com" --ssl-no-revoke -x 127.0.0.1:8081
    

    The -x parameter passes the proxy details - you may not need this.

    hth

    0 讨论(0)
提交回复
热议问题