Is there any restrict for dns-plugin?

Now I am use certbot for single domain and it’s working fine.
but I am trying wildcard certificate for multiple domain.
So I am following instruction of “certbot.eff.org” and install dns-google for dns plugin. I choose just anything(may be it’s problem)
I faced below error msg. please hlep me get to wildcard certificate.

My domain is:
jira.adas.mando.com (external network)
confluence.adas.mando.com (internal network)

I ran this command:
sudo certbot -a dns-google -i apache -d “*.adas.mando.com” -d adas.mando.com --server https://acme-v02.api.letsencrypt.org/directory

It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator dns-google, Installer apache
Enter email address (used for urgent renewal and security notices) (Enter ‘c’ to
cancel): kangil.ahn@halla.com
Starting new HTTPS connection (1): acme-v02.api.letsencrypt.org


Please read the Terms of Service at
https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf. You must
agree in order to register with the ACME server at
https://acme-v02.api.letsencrypt.org/directory

(A)gree/©ancel: A


Would you be willing to share your email address with the Electronic Frontier
Foundation, a founding partner of the Let’s Encrypt project and the non-profit
organization that develops Certbot? We’d like to send you email about EFF and
our work to encrypt the web, protect its users and defend digital rights.

(Y)es/(N)o: Y
Starting new HTTPS connection (1): supporters.eff.org
Obtaining a new certificate
Performing the following challenges:
dns-01 challenge for adas.mando.com
dns-01 challenge for adas.mando.com
Cleaning up challenges
Unable to get Google Cloud Metadata and no credentials specified. Automatic credential lookup is only available on Google Cloud Platform. Please configure credentials using --dns-google-credentials

IMPORTANT NOTES:

  • Your account credentials have been saved in your Certbot
    configuration directory at /etc/letsencrypt. You should make a
    secure backup of this folder now. This configuration directory will
    also contain certificates and private keys obtained by Certbot so
    making regular backups of this folder is ideal.

My web server is (include version):
apache 2.4.6
The operating system my web server runs on is (include version):
centos 7
My hosting provider, if applicable, is:
I dont know
I can login to a root shell on my machine (yes or no, or I don’t know):
yes
I’m using a control panel to manage my site (no, or provide the name and version of the control panel):
no

Hi,

Did you configtured Google cloud DNS API credentials? (Is your DNS hosted on Google cloud ? Not google domains?)

Please note that this DNS (google cloud DNS) is not google domains DNS (domains.google)

Thank you

Did you configtured Google cloud DNS API credentials?
-> No, How can I do that? please give me more hint.
Is your DNS hosted on Google cloud ? Not google domains?
-> No, in this case What dns-plugin should I use?

Hi,

In this case, you might not be able to use DNS plugin for your domain (since the Google cloud DNS is designed only for google cloud DNS users, and unfortunately google domains doesn’t provide an API)

You could choose from other competable DNS providers and point your domian at their DNS servers to resolve this…

Thank you

1 Like

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