Verify enabled ACME gate modules before write

This commit is contained in:
2026-09-18 23:56:52 -04:00
parent 66e75a7c58
commit 42af44c322
+10
View File
@@ -58,6 +58,16 @@ def main() -> None:
source = revoke.apply(source) source = revoke.apply(source)
common.verify(source, config) common.verify(source, config)
if config.request:
request.verify(source)
if config.renew:
renew.verify(source)
if config.revoke:
revoke.verify(source)
common.write_source(certificate_js, source) common.write_source(certificate_js, source)
common.log("All requested ACME authority gates applied successfully") common.log("All requested ACME authority gates applied successfully")