Commit cccebaa2 authored by Adrien Dorsaz's avatar Adrien Dorsaz

adt: fix domains variable initialization

parent 4df4d86d
......@@ -110,7 +110,7 @@ def get_crt(config, log=LOGGER):"Read CSR to find domains to validate.")
csr = _openssl("req", ["-in", config["acmednstiny"]["CSRFile"], "-noout", "-text"]).decode("utf8")
domains = set([])
domains = set()
common_name ="Subject:.*?\s+?CN\s*?=\s*?([^\s,;/]+)", csr)
if common_name is not None:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment