Please fill out the fields below so we can help you better.
My domain is: www.bareminimum.co
I ran this command: sudo letsencrypt renew
It produced this output: 2017-04-04 03:44:48,351:WARNING:letsencrypt.cli:Attempting to renew cert from /etc/letsencrypt/renewal/bareminimum.co.conf produced an unexpected error: Failed authorization procedure. bareminimum.co (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://bareminimum.co/.well-known/acme-challenge/bdgKx2JfC5EQD0rh3sJrRDDlq7x4YI8ZDos6P6THlkY: "
My operating system is (include version): Ubuntu 16.04.1 x64
My web server is (include version): nginx
My hosting provider, if applicable, is: Digital Ocean
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
This is the first time I’ve ever set up a webpage on a server so please excuse any simple things I don’t understand. I was able to set up my website but now I need to renew the SSL certificate and I am unable to.
I used the following links to set up my server:
When I run
sudo letsencrypt renew
I get the following error:
and my nginx config looks like this:
listen 80 default_server;
listen [::]:80 default_server;
server_name bareminimum.co www.bareminimum.co;
location ~ /.well-known {
allow all;
}
return 301 https://bareminimum.co/grade-calculator;
}
server {
# SSL configuration
listen 443 ssl http2 default_server;
listen [::]:443 ssl http2 default_server;
include snippets/ssl-bareminimum.co.conf;
include snippets/ssl-params.conf;
root /www/bare-minimum/dist;
index index.php index.html index.htm;
server_name -;
location ~ /.well-known {
allow all;
}
location / {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
proxy_set_header X-Nginx_Proxy true;
proxy_pass http://localhost:8080;
proxy_redirect off;
}
}
Thanks for the help!