diff options
author | Jakob Odersky <jakob@odersky.com> | 2018-01-12 15:37:38 -0800 |
---|---|---|
committer | Jakob Odersky <jakob@odersky.com> | 2018-01-12 15:37:38 -0800 |
commit | c3a14bb70c9571c411a26d900b1d3883a65fcaa6 (patch) | |
tree | 8ae0d1b194e9773a958d291b16dc49b79301b98e | |
parent | 6995d11ce06ac3ba6ab0fabafd7b0f5b7be8459b (diff) | |
download | nginx-letsencrypt-c3a14bb70c9571c411a26d900b1d3883a65fcaa6.tar.gz nginx-letsencrypt-c3a14bb70c9571c411a26d900b1d3883a65fcaa6.tar.bz2 nginx-letsencrypt-c3a14bb70c9571c411a26d900b1d3883a65fcaa6.zip |
Remove email from script
-rw-r--r-- | README.md | 4 | ||||
-rwxr-xr-x | nginx-letsencrypt | 3 |
2 files changed, 4 insertions, 3 deletions
@@ -74,6 +74,10 @@ Given the following server block configuration in Running `nginx-letsencrypt` will issue certificates for "foo.example.org" and "bar.example.com". +## Notes +nginx-letsencrypt is a thin wrapper around certbot. It will read +/etc/letsencrypt/cli.ini for settings such as email. + ## Copying This project is released under the terms of the GPL license. See LICENSE for details. diff --git a/nginx-letsencrypt b/nginx-letsencrypt index cb929c9..4bbb88d 100755 --- a/nginx-letsencrypt +++ b/nginx-letsencrypt @@ -12,8 +12,6 @@ # https://github.com/certbot/certbot/issues/3396 set -o errexit -email="jakob@odersky.com" - extra_flags=() if [ "$1" = --test ]; then extra_flags+=("--test-cert") @@ -51,7 +49,6 @@ mkdir --parents /var/www/letsencrypt certbot certonly "${extra_flags[@]}" \ --noninteractive \ --agree-tos \ - --email "$email" \ --cert-name nginx \ --webroot --webroot-path /var/www/letsencrypt \ --pre-hook "sh -c '(openssl x509 -in /etc/letsencrypt/live/nginx/fullchain.pem -noout -text) | grep --quiet letsencrypt || rm -r /etc/letsencrypt/live/nginx'" \ |