Certbot errors, i got these errors and nothing seems to work?

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. crt.sh | 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:mrsloth.xyz

I ran this command: certbot --apache

the error i got as follows:

Saving debug log to /var/log/letsencrypt/letsencrypt.log
Please enter the domain name(s) you would like on your certificate (comma and/or
space separated) (Enter 'c' to cancel): mrsloth.xyz
Requesting a certificate for mrsloth.xyz

Certbot failed to authenticate some domains (authenticator: apache). The Certificate Authority reported these problems:
Domain: mrsloth.xyz
Type: dns
Detail: DNS problem: looking up A for mrsloth.xyz: DNSSEC: DNSKEY Missing; DNS problem: looking up AAAA for mrsloth.xyz: DNSSEC: DNSKEY Missing

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.

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.

It produced this output:

My web server is (include version):

The operating system my web server runs on is (include version):

My hosting provider, if applicable, is:

I can login to a root shell on my machine (yes or no, or I don't know):

I'm using a control panel to manage my site (no, or provide the name and version of the control panel):

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot):

here is my error log;

2023-10-10 14:49:26,717:DEBUG:certbot._internal.main:certbot version: 2.1.0
2023-10-10 14:49:26,717:DEBUG:certbot._internal.main:Location of certbot entry point: /usr/bin/certbot
2023-10-10 14:49:26,717:DEBUG:certbot._internal.main:Arguments: ['-d', 'christmas.mrsloth.xyz']
2023-10-10 14:49:26,717:DEBUG:certbot._internal.main:Discovered plugins: PluginsRegistry(PluginEntryPoint#manual,PluginEntryPoint#null,PluginEntryPoint#stan>
2023-10-10 14:49:26,725:DEBUG:certbot._internal.log:Root logging level set at 30
2023-10-10 14:49:26,726:DEBUG:certbot._internal.plugins.selection:Requested authenticator None and installer None
2023-10-10 14:49:26,726:DEBUG:certbot._internal.plugins.selection:No candidate plugin
2023-10-10 14:49:49,994:DEBUG:certbot._internal.main:certbot version: 2.1.0
2023-10-10 14:49:49,994:DEBUG:certbot._internal.main:Location of certbot entry point: /usr/bin/certbot
2023-10-10 14:49:49,994:DEBUG:certbot._internal.main:Arguments: ['-d', 'christmas.mrsloth.xyz']
2023-10-10 14:49:49,994:DEBUG:certbot._internal.main:Discovered plugins: PluginsRegistry(PluginEntryPoint#manual,PluginEntryPoint#null,PluginEntryPoint#stan>
2023-10-10 14:49:50,005:DEBUG:certbot._internal.log:Root logging level set at 30
2023-10-10 14:49:50,007:DEBUG:certbot._internal.plugins.selection:Requested authenticator None and installer None
2023-10-10 14:49:50,007:DEBUG:certbot._internal.plugins.selection:No candidate plugin
2023-10-10 14:51:18,574:DEBUG:certbot._internal.main:certbot version: 2.1.0
2023-10-10 14:51:18,574:DEBUG:certbot._internal.main:Location of certbot entry point: /usr/bin/certbot
2023-10-10 14:51:18,574:DEBUG:certbot._internal.main:Arguments:
2023-10-10 14:51:18,574:DEBUG:certbot._internal.main:Discovered plugins: PluginsRegistry(PluginEntryPoint#manual,PluginEntryPoint#null,PluginEntryPoint#stan>
2023-10-10 14:51:18,581:DEBUG:certbot._internal.log:Root logging level set at 30
2023-10-10 14:51:18,582:DEBUG:certbot._internal.plugins.selection:Requested authenticator None and installer None
2023-10-10 14:51:18,582:DEBUG:certbot._internal.plugins.selection:No candidate plugin
2023-10-10 14:51:37,367:DEBUG:certbot._internal.main:certbot version: 2.1.0
2023-10-10 14:51:37,368:DEBUG:certbot._internal.main:Location of certbot entry point: /usr/bin/certbot
2023-10-10 14:51:37,368:DEBUG:certbot._internal.main:Arguments:
2023-10-10 14:51:37,368:DEBUG:certbot._internal.main:Discovered plugins: PluginsRegistry(PluginEntryPoint#manual,PluginEntryPoint#null,PluginEntryPoint#stan>
2023-10-10 14:51:37,375:DEBUG:certbot._internal.log:Root logging level set at 30

You need to get your domain name working before you'll be able to get a certificate for it. (And before any users will be able to reliably use it, really.) Your registrar has configured the domain name to use DNSSEC, but your DNS Servers isn't configured to sign the responses. You need to either remove DNSSEC, or preferably actually set it up. But right now, no DNSSEC-checking resolver is able to use your domain name.

4 Likes

You can see your DNSSEC issue graphically using e.g. DNSViz:

https://dnsviz.net/d/mrsloth.xyz/dnssec/

4 Likes

That's brilliant information thanks so much Peter I've now got I good idea how I can solve the issue

Many thanks

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.