mirror of
https://github.com/opnsense/plugins.git
synced 2026-06-04 22:33:07 -04:00
security/acme-client: version 1.5
(cherry picked from commitf8a53f493f) (cherry picked from commit119c6d31bb) (cherry picked from commit5c864ddf97)
This commit is contained in:
parent
05f45c2227
commit
191efeaff1
3 changed files with 5 additions and 3 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue