mirror of
https://github.com/SnowMB/traefik-certificate-extractor.git
synced 2025-09-19 05:34:31 +08:00
Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
51dfc49499 | ||
|
f7f7af27b8 |
@@ -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')
|
||||||
|
Reference in New Issue
Block a user