My domain is: pywise.co.uk
I ran this command:
sudo certbot certonly --manual --manual-auth-hook /etc/letsencrypt/acme-dns-auth.py --preferred-challenges dns --debug-challenges -d *.pywise.co.uk -d pywise.co.uk
It produced this output:
Challenges loaded. Press continue to submit to CA. Pass "-v" for more info about
challenges.
Press Enter to Continue
Cleaning up challenges
Failed authorization procedure. pywise.co.uk (dns-01): urn:ietf:params:acme:error:dns :: DNS problem: NXDOMAIN looking up TXT for _acme-challenge.pywise.co.uk - check that a DNS record exists for this domain, pywise.co.uk (dns-01): urn:ietf:params:acme:error:dns :: DNS problem: NXDOMAIN looking up TXT for _acme-challenge.pywise.co.uk - check that a DNS record exists for this domain
IMPORTANT NOTES:
-
The following errors were reported by the server:
Domain: pywise.co.uk
Type: None
Detail: DNS problem: NXDOMAIN looking up TXT for
_acme-challenge.pywise.co.uk - check that a DNS record exists for
this domain
My web server is (include version):
The operating system my web server runs on is (include version):
My hosting provider, if applicable, is:
google domains
I can login to a root shell on my machine (yes or no, or I don't know):
yes. I use a local VM to run above commangs and I am root user
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):
certbot 0.31.0
Background:
I did try to use lets encrypt an year ago, and I got help here . Issue was when creating custom record, automatically domain name gets suffixed . So I have to enter only _acme-challenge ( not _acme-challenge.pywise.co.uk)
As i moved to a system that gave me certificate by default. I no longer used this feature.
Now:
I have a new machine and need to manage certificate myself.
I forgot all the key steps. I did remove custom record from domain, assuming that the command will create. SO now not sure of the type - TXT or CNAME
I do see this
Plugins selected: Authenticator manual, Installer None
Cert is due for renewal, auto-renewing...
Renewing an existing certificate
Performing the following challenges:
dns-01 challenge for pywise.co.uk
dns-01 challenge for pywise.co.uk
but I do not remember how txt file comes, where it will get created and next steps.
Please can you help with the steps.