guzzle/guzzle — pull request #498 by kenden (2013-12-13 16:01:59+00:00)
Title: Setting CURLOPT_SSL_VERIFYHOST to 0 when certificateAuthority is false t...

...o match documentation

When $certificateAuthority is False,
the documentation for setSslVerification() in the Interface, at:
https://github.com/guzzle/guzzle/blob/master/src/Guzzle/Http/ClientInterface.php
says:
"Setting $certificateAuthority to FALSE will turn off peer verification, unset the bundled cacert.pem, and disable host verification."

This allows to have:
curl_setopt ($ch, CURLOPT_SSL_VERIFYHOST, 0);
curl_setopt ($ch, CURLOPT_SSL_VERIFYPEER, 0);
which can be good for testing or troubleshooting. See this, work example.
http://ademar.name/blog/2006/04/curl-ssl-certificate-problem-v.html