SSL certificate problem Self Signed Certificate

  • Posted September 1, 2015
  • PHP

We are getting “HTTP Error: (0) SSL certificate problem: self signed certificate” error message. Same issue is not coming on other server for same code base.

Please let us know IF there any setting on server for SSL certificate that can be reason behind the above error message and how we can resolve the issue.



Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

When you are trying to access a service on your server, over the SSL (Secure Socket Layer) protocol, the server has to identify itself with a SSL certificate to the web-browser. In order for web-browsers to trust the certificate that the server has presented, the SSL certificate must be issued by a valid Certificate Authority (CA). By default the SSL certificate that would be configured on your server would be a self-signed one, essentially meaning that it has not been issued by a CA, but instead your own server has signed the certificate as being valid.This works perfectly fine for encrypting data, but it will present you with an error or warning in your web-browser when trying to access the secure content.

So when you buy an SSL certificate from a valid CA (for example from namecheap), you will not get this error anymore and everything looks good.

Get a signed SSL certificate.