aboutsummaryrefslogtreecommitdiffstats
path: root/painless-le.sh
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2016-12-20 01:22:44 +0100
committerThomas Lange <code@nerdmind.de>2016-12-20 01:22:44 +0100
commit63dc4d1ebc662026e6442229b31587dff886c1cd (patch)
tree15ad976cfc76ce2664291d5ceeaf1a933fda3730 /painless-le.sh
parentc24b4bbe90eda4942932c1edbed9a242fcc72380 (diff)
downloadpainlessle-63dc4d1ebc662026e6442229b31587dff886c1cd.tar.gz
painlessle-63dc4d1ebc662026e6442229b31587dff886c1cd.tar.xz
painlessle-63dc4d1ebc662026e6442229b31587dff886c1cd.zip
Email address is only needed when creating an account on the ACME server.
Diffstat (limited to 'painless-le.sh')
-rwxr-xr-xpainless-le.sh7
1 files changed, 3 insertions, 4 deletions
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