mirror of https://github.com/zulip/zulip.git
setup-certbot: Stop automatically "agreeing" to the LE TOS.
It's not appropriate for our script to pass the `--agree-tos` flag without any evidence of the user actually having any knowledge of, let alone intent to agree to, any such ToS. Stop doing that. Fortunately this script hasn't been part of any release, so it's likely that no users have gone down this path.
This commit is contained in:
parent
7b47cca67e
commit
ac88f8ae1b
|
@ -75,7 +75,11 @@ CERTBOT_PATH="/usr/local/sbin/certbot-auto"
|
||||||
wget -q https://dl.eff.org/certbot-auto -O "$CERTBOT_PATH"
|
wget -q https://dl.eff.org/certbot-auto -O "$CERTBOT_PATH"
|
||||||
chmod a+x "$CERTBOT_PATH"
|
chmod a+x "$CERTBOT_PATH"
|
||||||
|
|
||||||
"$CERTBOT_PATH" certonly "${method_args[@]}" -d "$DOMAIN" -m "$EMAIL" --agree-tos --non-interactive
|
# We don't use --no-interactive, because certbot needs to ask the user
|
||||||
|
# to agree to the Let's Encrypt Subscriber Agreement (aka ToS).
|
||||||
|
# Passing --force-interactive suppresses a warning, but also brings up
|
||||||
|
# an annoying prompt we stifle with --no-eff-email.
|
||||||
|
"$CERTBOT_PATH" certonly "${method_args[@]}" -d "$DOMAIN" -m "$EMAIL" --force-interactive --no-eff-email
|
||||||
|
|
||||||
symlink_with_backup() {
|
symlink_with_backup() {
|
||||||
if [ -e "$2" ]; then
|
if [ -e "$2" ]; then
|
||||||
|
|
Loading…
Reference in New Issue