Correcting event of self signed certitifacte create

This commit is contained in:
2022-05-06 05:45:58 +00:00
parent 8ccc13a9e6
commit e86a62f2e8

View File

@@ -101,7 +101,7 @@ else
} >> "$file" } >> "$file"
letsencrypt_certificates; letsencrypt_certificates;
if [[ ! -f /acme.sh/$DOMAIN/key.pem && ! -f /acme.sh/$DOMAIN/fullchain.pem && ! -f /acme.sh/$DOMAIN/cert.pem ]] ; then if [[ ! -f /$DOMAIN_CERT_DIR/key.pem && ! -f /$DOMAIN_CERT_DIR/fullchain.pem && ! -f /$DOMAIN_CERT_DIR/cert.pem ]] ; then
create_self_signed_certificate; create_self_signed_certificate;
fi fi
fi fi