Verify enabled ACME gate modules before write
This commit is contained in:
@@ -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")
|
||||||
|
|||||||
Reference in New Issue
Block a user