Saturday, 24 September 2016

Godaddy SSL certificate not working with IPhone/IPad/Mac

Godaddy SSL certificate not working with IPhone/IPad/Mac

Failed to load resource: The certificate for this server is invalid. You might be connecting to a server that is pretending to be "<your_domian_name>" which could put your confidential information at risk.

If you are getting above error, there is a solution. Godaddy SSL certificate works fine with all the devices except iPhone, iPad and Mac. And you get error like (in Inspect Element --> console output):

Failed to load resource: The certificate for this server is invalid. You might be connecting to a server that is pretending to be "<your_domian_name>" which could put your confidential information at risk.


Generally, this error comes when your server is not configured to provide full issued chained certificate (also known as intermediate certificate), back to the root SSL certificate. It is a default mechanism in iPhone, iPad and Mac for trusted roots.


Hence, To resolve this issue, just include chained certificate (or intermediate certificate) generally named as gd_bundle.crt (on Godaddy) in server configuration file along with main or root SSL certificate.


Configuration for Apache server is as follow:


SSLEngine On
SSLCertificateFile /etc/httpd/ssl/abcd.crt
SSLCertificateKeyFile /etc/httpd/ssl/xyz.key
SSLCertificateChainFile /etc/httpd/ssl/gd_bundle.crt

where abcd.crt is a main or root SSL certificate. Replace it with your complete path of SSL certificate file. xyz.key is a private key of your instance that is used for making CSR request. Replace it with your complete path of private key file . And gd_bundle.crt is a intermediate certificate that you get along with the root SSL certificate. Replace it with your complete path of intermediate certificate file.

0 comments:

Post a Comment

 

Copyright @ 2013 Appychip.

Designed by Appychip & YouTube Channel