Added SSL verification to PHPHttpRequest.
authorTyler Anthony Romeo <tylerromeo@gmail.com>
Mon, 18 Mar 2013 21:46:39 +0000 (17:46 -0400)
committerGerrit Code Review <gerrit@wikimedia.org>
Tue, 4 Jun 2013 22:27:46 +0000 (22:27 +0000)
commit1c927b1df2ac4dd22679ef32b1255182d2adfd5a
treef833043d0a229d3810f9538cf5f56acf34d68665
parent58f71c7e9eca460bfaf518c6c1fecaca87b58dd3
Added SSL verification to PHPHttpRequest.

PHP's stream context options support SSL server verification as well a CN matching and provision of
CA info.
Added options to the stream context so that the $sslVerifyHost, $sslVerifyCert, and $caInfo
parameters now work in non-CURL environments.

Change-Id: Iab2bda1ebcf20b625b019c91ae6352b5405dcc01
includes/HttpFunctions.php