1
0
mirror of https://github.com/tomav/docker-mailserver.git synced 2024-06-26 19:25:53 +02:00

Removed unneeded check for Let's encrypt cert.pem (Closes: #843)

This commit is contained in:
akmet 2018-03-07 20:21:46 +01:00 committed by Johan Smits
parent a73692cc9f
commit 34cb3a14cc

View File

@ -782,8 +782,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"