Merge pull request #8 from vincowl/patch-1

Error generating certs with acme v2 and SANs
This commit is contained in:
Daniel Huisman 2018-06-20 15:54:18 +02:00 committed by GitHub
commit 51dfc49499
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,7 +42,7 @@ class Handler(FileSystemEventHandler):
name = c['Domain']['Main'] name = c['Domain']['Main']
privatekey = c['Key'] privatekey = c['Key']
fullchain = c['Certificate'] fullchain = c['Certificate']
sans = c['Domains']['SANs'] sans = c['Domain']['SANs']
# Decode private key, certificate and chain # Decode private key, certificate and chain
privatekey = b64decode(privatekey).decode('utf-8') privatekey = b64decode(privatekey).decode('utf-8')