Edit on GitHub
Jump to docs navigation

Howtos on various subjects / Setting Up cURL SSL/TLS Certificate Authority Certificates

Note: You are currently reading the documentation for Bolt 2.2. Looking for the documentation for Bolt 5.2 instead?

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"


Edit this page on GitHub
Couldn't find what you were looking for? We are happy to help you in the forum, on Slack or on Github.