I am running the following in two servers, one of them works fine, however on the other server I get an error :
"Peer Certificate cannot be authenticated with given CA certificates"
However, if I run the command :
curl -v 'https://www.google.com'
, it will work fine. I am only having problem when i call that through the following php script :
$c = curl_init('https://www.google.com);
$response = curl_exec($c);
Any Ideas ?