mirror of
https://github.com/Mailu/Mailu.git
synced 2025-01-30 04:30:49 +02:00
the first time the loop runs we don't have the second cert
This commit is contained in:
parent
0816cb9497
commit
ab35492589
@ -36,6 +36,8 @@ args["TLS"] = {
|
|||||||
|
|
||||||
def format_for_nginx(fullchain, output):
|
def format_for_nginx(fullchain, output):
|
||||||
""" We may want to strip ISRG Root X1 out """
|
""" We may want to strip ISRG Root X1 out """
|
||||||
|
if not os.path.exists(fullchain):
|
||||||
|
return
|
||||||
certs = []
|
certs = []
|
||||||
with open(fullchain, 'r') as pem:
|
with open(fullchain, 'r') as pem:
|
||||||
cert = ''
|
cert = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user