summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2014-12-04 23:38:34 -0600
committerChris Buechler <cmb@pfsense.org>2014-12-04 23:39:13 -0600
commit04d307d877daedf5f13dc51acd238f4b63a97e3f (patch)
tree4ab0d6d0384c71660cf84be6ba89e5b679d3c247 /etc
parent514512dd016467618a2da5f6f0456c362bcad237 (diff)
downloadpfsense-04d307d877daedf5f13dc51acd238f4b63a97e3f.zip
pfsense-04d307d877daedf5f13dc51acd238f4b63a97e3f.tar.gz
dyn.dns.he.net uses a self-signed cert, disable verification for it.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/dyndns.class1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/inc/dyndns.class b/etc/inc/dyndns.class
index ac5b08b..b2faa4a 100644
--- a/etc/inc/dyndns.class
+++ b/etc/inc/dyndns.class
@@ -501,6 +501,7 @@
log_error("HE.net ({$this->_dnsHost}): DNS update() starting.");
$server = "https://dyn.dns.he.net/nic/update?";
curl_setopt($ch, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4 );
+ curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
curl_setopt($ch, CURLOPT_URL, $server . 'hostname=' . $this->_dnsHost . '&password=' . $this->_dnsPass . '&myip=' . $this->_dnsIP);
break;
case 'he-net-tunnelbroker':
OpenPOWER on IntegriCloud