aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-10-06 21:39:27 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-10-06 21:39:27 +0000
commitd6bd53ad9d976ac8ba4101067c950659c622ae99 (patch)
treea65133afd12729c5cb5d92af50b276f38818eed8
parent41144767c5c34deab860e807a4f1d4075f817dbd (diff)
downloadpfsense-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
-rw-r--r--packages/autoconfigbackup/autoconfigbackup.php1
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.";