Skip to content

Commit

Permalink
security/acme-client: try to solve disconnection issues
Browse files Browse the repository at this point in the history
  • Loading branch information
fraenki committed Apr 3, 2017
1 parent 2974fb9 commit 5c864dd
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5c864dd

Please sign in to comment.