New Certificate for subdomain on different host

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.

I am attempting to create a new certificate for a new subdomain (uuna.no-password.com). I currently have certificates (created by certbot) for the domain (no-password.com) on a different host. Any help would be greatly appreciated.

My domain is:
no-password.com

I ran this command:
sudo certbot --nginx

It produced this output:
Requesting a certificate for uuna.no-password.com

Certbot failed to authenticate some domains (authenticator: nginx). The Certificate Authority reported these problems:
Domain: uuna.no-password.com
Type: connection
Detail: Fetching http://uuna.no-password.com/.well-known/acme-challenge/Stq7Hx5ciGEKLQxcDewNeFFXLYtRHaLSgi_-2s-BcVo: Timeout during connect (likely firewall problem)

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

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

My hosting provider, if applicable, is:
AWS
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.26.0

1 Like

Your firewall is blocking absolutely everything:

% nmap uuna.no-password.com -A -Pn
Starting Nmap 7.92 ( https://nmap.org ) at 2022-04-13 20:46 CEST
Nmap scan report for uuna.no-password.com (18.233.111.242)
Host is up.
rDNS record for 18.233.111.242: ec2-18-233-111-242.compute-1.amazonaws.com
All 1000 scanned ports on uuna.no-password.com (18.233.111.242) are in ignored states.
Not shown: 1000 filtered tcp ports (no-response)

Service detection performed. Please report any incorrect results at https://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 202.40 seconds
%

Set up your firewalls :wink:

(OS, and AWS)

3 Likes

Sorry, that was a noob mistake. Nonetheless, appreciate the fast response.

4 Likes

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