From 63dc4d1ebc662026e6442229b31587dff886c1cd Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Tue, 20 Dec 2016 01:22:44 +0100 Subject: Email address is only needed when creating an account on the ACME server. --- painless-le.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'painless-le.sh') diff --git a/painless-le.sh b/painless-le.sh index f36a3a8..ad5a376 100755 --- a/painless-le.sh +++ b/painless-le.sh @@ -18,9 +18,8 @@ [ -z "$2" ] && echo 'Missing argument $2' && exit 1 || ARGUMENT_HOSTNAMES="$2" #=============================================================================== -# Information about the Let's encrypt account +# Define the ACME endpoint address #=============================================================================== -LETSENCRYPT_MAILADDR="john.doe@example.org" LETSENCRYPT_ENDPOINT="https://acme-v01.api.letsencrypt.org/directory" #LETSENCRYPT_ENDPOINT="https://acme-staging.api.letsencrypt.org/directory" @@ -69,8 +68,8 @@ fi #=============================================================================== # Execute Let's Encrypt and accomplish the ACME challenge to get the certificate #=============================================================================== -certbot certonly --authenticator standalone --text --server "${LETSENCRYPT_ENDPOINT}" --email "${LETSENCRYPT_MAILADDR}" \ ---csr "${REQUESTFILE}" --cert-path "${CERTIFICATE_ONLY}" --fullchain-path "${CERTIFICATE_FULL}" --chain-path "${INTERMEDIATE}" +certbot certonly --authenticator standalone --text --server "${LETSENCRYPT_ENDPOINT}" --csr "${REQUESTFILE}" \ +--cert-path "${CERTIFICATE_ONLY}" --fullchain-path "${CERTIFICATE_FULL}" --chain-path "${INTERMEDIATE}" #=============================================================================== # Adjust the UNIX permissions with owner and group for the new created files -- cgit v1.2.3