Commit 5df02405 authored by Adrien Dorsaz's avatar Adrien Dorsaz
Browse files

acme_dns_tiny: fix regexp to retrieve Subject Alternative Names

parent a2bee86e
Pipeline #273 passed with stages
in 23 minutes and 31 seconds
......@@ -91,7 +91,7 @@ def get_crt(config, log=LOGGER):
if common_name is not None:
subject_alt_names =
r"X509v3 Subject Alternative Name: (?:critical)?\s+?([^\r\n]+)\r?\n",
r"X509v3 Subject Alternative Name: (?:critical)?\s+([^\r\n]+)\r?\n",
csr, re.MULTILINE)
if subject_alt_names is not None:
for san in", "):
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