mirror of
https://github.com/optim-enterprises-bv/Mailu.git
synced 2025-11-02 11:08:01 +00:00
Ensure that we always have CERT+INTERMEDIARY CA
Let's encrypt may change things up in the future...
This commit is contained in:
@@ -42,7 +42,7 @@ def format_for_nginx(fullchain, output):
|
|||||||
certs += [cert]
|
certs += [cert]
|
||||||
cert = ''
|
cert = ''
|
||||||
with open(output, 'w') as pem:
|
with open(output, 'w') as pem:
|
||||||
for cert in certs[:-1]:
|
for cert in certs[:-1] if len(certs)>2 else certs:
|
||||||
pem.write(cert)
|
pem.write(cert)
|
||||||
|
|
||||||
# Wait for nginx to start
|
# Wait for nginx to start
|
||||||
|
|||||||
Reference in New Issue
Block a user