Question

Remove Domain from certificate - certbot

When running the command certbot certificate

I get this result

Certificate Name: effstaging.net Domains: etffstaging.net bern.etffstaging.net bernst.etffstaging.net bernsteiaaax.com

I need to remove bernst.etffstaging.net bernsteiaaax.com from the certificate because we no longer mange those domains. How is this done?

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi there @austinCoral,

What you need to do is to issue a new certificate for the domain names that should be part of the certificate:

sudo certbot --nginx -d example.com -d www.example.com

Hope that this helps! Regards, Bobby

I went to this folder: cd /etc/letsencrypt/renewal/

Then used sudo rm to remove the conf files of the old domains.

Seems to have worked, will see in 12 hours. :D