summaryrefslogtreecommitdiffstats
path: root/etc/inc
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:38:34 -0600
commit393dac91c7c2fcca1a4a93688cd95fd48c405c5d (patch)
tree5b0f5739e5fea8aed44e239b36b687729b57452d /etc/inc
parentd69414feefd60ad755b2a29b38adfa1232eefe7c (diff)
downloadpfsense-393dac91c7c2fcca1a4a93688cd95fd48c405c5d.zip
pfsense-393dac91c7c2fcca1a4a93688cd95fd48c405c5d.tar.gz
dyn.dns.he.net uses a self-signed cert, disable verification for it.
Diffstat (limited to 'etc/inc')
-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