Wildcard Certificates Using Multiple Cloudflare accounts

Hi there I have multiple domains that are all currently using SSL certificates on LetsEncrypt, however I wish to move to DNS based authentication across all of the domains. I have successfully set up the domains that are attached to a single account as detailed here: https://certbot.eff.org/instructions

I would like to know if it’s possible to configure the secrets file and/or cloudflare plugin to use more than one cloudflare account, as all the domains I wish to authenticate are not on the same account and therefore cannot use the same API token.

Any help is appreciated,

Server version: Apache/2.4.34 (Ubuntu 18.10)
Certbot Version: certbot 0.27.0

1 Like

[taking a wild guess here]

Have you tried calling the DNS API twice?
something like:

certbot certonly \
 --dns-cloudflare \
 --dns-cloudflare-credentials ~/.secrets/certbot/cloudflare#1.ini \
 -d example1.com \
 --dns-cloudflare \
 --dns-cloudflare-credentials ~/.secrets/certbot/cloudflare#2.ini \
 -d example2.com

If it can’t be done using one file with multiple sections or something similar this would be excellent. Thank you!


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