Hey,
I’m trying to add a wildcard SSL to one of my domains, but from an Ubuntu VM using certbot. (I would use it from the domain manager but I want the certificate for other machines on my home network as well.)
I’ve created an API token to use when doing the DNS challenges. certbot creates a TXT entry. When the TXT entry is verified, however, it complains that it’s the wrong value.
Is this something that you’ve seen before?
tk@woody:~$ sudo certbot certonly --dns-digitalocean --dns-digitalocean-credentials ~/.do-token-certbot.ini --dns-digitalocean-propagation-seconds 60 -d lumbergeek.ca -d *.lumbergeek.ca
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator dns-digitalocean, Installer None
Enter email address (used for urgent renewal and security notices) (Enter 'c' to
cancel): <my email address>
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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/(C)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 our work
encrypting the web, EFF news, campaigns, and ways to support digital freedom.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
(Y)es/(N)o: Y
Obtaining a new certificate
Performing the following challenges:
dns-01 challenge for lumbergeek.ca
dns-01 challenge for lumbergeek.ca
Waiting 60 seconds for DNS changes to propagate
Waiting for verification...
Challenge failed for domain lumbergeek.ca
Challenge failed for domain lumbergeek.ca
dns-01 challenge for lumbergeek.ca
dns-01 challenge for lumbergeek.ca
Cleaning up challenges
Some challenges have failed.
IMPORTANT NOTES:
- The following errors were reported by the server:
Domain: lumbergeek.ca
Type: unauthorized
Detail: Incorrect TXT record
"okkN0c5j1Q1zsVRriYctR5PZVCv0wI6ad_pxU8HZaVk" found at
_acme-challenge.lumbergeek.ca
Domain: lumbergeek.ca
Type: unauthorized
Detail: Incorrect TXT record
"okkN0c5j1Q1zsVRriYctR5PZVCv0wI6ad_pxU8HZaVk" found at
_acme-challenge.lumbergeek.ca
To fix these errors, please make sure that your domain name was
entered correctly and the DNS A/AAAA record(s) for that domain
contain(s) the right IP address.
- 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.
- We were unable to subscribe you the EFF mailing list because your
e-mail address appears to be invalid. You can try again later by
visiting https://act.eff.org.
Any ideas? thanks
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Just as an update: I’m able to create the certificates using certbot, but the dry run of the renewal fails because of mismatching TXT record tokens.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.