com web/rmtools: fix certificate issues when fetching pecl tgz: client/script/pecl_rss.php

From: Date: Mon, 13 Apr 2015 06:51:16 +0000
Subject: com web/rmtools: fix certificate issues when fetching pecl tgz: client/script/pecl_rss.php
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-26032@lists.php.net to get a copy of this message
Commit: f2193b44e17bf72d6beb4aeed1fd803d0d12e768 Author: Anatol Belski <ab@php.net> Mon, 13 Apr 2015 08:51:16 +0200 Parents: 1e13ff6d8c68fdefb3830dcb120be66915584800 Branches: master pecl_legacy Link: http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=f2193b44e17bf72d6beb4aeed1fd803d0d12e768 Log: fix certificate issues when fetching pecl tgz Changed paths: M client/script/pecl_rss.php Diff: diff --git a/client/script/pecl_rss.php b/client/script/pecl_rss.php index 7ac7ad5..72bf1c8 100644 --- a/client/script/pecl_rss.php +++ b/client/script/pecl_rss.php @@ -89,7 +89,9 @@ foreach($latest->item as $item) { $get_url_tpl ); - $curl_cmd = $curl . ' -s -L -J -O ' . $get_url; + /* XXX -k is needed as the host is good known, but the download can fail on + certain versions because of certs */ + $curl_cmd = $curl . ' -s -L -J -O -k ' . $get_url; $back = getcwd(); chdir($download_dir);

« previous php.webmaster (#26032) next »