{"id":524,"date":"2018-03-24T14:24:53","date_gmt":"2018-03-24T14:24:53","guid":{"rendered":"https:\/\/www.joetannorella.com\/?p=524"},"modified":"2018-03-24T14:24:53","modified_gmt":"2018-03-24T14:24:53","slug":"certbot-wont-renew-certificate","status":"publish","type":"post","link":"https:\/\/www.joetannorella.com\/certbot-wont-renew-certificate\/","title":{"rendered":"Certbot won’t renew certificate"},"content":{"rendered":"
Certbot wouldn’t renew the cert for my domain.<\/p>\n
I decided to venture into the certbot config files (\/etc\/letsencrypt\/ by default) and remove the renewal file so that I could reinstall the cert from scratch:<\/p>\n
rm \/etc\/letsencrypt\/www.joetannorella.com.conf<\/pre>\nHowever, when trying to reinstall a cert again (certbot renew), I was getting this:<\/p>\n
renewal config file {} is missing a required file reference<\/span>\r\n\r\nRenewal configuration file \/etc\/letsencrypt\/renewal\/www.joetannorella.com.conf is broken. Skipping.<\/span><\/pre>\n
The mistake I made was not removing all traces of my domain from letscrypt. What you need to do is remove all references to your domain in these locations:<\/p>\n
\n
- \/etc\/letsencrypt\/live\/[yourdomain]<\/li>\n
- \/etc\/letsencrypt\/renewal\/[yourdomain]<\/li>\n
- \/etc\/letsencrypt\/archive\/[yourdomain]<\/li>\n<\/ul>\n
Once you’ve done this, you should be able to install a cert again from scratch.<\/p>\n","protected":false},"excerpt":{"rendered":"
Certbot wouldn’t renew the cert for my domain. I decided to venture into the certbot config files (\/etc\/letsencrypt\/ by default) and remove the renewal file so that I could reinstall the cert from scratch: rm \/etc\/letsencrypt\/www.joetannorella.com.conf However, when trying to reinstall a cert again (certbot renew), I was getting this: renewal config file {} is…<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[7],"tags":[],"yoast_head":"\n
Certbot won't renew certificate - JoeTannorella.com<\/title>\n\n\n\n\n\n\n\n\n\n\n\n\t\n\t\n\t\n