阅读背景:

当浏览器正确显示时,Openssl显示不同的服务器证书

来源:互联网 

I am using openssl s_client -showcerts -connect test.abc.com:443 -state -debug to check the server certificate. The server is using nginx. But when i request the above openssl shows the server certificate as *.xyz.com. I want to know where openssl is getting this as the server certificate. OS is Linux. checked in /etc/pki/tls but the certificate which openssl reads as the server certificate is not there. And the nginx config points to the correct certificate for abc.com. Also if I access using the browser the correct cert is shown. This happens only with openssl. :( I am using openssl s_client -showcerts -connect




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: