I bought an SSL certificate for my domain from GoDaddy.
The following are the contents:
- The certificate file
gd_bundle-g2-g1.crt
I have vhost on my Apache 2.2.31
web server. The following is the configuration (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>
Its working properly in Google Chrome. In Andriod clients, an java.security.cert.CertPathValidatorException
is thrown. It is because of a bad intermediate certificate.
Question:
- Is the file
gd_bundle-g2-g1.crt
that comes with the download the correct one? - If yes, what is the problem with my configuration?
Note: The SSL test at https://www.ssllabs.com/ssltest/index.html also says the chain is incomplete.