I’m running a Proxmox instance, with a VM for pfSense, for my docker containers, and one for NGINX. The setup works perfectly on LAN, but I can’t seem to get a cert from certbot for the past few days. I’ve run the commands below, and have that output. My ports are forwarded on my router, and I’ve ensured that they’re accessible, unless I’m missing something else. If this isn’t enough information or clarification is needed, feel free to reply! Any help is welcome at this point.
My domain is: danielr.xyz
I ran this command: sudo certbot certonly --webroot -w /var/www/html -d danielr.xyz -d www.danielr.xyz (for testing purposes) --dry-run
It produced this output:
The following errors were reported by the server:
Domain: danielr.xyz
Type: connection
Detail: Fetching
http://danielr.xyz/.well-known/acme-challenge/1IZwOOt4hVVZJu_jE3MmULz4rIgRuvZ1z2RNlVZEsAo:
Connection refused
Same for the www. subdomain
To fix these errors, please make sure that your domain name was entered correctly and the DNS A/AAAA record(s) for that domain your computer has a publicly routable IP address and that no firewalls are preventing the server from communicating with the client.
My web server is (include version): nginx/1.18.0 (Ubuntu)
The operating system my web server runs on is (include version): Ubuntu 20.04
My hosting provider, if applicable, is: Myself
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 0.40.0