BoltCM

Sophisticated, Lightweight and Simple

Jump to docs navigation
Edit on GitHub

Howtos » Setting Up cURL SSL/TLS Certificate Authority Certificates

If your system is not correctly set up with SSL/TLS Certificate Authority (CA) certificates, you might get the following error:

Curl (60) SSL Certificate Problem: Unable to get local issuer certificate

Note: This is a system configuration problem, and not specific to either cURL or Bolt. The information here is provided as a useful starting point only.

Installing Automatically Converted CA Certificates from mozilla.org

  1. Download cacert.pem
  2. Move the cacert.pem file to the affected computer, e.g.
    • /etc/pki/tls/cacert.pem
    • C:\php\extras\ssl\cacert.pem
  3. Edit the php.ini file and change the curl.cainfo parameter, e.g.
curl.cainfo = "/etc/pki/tls/cacert.pem"
curl.cainfo = "C:\php\extras\ssl\cacert.pem"

Couldn't find what you were looking for? We are happy to help you in the forum, on Slack or on IRC.
Spotted a typo, or have something to add? Edit this page on GitHub.