Closed francisco-core closed 1 year ago
Certbot (issue-certificate.sh) fails with an interactive prompt asking for an email address:
issue-certificate.sh
$ docker run -it --rm --name certbot -p 80:80 \ -v "/opt/mattermost/volumes/certs/etc/letsencrypt:/etc/letsencrypt" \ -v "/opt/mattermost/volumes/certs/lib/letsencrypt:/var/lib/letsencrypt" \ certbot/certbot certonly --standalone -d "$DOMAIN" Saving debug log to /var/log/letsencrypt/letsencrypt.log Enter email address (used for urgent renewal and security notices)
To fix this, the user should have a parameter to enter the email and the script should run with the --non-interactive flag.
--non-interactive
My bad. It's OK for this to be interactive.
Certbot (
issue-certificate.sh
) fails with an interactive prompt asking for an email address:To fix this, the user should have a parameter to enter the email and the script should run with the
--non-interactive
flag.