Remove Domain from certificate - certbot

When running the command certbot certificate

I get this result

Certificate Name: Domains:

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


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 -d

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