我从GoDaddy为我的域名购买了一个SSL证书。
内容如下:
gd_bundle-g2-g1.crt我在我的Apache 2.2.31网络服务器上有vhost。以下是配置(httpd.conf):
<VirtualHost X.X.X.X:443>
SSLEngine on
SSLCertificateFile [[path_to_certificate]]
SSLCertificateKeyFile [[path_to_key]]
SSLCertificateChainFile [[path_to_gd_bundle-g2-g1.crt]]
ServerName [[domain_nme]]
ProxyRequests Off
ProxyPreserveHost On
ProxyPass / http://localhost:8081/
ProxyPassReverse / http://localhost:8081/
</VirtualHost>它在Google中正常工作。在Andriod客户端中,抛出一个java.security.cert.CertPathValidatorException。这是因为一个糟糕的中级证书。
问题:
gd_bundle-g2-g1.crt是否正确?注意:https://www.ssllabs.com/ssltest/index.html的SSL测试也表明链是不完整的。
发布于 2015-09-11 20:48:37
您可能需要在gdig2.crt上列出的GoDaddy证书库。它也应该包含在您下载的包中。
一旦您拥有了该证书,并且知道了根证书,您就可以使用以下方法验证它:
openssl verify -verbose -CAfile <(cat gdroot-g2.crt gdig2.crt) yourcert.crt
如果可以的话,你应该看到类似于<certname>:OK的东西
一旦您确保了所有的工作,那么您就可以重新尝试您的SSLLabs测试。
希望这能帮上忙。=)
https://serverfault.com/questions/721751
复制相似问题