【发布时间】:2015-12-21 19:27:26
【问题描述】:
我正在尝试确认,我们的服务器将为 SSL 证书更改做好准备。
根据 www.sandbox.paypal.com 上的 Microsite 迁移已完成。
运行:
openssl s_client -CApath /etc/ssl/certs/ -connect www.sandbox.paypal.com:443
返回 0(正常)
此测试是否明确确认我们的服务器已准备就绪?
【问题讨论】:
我正在尝试确认,我们的服务器将为 SSL 证书更改做好准备。
根据 www.sandbox.paypal.com 上的 Microsite 迁移已完成。
运行:
openssl s_client -CApath /etc/ssl/certs/ -connect www.sandbox.paypal.com:443
返回 0(正常)
此测试是否明确确认我们的服务器已准备就绪?
【问题讨论】:
openssl 连接 return code(0) 将对此证书检查是肯定的,但您可能需要为调用做一些细微的更改。
运行以下行并再次尝试 conn,(我添加了 --showcerts 参数以便打印出证书链,您可以轻松识别其中的 Verisign G5 根证书)
openssl s_client -connect api-3t.sandbox.paypal.com:443 -showcerts -CApath /etc/ssl/certs/
【讨论】: