]> git.mxchange.org Git - quix0rs-gnu-social.git/commit
Disable SSL peer/hostname verification for HTTPClient unless we've configured a trust...
authorBrion Vibber <brion@pobox.com>
Fri, 21 May 2010 17:12:39 +0000 (10:12 -0700)
committerBrion Vibber <brion@pobox.com>
Fri, 21 May 2010 17:12:39 +0000 (10:12 -0700)
commit2c12d837c693a816541d32dd044de5277a46336d
treeef0594db2067afbd93bbc3e702ace595319a9250
parent68305d4b6848cec6afe887ee2a5735515060770e
Disable SSL peer/hostname verification for HTTPClient unless we've configured a trusted CA bundle like this: $config['http']['ssl_cafile'] = '/usr/lib/ssl/certs/ca-certificates.crt';
The previous state was failing on all HTTPS hits due to HTTP_Request2 library turning on the validation check but not specifying a CA file.
lib/default.php
lib/httpclient.php