Multiple domains "-d" flag

Hey Guys,

So I’m wondering, if I’m using this:

./certbot-auto certonly --debug -n --no-bootstrap --email <e-mail address> --agree-tos --manual-public-ip-logging-ok --manual --preferred-challenges=dns --manual-auth-hook add_txt_hook.sh --manual-cleanup-hook remove_txt_hook.sh -d domain1 -d domain2 -d domain3

The -d flag is passing the domain1 and domain2 and executing the --manual-auth-hook twice for each domain ? Or It’s setting it as local variable with some delimiter to $CERTBOT_DOMAIN and executing the --manual-auth-hook and --manual-cleanup-hook only once ?

Thanks !

Certbot executes the manual auth and cleanup hooks once for each name. In this case, three times.

2 Likes

Yes, In the meantime I’ve checked that. I think it’s a good approach.

Thank you !

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