Skip to content

Commit

Permalink
ignore expired api.dreamhost.com cert
Browse files Browse the repository at this point in the history
  • Loading branch information
distributedOne committed Apr 14, 2012
1 parent a677492 commit 06f2b44
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libs/DH_API/dreamhost_api.php
Expand Up @@ -173,6 +173,7 @@ private static function call_api() {
curl_setopt($curl_handle, CURLOPT_URL, self::$final_url);
curl_setopt($curl_handle, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($curl_handle, CURLOPT_HEADER, 0);
curl_setopt($curl_handle, CURLOPT_SSL_VERIFYPEER, false); //Ignore expired cert :/

$api_results = curl_exec($curl_handle);
$request_info = curl_getinfo($curl_handle);
Expand Down

0 comments on commit 06f2b44

Please sign in to comment.