From: Dion Hulse Date: Thu, 7 Nov 2013 11:42:42 +0000 (+1100) Subject: Use the SSL CA bundle that Requests includes, rather than relying upon the systems... X-Git-Tag: v0.13.0~41^2 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=074011c3476645c760e921d8bb1f60ffdda29692;p=wvm%2Fwvm.git Use the SSL CA bundle that Requests includes, rather than relying upon the systems CA bundle which is often unavailable, or out of date. --- diff --git a/php/commands/core.php b/php/commands/core.php index d24f4971..2a11de3a 100644 --- a/php/commands/core.php +++ b/php/commands/core.php @@ -126,7 +126,6 @@ class Core_Command extends WP_CLI_Command { private static function _request( $method, $url, $headers = array(), $options = array() ) { try { - $options['verify'] = true; return Requests::get( $url, $headers, $options ); } catch( Requests_Exception $ex ) { // Handle SSL certificate issues gracefully