A cert is authorised for www.dokiuh.io but not dokiuh.io and I'm not sure why
I tried selecting 1 for dokiuh.io which failed, then I tried selection 2 for www.dokiuh.io which completed, I then didn't make a selection/expanded but no dice
My domain is:
dokiuh.io
I ran this command:
certbot --apache2
It produced this output:
Which names would you like to activate HTTPS for?
We recommend selecting either all domains, or all domains in a VirtualHost/server block.
1: dokiuh.io
2: www.dokiuh.io
Select the appropriate numbers separated by commas and/or spaces, or leave input
blank to select all options shown (Enter 'c' to cancel): 2
Requesting a certificate for www.dokiuh.io
Successfully received certificate.
Certificate is saved at: /etc/letsencrypt/live/www.dokiuh.io/fullchain.pem
Key is saved at: /etc/letsencrypt/live/www.dokiuh.io/privkey.pem
This certificate expires on 2023-08-31.
These files will be updated when the certificate renews.
Certbot has set up a scheduled task to automatically renew this certificate in the background.
Deploying certificate
Successfully deployed certificate for www.dokiuh.io to /etc/apache2/sites-available/dokiuh.io-le-ssl.conf
Congratulations! You have successfully enabled HTTPS on https://www.dokiuh.io
If you like Certbot, please consider supporting our work by:
- Donating to ISRG / Let's Encrypt: Donate - Let's Encrypt
- Donating to EFF: Support EFF's Work on Let's Encrypt | Electronic Frontier Foundation
Second command:
root@onetwodevserver:/# sudo certbot --apache
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Which names would you like to activate HTTPS for?
We recommend selecting either all domains, or all domains in a VirtualHost/server block.
1: dokiuh.io
2: www.dokiuh.io
Select the appropriate numbers separated by commas and/or spaces, or leave input
blank to select all options shown (Enter 'c' to cancel):
You have an existing certificate that contains a portion of the domains you
requested (ref: /etc/letsencrypt/renewal/www.dokiuh.io.conf)
It contains these names: www.dokiuh.io
You requested these names for the new certificate: dokiuh.io, www.dokiuh.io.
Do you want to expand and replace this existing certificate with the new
certificate?
(E)xpand/(C)ancel: e
Renewing an existing certificate for dokiuh.io and www.dokiuh.io
Certbot failed to authenticate some domains (authenticator: apache). The Certificate Authority reported these problems:
Domain: dokiuh.io
Type: dns
Detail: no valid A records found for dokiuh.io; no valid AAAA records found for dokiuh.io
Hint: The Certificate Authority failed to verify the temporary Apache configuration changes made by Certbot. Ensure that the listed domains point to this Apache server and that it is accessible from the internet.
My web server is (include version):
Apache
The operating system my web server runs on is (include version):
Ubuntu / latest stable version of Jammy Jellyfish
My hosting provider, if applicable, is:
kamatera
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
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you're using Certbot): 2.6.0