I accidentally uninstalled certbot and certificates

My domain is: www.wirpool.ddns.net

I ran this command: » sudo certbot --nginx -d wirpool.ddns.net -d www.wirpool.ddns.net

It produced this output:

Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator nginx, Installer nginx
Requesting a certificate for wirpool.ddns.net and www.wirpool.ddns.net
Performing the following challenges:
http-01 challenge for www.wirpool.ddns.net
Waiting for verification...
Challenge failed for domain www.wirpool.ddns.net
http-01 challenge for www.wirpool.ddns.net
Cleaning up challenges
Some challenges have failed.

IMPORTANT NOTES:

  • The following errors were reported by the server:

    Domain: www.wirpool.ddns.net
    Type: dns
    Detail: DNS problem: NXDOMAIN looking up A for www.wirpool.ddns.net

    • check that a DNS record exists for this domain; DNS problem:
      NXDOMAIN looking up AAAA for www.wirpool.ddns.net - check that a
      DNS record exists for this domain

My web server is (include version): nginx/1.18.0

The operating system my web server runs on is (include version): Raspbian GNU/Linux 11 (bullseye)

My hosting provider, if applicable, is:

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): certbot 1.12.0

I used apache as webserver, when I uninstalled apache and installed nginx it had some problems and probably trying to fix them I deleted all certbot and certficates. Now trying to request for another one it answer what you can see up.

This means there is no www.wirpool.ddns.net domain -- which is different from wirpool.ddns.net.

You should just remove that domain from your command, or configure its dns so that it points the right way (but... can you do that, on ddns.net?)

2 Likes

Good, it was easier than what what I tought. I just raa this command and all done.

» sudo certbot --nginx -d wirpool.ddns.net

Thankyou very much.

2 Likes

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