security/acme-client: write import events to system log, refs #256

This commit is contained in:
Frank Wall
2017-09-07 13:37:06 +02:00
parent def11a4cd0
commit f3b7044c46
@@ -982,6 +982,7 @@ function import_certificate($certObj, $modelObj)
// Write changes to config
// TODO: Legacy code, should be replaced with code from OPNsense framework
write_config("${import_log_message} Let's Encrypt SSL certificate: ${cert_cn}");
log_error("AcmeClient: ${import_log_message} Let's Encrypt SSL certificate: ${cert_cn}");
// Update (acme) certificate object (through MVC framework)
$uuid = $certObj->attributes()->uuid;