SSL handshake fails with - a verisign chain certificate - that contains two CA signed certificates and one self-signed certificate

前端 未结 5 952
Happy的楠姐
Happy的楠姐 2020-12-23 14:04

I am stuck with a issue and trying to debug it. We purchased a Verisign certificate. When we use:

openssl> s_client -connect myweb.com:443 -showcerts
         


        
5条回答
  •  -上瘾入骨i
    2020-12-23 14:41

    When you see "Verify return code: 19 (self signed certificate in certificate chain)", then, either the servers is really trying to use a self-signed certificate (which a client is never going to be able to verify), or OpenSSL hasn't got access to the necessary root but the server is trying to provide it itself (which it shouldn't do because it's pointless - a client can never trust a server to supply the root corresponding to the server's own certificate).

    Again, adding -showcerts will help you diagnose which.

提交回复
热议问题