Automatic answer due certbot generate

Hello, is there a way to answer automatically when generate certificate for domain? I mean automatic answer question for this, no keyboard entering.

Please choose whether or not to redirect HTTP traffic to HTTPS, removing HTTP access.


1: No redirect - Make no further changes to the webserver configuration.
2: Redirect - Make all requests redirect to secure HTTPS access. Choose this for…

Thanks.

Yes, almost all of Certbot’s interactive questions have equivalent command line options.

For that one, you can use --redirect or --no-redirect.

2 Likes

Quick and clean, thank you very much. :slight_smile:

1 Like

Hi @genderbee

check the long list.

certbot-command-line-options

https://certbot.eff.org/docs/using.html#certbot-command-line-options

2 Likes

Checked, thank you very much.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.