My domain is:
slayer.events
I ran this command:
sudo certbot certonly --nginx -d slayer.events
It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Requesting a certificate for slayer.events
Certbot failed to authenticate some domains (authenticator: nginx). The Certificate Authority reported thes e problems:
Domain: slayer.events
Type: connection
Detail: 3.147.126.58: Fetching http://slayer.events/.well-known/acme-challenge/pmKEEHIBc2nr0F_24fdaZdruSY jRi5WsMJ8G9xi_9b0: 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.
Some challenges have failed.
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsenc rypt/letsencrypt.log or re-run Certbot with -v for more details.
My web server is (ipv4):
The operating system my web server runs on is (include version): AWS
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 certbot
also my nginx temp file looks like this:
server {
listen 80;
server_name slayer.events www.slayer.events;
location / {
proxy_pass http://localhost:4000;
}
}