Combining several certs into one

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. https://crt.sh/?q=example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is: cloverpatch.org.uk

I ran this command: N/A

It produced this output: N/A

My web server is (include version): AMD

The operating system my web server runs on is (include version): Debian 9 (Stretch)

My hosting provider, if applicable, is: servdiscount.com

I can login to a root shell on my machine (yes or no, or I don’t know): Yes

I’m using a control panel to manage my site (no, or provide the name and version of the control panel): No

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you’re using Certbot): Certbot 0.28.0

Answered the list of questions but no space to ask my question!
My question is, having misunderstood the way to get all of the domains into one certificate to start with, I have now got three certificates for two domains and some subdomains. This creates difficulty configuring Dovecot (/etc/dovecot/conf.d/10-ssl.conf). Is it a simple matter to cancel two of the existing certs then add their domains and subdomains onto the one that’s left?
I also have another two domains, each with subdomains, to add later.
The documentation for adding domains is clear (pity I didn’t find it earlier!) but how long would it take for cancellations to take effect before I can add them?

1 Like

Hi Mike,

I did the exact same thing myself when I started out. You don’t need to cancel your existing certificates at all. Just create your new csr with all the domains you want it to have and create a new certificate for it. You may get an email about the old certificate expiring - the email will tell you the list of domains on the expiring certificate, so you can just ignore any of those that are for the individual domains.

When you want to add further domains, just do the same thing. Create a csr that adds the new domain, and get a certificate for them all.

1 Like

Hi Kurt,
In a life full of complications doesn’t it just feel good when something in it is just plain simple? Thank you for explaining and Certbot for making it so. :slight_smile:
Mike

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.