mirror of
https://github.com/opnsense/plugins.git
synced 2026-05-28 04:34:15 -04:00
security/acme-client: configure DNS API hook location for acme.sh
This commit is contained in:
parent
f73e13c9ae
commit
840c7ac453
1 changed files with 3 additions and 0 deletions
|
|
@ -689,6 +689,9 @@ function run_acme_validation($certObj, $valObj, $acctObj)
|
|||
}
|
||||
}
|
||||
|
||||
// Teach acme.sh about DNS API hook location
|
||||
$proc_env['_SCRIPT_HOME'] = '/usr/local/share/examples/acme.sh';
|
||||
|
||||
// Run acme client
|
||||
// NOTE: We "export" certificates to our own directory, so we don't have to deal
|
||||
// with domain names in filesystem, but instead can use the ID of our certObj.
|
||||
|
|
|
|||
Loading…
Reference in a new issue