From 1effcdebd744077361d2e27d4b28c3c19f334b83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Richard=20F=C3=A9vrier?= Date: Sat, 1 Jul 2017 14:32:12 +0200 Subject: [PATCH] Letsencrypt : do not check the optional cert.pem (#639) --- target/start-mailserver.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/target/start-mailserver.sh b/target/start-mailserver.sh index 56a7ac6c..c26d8366 100644 --- a/target/start-mailserver.sh +++ b/target/start-mailserver.sh @@ -747,8 +747,7 @@ function _setup_ssl() { case $SSL_TYPE in "letsencrypt" ) # letsencrypt folders and files mounted in /etc/letsencrypt - if [ -e "/etc/letsencrypt/live/$HOSTNAME/cert.pem" ] \ - && [ -e "/etc/letsencrypt/live/$HOSTNAME/fullchain.pem" ]; then + if [ -e "/etc/letsencrypt/live/$HOSTNAME/fullchain.pem" ]; then KEY="" if [ -e "/etc/letsencrypt/live/$HOSTNAME/privkey.pem" ]; then KEY="privkey"