How To: Fix Error “cURL error 60: SSL certificate problem: unable to get local issuer certificate”

  Email, SSL Certificate, Web

Sometimes, when cutomers use their gmail account to send out emails throught their website, e.g WordPress, they may encounter the error below:

[cc]cURL error 60: SSL certificate problem: unable to get local issuer certificat[/cc]

In order to fix it we need to download a CA cert file from https://curl.haxx.se/docs/caextract.html and include it in website’s php.ini file:

[cc]curl.cainfo = “/usr/local/php55/lib/cacert.pem”[/cc]