Curl Error: openssl missing CA

This seems to happen with different versions on libcurl on el4. Just make sure that there is a ca-bundle in the right place:

mkdir -p /etc/pki/tls/certs && ln -s /usr/share/ssl/certs/ca-bundle.crt /etc/pki/tls/certs/ca-bundle.crt

You can find where its looking for the bundle using curl -v :

curl -v https://www.google.co.uk
* About to connect() to www.google.co.uk port 443 (#0)
* Trying 209.85.229.104… connected
* Connected to www.google.co.uk (209.85.229.104) port 443 (#0)
* error setting certificate verify locations:
CAfile: /etc/pki/tls/certs/ca-bundle.crt
CApath: none

You can leave a response, or trackback from your own site.

Leave a Reply