diff --git a/src/freedombone-utils-web b/src/freedombone-utils-web index e93a30a7..0949d71a 100755 --- a/src/freedombone-utils-web +++ b/src/freedombone-utils-web @@ -199,7 +199,11 @@ function cert_exists { if [ -f /etc/ssl/certs/${1}.${cert_type} ]; then echo "1" else - echo "0" + if [ -f /etc/letsencrypt/live/${1}/fullchain.${cert_type} ]; then + echo "1" + else + echo "0" + fi fi }