[Solved] Facebook Debugger – Curl error: 60 (SSL_CACERT)


Problem :

When user tries to share website link on Facebook post image don’t appear. Since post image sharing is associated with the open graph structured meta data it needed to be debugged with Facebook sharing debugger. After debugging problem following SSL related error message is generated.

SSL Error : “Can’t validate SSL Certificate. Either it is self-signed (which will cause browser warnings) or it is invalid.” and Curl Error: “Curl error: 60 (SSL_CACERT)

Cause :

Problem is with SSL certificate installation . Server’s certificate chain is incomplete.

If you analyze/test your SSl certificate at SSL Labs you will get B grade due to this. As shown in following image

Server's certificate chain is incomplete.

Failure to install the correct chain can cause certificate errors in browsers, driving visitors away from your site. To complicate matters, some browsers cache intermediate certificates, or download missing intermediates on-demand, meaning that an improperly-configured chain could work in some browsers but not others, making this an annoying problem to debug.


To solve this problem you have to install ssl chain certificate. You will get full chain certificate by combining your site Certificate (CRT) and Certificate Authority Bundle (CABUNDLE).

Go to your SSL installation page, Initiate SSL installation

  1. Install Private key: (KEY)
  2. Then Install “CRT + CABUNDLE ” in single file.

if you still confused how to generate chain certificate you can use Whats My Chain Cert tool.

After installing chain certificate Curl Error: “Curl error: 60 (SSL_CACERT)” should be solved.

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More