You can see there are some resent issues due to update of ca-bundle files. So in Centos 4 servers the common ca-bundle files located on /usr/share/ssl/certs doesn’t work with curl SSL . cPanel also on END of life for Centos 4 version . cPanel stopped the Centos support in September 2012. So The best solution is to upgrade your OS to the latest version.
In mean time there is a work around for the issue. To fix the curl-SSL issue , please do the following.
# mv /usr/share/ssl/certs /usr/share/ssl/certs.orig/
# mkdir /usr/share/ssl/certs
Now copy all files from a Centos 6.x server from the folder /etc/pki/tls/certs/ to your centos 4 server folder /usr/share/ssl/certs/
This is only a temporary fix. Please see the different locations of your ca-bundle folder in the following OS .
centos 4.x => /usr/share/ssl/certs/
Centos 5.x => /etc/pki/tls/certs/
Centos 6.x => /etc/pki/tls/certs/
One Reply to “Curl Issues with curl-ssl , Centos 4.x”