|
|
|
@ -26,11 +26,11 @@ cert_name = os.getenv("TLS_CERT_FILENAME", default="cert.pem")
|
|
|
|
|
keypair_name = os.getenv("TLS_KEYPAIR_FILENAME", default="key.pem")
|
|
|
|
|
args["TLS"] = {
|
|
|
|
|
"cert": ("/certs/%s" % cert_name, "/certs/%s" % keypair_name),
|
|
|
|
|
"letsencrypt": ("/certs/letsencrypt/live/mailu/fullchain.pem",
|
|
|
|
|
"/certs/letsencrypt/live/mailu/privkey.pem", "/certs/letsencrypt/live/mailu-ecdsa/fullchain.pem", "/certs/letsencrypt/live/mailu-ecdsa/privkey.pem"),
|
|
|
|
|
"letsencrypt": ("/certs/letsencrypt/live/mailu/chain.pem",
|
|
|
|
|
"/certs/letsencrypt/live/mailu/privkey.pem", "/certs/letsencrypt/live/mailu-ecdsa/chain.pem", "/certs/letsencrypt/live/mailu-ecdsa/privkey.pem"),
|
|
|
|
|
"mail": ("/certs/%s" % cert_name, "/certs/%s" % keypair_name),
|
|
|
|
|
"mail-letsencrypt": ("/certs/letsencrypt/live/mailu/fullchain.pem",
|
|
|
|
|
"/certs/letsencrypt/live/mailu/privkey.pem", "/certs/letsencrypt/live/mailu-ecdsa/fullchain.pem", "/certs/letsencrypt/live/mailu-ecdsa/privkey.pem"),
|
|
|
|
|
"mail-letsencrypt": ("/certs/letsencrypt/live/mailu/chain.pem",
|
|
|
|
|
"/certs/letsencrypt/live/mailu/privkey.pem", "/certs/letsencrypt/live/mailu-ecdsa/chain.pem", "/certs/letsencrypt/live/mailu-ecdsa/privkey.pem"),
|
|
|
|
|
"notls": None
|
|
|
|
|
}[args["TLS_FLAVOR"]]
|
|
|
|
|
|
|
|
|
|