Certbot works on initial, but not renew

Hi, I just used certbot certonly --webroot to obtain certificates for several domains. The command ran perfectly with no errors. I wanted to check that the renewal process would work though so I ran certbot renew --dry-run and it failed for almost all the domains. Any common reason why this might happen? I’m using nginx on Debian Stretch. Thanks

Edit: Also, since it seems like there’s no nginx plugin on Stretch to automatically change my configuration, which changes need to be made in /etc/nginx/sites-enabled/…? Thanks again

1 Like

fixed it by adding the following to every one of my configurations for nginx

location ~ /.well-known {
    allow all;
}
3 Likes

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