My domain is: example.com
I ran this command: sudo certbot certonly --webroot --webroot-path=/home/user/example -d example.com -d www.example.com
It produced this output: Failed authorization procedure. www.example.com (http-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: Fetching http://www.example.com/.well-known/acme-challenge/ryzd6mjajRYqjIJI1Rfu5hqmQDc-3qYygqMH4XdXbUc: Timeout
Hello there. I installed lets-encrypt for my customer and certificate expired. I was create a cron tab but so here we are.
I didnt get expires emails(because the email belongs to my customer) and certificate expired.
The problem is i cant renew my cert. because of some errors like 404 403 etc etc. I will paste my nginx conf file but nothing changed in it. Help me thanks
server {
listen 80;
listen [::]:80;
server_name www.example.com example.com;
location ~ /.well-known {
allow all;
root /home/user/example;
} // I add this location section later for no redirect to https while renew.
location / {
return 301 https://$server_name$request_uri;
}
}
server {
# SSL configuration
listen 443 ssl default_server;
listen [::]:443 ssl default_server;
include snippets/ssl-example.com.conf;
# include snippets/ssl-params.conf;
root /home/user/example;
location = /favicon.ico { access_log off; log_not_found off; }
location /static/ {
root /home/user/example;
}
location /media/ {
root /home/user/example;
}
location / {
include uwsgi_params;
uwsgi_pass unix:/run/uwsgi/example.sock;
}
location ~* \.(jpg|jpeg|png|gif|ico|css|js)$ {
expires 365d;
}
}
Btw im serving django-python app with uwsgi
thanks for helps