Same common name on 2 sites

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: https://bonusreferrercode.com/ and bettingdarts.com

I ran this command: certbot-auto? on Centos

It produced this output: two SSL certs for both domains

My web server is (include version): Apache 2.4

The operating system my web server runs on is (include version): Just moved it to Ubuntu 18.04

My hosting provider, if applicable, is: me

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.31.0

Back when I setup the certificates of this site it was on Centos and I did them both at the same time, so now they share the Common Name of bettingdarts.com on the certificate. Practically speaking it’s fine but I would like to know if there’s away to have bonusreferrercode.com display it’s on own name on the certificate or a way to separate them?

Thanks in advance.

1 Like

Hi @joeker

one certificate has one CN (Common Name). But may have a lot of Subject Alternative Names (SAN).

A Letsencrypt certificate may have max. 100 SAN.

So you can create two certificates, one per domain to have two different CN.

But you shouldn’t. Why? It’s completely irrelevant. The CN hasn’t a function.

1 Like

You’re right, I’m going to leave it be and move on. Thanks for the response

2 Likes

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