Multiple domains "-d" flag


#1

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 !


#2

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


#3

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

Thank you !


#4

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