Change Certbot plugin

by samh   Last Updated May 16, 2019 02:00 AM

I have a web server running multiple sites on nginx. They are secured by certificates from Lets Encrypt. For some reason, long ago, I installed the certs for one site using standalone rather than the nginx plugin.

So when certbot renew runs, it always fails when that domain is due for renewal because nginx is running on port 80. I have to stop nginx, and re-run certbot, and then restart nginx.

When I run certbot renew --nginx it complains that HTTP validation fails for those domains. I'm having difficulty figuring out how I can tell certbot to revalidate the domains by HTTP and switch them to the nginx plugin.

Related Questions

Updated January 12, 2018 16:00 PM

Updated April 14, 2018 03:00 AM

Updated June 22, 2018 13:00 PM

Updated September 13, 2018 11:00 AM