Remove domain from cert

written by Admin


Posted on 2023-12-02


Problem

I need to remove a domain from a certificate issued by Lets Encrypt

Solution

You can set a new list of domains in the certificate and trigger a renew. The domain to remove (dom3.com in this example) is simply not in the new list.

# certbot certonly --cert-name dom1.com -d dom1.com,dom2.com

Feedback


Comments

Leave a Comment:

Search

Welcome

We need collaboration and a real boost from our community: write us an email for every trick you find!

This website is a sysadmin swiss-knife for every-day Windows, Linux and Mac administration and troubleshooting

Our database grows if YOU send us your tips and trick as soon as you find them every day!