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
* About to connect() to port 443 (#0)
* Trying… connected
* Connected to ( 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