My domain is:
bpm-micro.com
I ran this command:
sudo certbot certonly --manual --manual-auth-hook /etc/letsencrypt/acme-dns-auth.py --preferred-challenges dns --debug-challenges -d *.bpm-micro.com -d bpm-micro.com -v
It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator manual, Installer None
Certificate is due for renewal, auto-renewing...
Renewing an existing certificate for *.bpm-micro.com and bpm-micro.com
Performing the following challenges:
dns-01 challenge for bpm-micro.com
dns-01 challenge for bpm-micro.com
Running manual-auth-hook command: /etc/letsencrypt/acme-dns-auth.py
Running manual-auth-hook command: /etc/letsencrypt/acme-dns-auth.py
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Challenges loaded. Press continue to submit to CA.
The following FQDNs should return a TXT resource record with the value
mentioned:
FQDN: _acme-challenge.bpm-micro.com
Expected value: vltkBQBMdQRkvJKWryl1PbfqX38lP2lkqNNh9QT8Crk
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Press Enter to Continue
Waiting for verification...
Challenge failed for domain bpm-micro.com
dns-01 challenge for bpm-micro.com
Certbot failed to authenticate some domains (authenticator: manual). The Certificate Authority reported these problems:
Domain: bpm-micro.com
Type: unauthorized
Detail: Incorrect TXT record "vltkBQBMdQRkvJKWryl1PbfqX38lP2lkqNNh9QT8Crk" found at _acme-challenge.bpm-micro.com
Hint: The Certificate Authority failed to verify the DNS TXT records created by the --manual-auth-hook. Ensure that this hook is functioning correctly and that it waits a sufficient duration of time for DNS propagation. Refer to "certbot --help manual" and the Certbot User Guide.
Cleaning up challenges
Some challenges have failed.
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.
I can login to a root shell on my machine (yes or no, or I don't know): yes
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you're using Certbot): certbot 2.6.0
A month ago I installed certs and now:
bpmmicro@bpm-dev:~$ sudo certbot certificates
Saving debug log to /var/log/letsencrypt/letsencrypt.log
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Found the following certs:
Certificate Name: auth.dev.bpm-micro.com
Serial Number: 4bf44a149d30863828fc9f8bf27bc1e556c
Key Type: ECDSA
Domains: auth.dev.bpm-micro.com
Expiry Date: 2023-11-12 14:19:11+00:00 (VALID: 55 days)
Certificate Path: /etc/letsencrypt/live/auth.dev.bpm-micro.com/fullchain.pem
Private Key Path: /etc/letsencrypt/live/auth.dev.bpm-micro.com/privkey.pem
Certificate Name: bpm-micro.com
Serial Number: 3d801c1985356fc2a9fd91997e9c759ebd1
Key Type: ECDSA
Domains: *.bpm-micro.com bpm-micro.com
Expiry Date: 2023-09-13 08:10:06+00:00 (INVALID: EXPIRED)
Certificate Path: /etc/letsencrypt/live/bpm-micro.com/fullchain.pem
Private Key Path: /etc/letsencrypt/live/bpm-micro.com/privkey.pem
Certificate Name: dev.bpm-micro.com
Serial Number: 39f714bf5ccbd58752aeba397ad7a0a76bf
Key Type: ECDSA
Domains: dev.bpm-micro.com
Expiry Date: 2023-11-12 14:19:20+00:00 (VALID: 55 days)
Certificate Path: /etc/letsencrypt/live/dev.bpm-micro.com/fullchain.pem
Private Key Path: /etc/letsencrypt/live/dev.bpm-micro.com/privkey.pem
*.bpm-micro.com bpm-micro.com is expired. I tried to get a new one but it is failing. I double-check before I press enter if dns record is updated:
bpmmicro@bpm-dev:~$ dig -t txt _acme-challenge.bpm-micro.com +short
"vltkBQBMdQRkvJKWryl1PbfqX38lP2lkqNNh9QT8Crk"
I also tried with CNAME but the result is the same. What did I do wrong?