security/acme-client: configure DNS API hook location for acme.sh

This commit is contained in:
Frank Wall 2017-07-03 15:05:40 +02:00
parent f73e13c9ae
commit 840c7ac453

View file

@ -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.