Answer the question
In order to leave comments, you need to log in
Why can't I get a letsencrypt nginx certificate?
Good afternoon. The problem is as follows:
when trying to obtain the next certificate for the next domain, I encountered the following error:
- The following errors were reported by the server:
Domain: waterstarsaunapart.com
Type: unauthorized
Detail: Invalid response from
http://waterstarsaunapart.com/.well-known/acme-challenge/Tcz1WXPz5Q-CjQlAIzJ2Y69langzO-zTfjxKF5UDyDk:
"<html>
<head><title>404 Not Found</title></head>
<body bgcolor="white">
<center><h1>404 Not Found</h1></center>
<hr><center>"
To fix these errors, please make sure that your domain name was
entered correctly and the DNS A/AAAA record(s) for that domain
contain(s) the right IP address.
sudo letsencrypt certonly -a webroot --webroot-path=/var/www/landings/data/www/domain.com -d domain.com
location ^~ /.well-known/acme-challenge {
allow all;
default_type "text/plain";
}
Answer the question
In order to leave comments, you need to log in
It says that the file was not found waterstarsaunapart.com/.well-known/acme-challenge/...
Create a file and fill it with a special line
To fix these errors, please make sure that your domain name was
entered correctly and the DNS A/AAAA record(s) for that domain
contain(s) the right IP address.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question