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
1 changed files with 1 additions and 2 deletions

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"