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:
johchat.online
I ran this command:
certbot", "certonly", "--nginx", "-d", "johchat.online", "-n", "--agree-tos", "--email", "darkjake007@gmail.com"
It produced this output:
fatal: [localhost]: FAILED! => {"changed": true, "cmd": ["certbot", "certonly", "--nginx", "-d", "johchat.online", "-n", "--agree-tos", "--email", "darkjake007@gmail.com"], "delta": "0:00:07.774077", "end": "2024-02-09 05:02:37.707289", "msg": "non-zero return code", "rc": 1, "start": "2024-02-09 05:02:29.933212", "stderr": "Saving debug log to /var/log/letsencrypt/letsencrypt.log\nSome challenges have failed.\nAsk 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.", "stderr_lines": ["Saving debug log to /var/log/letsencrypt/letsencrypt.log", "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."], "stdout": "Requesting a certificate for johchat.online\n\nCertbot failed to authenticate some domains (authenticator: nginx). The Certificate Authority reported these problems:\n Domain: johchat.online\n Type: connection\n Detail: 2407:e400:9016:4a01:223:18ff:fed8:f540: Fetching http://johchat.online/.well-known/acme-challenge/rPC7321nHSzKwdx__vjnZ2SfnoUEemfHZ6JWA8QBgJw: Connection refused\n\nHint: The Certificate Authority failed to verify the temporary nginx configuration changes made by Certbot. Ensure the listed domains point to this nginx server and that it is accessible from the internet.", "stdout_lines": ["Requesting a certificate for johchat.online", "", "Certbot failed to authenticate some domains (authenticator: nginx). The Certificate Authority reported these problems:", " Domain: johchat.online", " Type: connection", " Detail: 2407:e400:9016:4a01:223:18ff:fed8:f540: Fetching http://johchat.online/.well-known/acme-challenge/rPC7321nHSzKwdx__vjnZ2SfnoUEemfHZ6JWA8QBgJw: Connection refused", "", "Hint: The Certificate Authority failed to verify the temporary nginx configuration changes made by Certbot. Ensure the listed domains point to this nginx server and that it is accessible from the internet."]}
My web server is (include version):
ubuntu server 23.10
The operating system my web server runs on is (include version):
ubuntu server 23.10
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.21.0
I have ensured there server is on DMZ while running this prior to port forwarding, I have also done port forwarding just in case, the domain is certainly pointing to the right area I have no idea why this is erroring out. I have also switched off the ufw temporarily with no such luck. I am not running an external firewall either just yet (need to hook it up, another task for later)