use original cert issuance procedure

This commit is contained in:
Ivan Folgueira Bande 2026-01-09 15:00:30 +01:00
parent cde0b79b34
commit 953707988f
No known key found for this signature in database
GPG Key ID: 3C117481F89E24A7

View File

@ -27,13 +27,14 @@ if [ ! -d "${LETSENCRYPT_PATH}" ]; then
apk add --no-cache certbot
fi
certbot certonly \
--non-interactive \
--agree-tos \
--no-eff-email \
--email "${EMAIL}" \
--webroot -w "${WEBROOT}" \
-d "${DOMAIN}"
certbot certonly\
--non-interactive\
--agree-tos\
--no-eff-email\
--no-redirect\
--email admin@${DOMAIN}\
-d ${DOMAIN}\
--standalone
echo "[INFO] Certificate issued successfully."
else