mirror of
https://github.com/SnowMB/traefik-certificate-extractor.git
synced 2025-01-18 22:09:33 +08:00
Merge pull request #8 from vincowl/patch-1
Error generating certs with acme v2 and SANs
This commit is contained in:
commit
51dfc49499
@ -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')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user