security/acme-client: version 1.5

(cherry picked from commit f8a53f493f)
(cherry picked from commit 119c6d31bb)
(cherry picked from commit 5c864ddf97)
This commit is contained in:
Frank Wall 2017-03-28 14:49:51 +02:00 committed by Franco Fichtner
parent 05f45c2227
commit 191efeaff1
3 changed files with 5 additions and 3 deletions

View file

@ -1,5 +1,5 @@
PLUGIN_NAME= acme-client
PLUGIN_VERSION= 1.4
PLUGIN_VERSION= 1.5
PLUGIN_COMMENT= Let's Encrypt client
PLUGIN_MAINTAINER= opnsense@moov.de

View file

@ -19,9 +19,9 @@
</field>
<field>
<id>validation.method</id>
<label>Validation Method</label>
<label>Challenge Type</label>
<type>dropdown</type>
<help><![CDATA[Set the Let's Encrypt validation method. You'll have to add configuration for the selected method below.]]></help>
<help><![CDATA[Set the Let's Encrypt challenge type. You'll have to add configuration for the selected challenge type below.]]></help>
</field>
<field>
<label>HTTP-01</label>

View file

@ -723,6 +723,8 @@ function run_acme_validation($certObj, $valObj, $acctObj)
// HTTP-01: flush OPNsense port forward rules
if (($val_method == 'http01') and ((string)$valObj->http_service == 'opnsense')) {
mwexec('/sbin/pfctl -a acme-client -F all');
# XXX: workaround to solve disconnection issues reported by some users
$response = $backend->configdRun('filter reload');
}
// Check validation result