Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. https://crt.sh/?q=example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.
My domain is: example.com
I ran this command: sudo certbot certonly --manual --preferred-challenges dns --server https://acme-v02.api.letsencrypt.org/directory
It produced this output:
It asked me " Please deploy a DNS TXT record under the name
_acme-challenge.example.com with the following value:
— "
it did this twice with different passkeys.
My web server is (include version): not applicable
The operating system my web server runs on is (include version): not applicable
My hosting provider, if applicable, is: hosteurope.de
I can login to a root shell on my machine (yes or no, or I don’t know): no
I’m using a control panel to manage my site (no, or provide the name and version of the control panel): no
I am trying to get a wildcard certificate that also applies to the non-subdomain version of my page. Therefore I am trying to get a certificate for BOTH *.example.com and example.com. I was adviced that this is the right procedure. I want to use the DNS authentication because uploading a file to my webserver is a bit cumbersome due to the security in place and I can never complete it on time.
Unfortunately DNS authentication now also does not work, since I am requested to enter the _acme-challenge.example.com DNS TXT entry twice with different keys. This does not make any sense. Also even if I turn down the TTL, I can turn it down to 5 minutes minimum. Lower is not possible with my DNS provider.
How can I avoid this weird procedure of changing the key mid authentication?
EDIT:
Here is a more verbose copy-paste from the certbot output:
Are you OK with your IP being logged?
-------------------------------------------------------------------------------
(Y)es/(N)o: y
-------------------------------------------------------------------------------
Please deploy a DNS TXT record under the name
_acme-challenge.example.com with the following value:
nT5q7HnpO-3QrwTuSvmSvvp89ONgDnr9hS_fhzTk0CM
Before continuing, verify the record is deployed.
-------------------------------------------------------------------------------
Press Enter to Continue
-------------------------------------------------------------------------------
Please deploy a DNS TXT record under the name
_acme-challenge.example.com with the following value:
rU8O6tqPPkkga7RWTYVqdvhgLuZKzyH8auA6J7bTTfE
Before continuing, verify the record is deployed.
-------------------------------------------------------------------------------
Press Enter to Continue
Waiting for verification...
Cleaning up challenges
Failed authorization procedure. ozhan.de (dns-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Incorrect TXT record "rU8O6tqPPkkga7RWTYVqdvhgLuZKzyH8auA6J7bTTfE" found at _acme-challenge.example.com
IMPORTANT NOTES:
- The following errors were reported by the server:
Domain: example.com
Type: unauthorized
Detail: Incorrect TXT record
"rU8O6tqPPkkga7RWTYVqdvhgLuZKzyH8auA6J7bTTfE" found at
_acme-challenge.example.com
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.