How to update cURL CA bundle on linux server?

July 7, 2016 by Linux Guru

Filed under Linux, logs

Last modified July 15, 2016

How to update cURL CA bundle on linux server

Error log
curl: (60) SSL certificate problem, verify that the CA cert is OK. Details:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
  1. Install the ca-certificates package:sudo yum install ca-certificates
  2. Enable the dynamic CA configuration feature:sudo update-ca-trust force-enable
  3. Add it as a new file tocd /etc/pki/ca-trust/source/anchors/
    sudo cp /etc/ssl/certs/intermediate.crt .
  4. Use command:sudo update-ca-trust extract.

Leave a Comment