add --register-unsafely-without-email

This commit is contained in:
private-user committed 2024-11-02 16:04:57 +03:00
1 parent 10e8804de5
commit 3c2506d2cd
2 files changed
+16 -2

No files matched your search

+2 -2
View File
@@ -11,12 +11,12 @@ if [ ! -f /etc/certificates/site.pem ]; then
fi
if [ -n "$DOMAIN" -a -n "$EMAIL" ]; then
if [ -n "$DOMAIN" ]; then
# Request certificate
certbot certonly --standalone \
--non-interactive --agree-tos --http-01-port=380 \
--email "$EMAIL" \
--register-unsafely-without-email \
--cert-name "$DOMAIN" \
-d "$DOMAIN"