diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-10-06 21:39:27 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-10-06 21:39:27 +0000 |
commit | d6bd53ad9d976ac8ba4101067c950659c622ae99 (patch) | |
tree | a65133afd12729c5cb5d92af50b276f38818eed8 /packages/autoconfigbackup | |
parent | 41144767c5c34deab860e807a4f1d4075f817dbd (diff) | |
download | pfsense-packages-d6bd53ad9d976ac8ba4101067c950659c622ae99.tar.gz pfsense-packages-d6bd53ad9d976ac8ba4101067c950659c622ae99.tar.bz2 pfsense-packages-d6bd53ad9d976ac8ba4101067c950659c622ae99.zip |
Do not verify SSL peer, it appears portal.pfsense.org's cert is not
cooperative with curl
Diffstat (limited to 'packages/autoconfigbackup')
-rw-r--r-- | packages/autoconfigbackup/autoconfigbackup.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/autoconfigbackup/autoconfigbackup.php b/packages/autoconfigbackup/autoconfigbackup.php index ae027c4a..65efa7fb 100644 --- a/packages/autoconfigbackup/autoconfigbackup.php +++ b/packages/autoconfigbackup/autoconfigbackup.php @@ -61,6 +61,7 @@ if($_GET['newver'] != "") { curl_setopt($curl_Session, CURLOPT_POST, 1); curl_setopt($curl_Session, CURLOPT_POSTFIELDS, "action=restore&revision={$_GET['newver']}"); curl_setopt($curl_Session, CURLOPT_FOLLOWLOCATION, 1); + curl_setopt($curl_session, CURLOPT_SSL_VERIFYPEER, 0); $data = curl_exec($curl_Session); if (!tagfile_deformat($data, $data, "config.xml")) $input_errors[] = "The downloaded file does not appear to contain an encrypted pfSense configuration."; |