My domain is:
top-floor.net
specifically netbox.top-floor.net
I ran this command:
sudo certbot -v --nginx -d netbox.top-floor.net
It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator nginx, Installer nginx
Requesting a certificate for netbox.top-floor.net
Performing the following challenges:
http-01 challenge for netbox.top-floor.net
Waiting for verification...
Challenge failed for domain netbox.top-floor.net
http-01 challenge for netbox.top-floor.net
Certbot failed to authenticate some domains (authenticator: nginx). The Certificate Authority reported these
Domain: netbox.top-floor.net
Type: unauthorized
Detail: 5.161.130.12: Invalid response from https://netbox.top-floor.net/.well-known/acme-challenge/XiEMpU
Hint: The Certificate Authority failed to verify the temporary nginx configuration changes made by Certbot. x server and that it is accessible from the internet.
Cleaning up challenges
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.
My web server is (include version):
nginx version: nginx/1.18.0 (Ubuntu)
The operating system my web server runs on is (include version):
Distributor ID: Ubuntu
Description: Ubuntu 20.04.4 LTS
Release: 20.04
Codename: focal
user@VPS:~$ uname -a
Linux ubuntu-4gb-ash-1 5.4.0-121-generic #137-Ubuntu SMP Wed Jun 15 13:33:07 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
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.29.0
Hello again all, having another issue this time. Figured I had some success with my last LE issue, I'd try it again
To provide a little more background, I am trying to spin up a test instance of Digital Oceans netbox. I was able to add it to my VPS, install and configure it correctly, however I have not been able to generate a TLS cert for the website. I followed a couple of guides and my nginx config looks correct but for some odd reason I get the weird 404 error when attempting to request it. Any ideas as to why? I found similar issues, here, here and here with the last one being the most helpful but still not an answer.