Wildcard Letsencrypt certificates and Multiple Domains

hostname of my linode VPS is xxx.domain1.com. I generated wildcard certificate using the below command:

certbot certonly \
--dns-linode \
--dns-linode-propagation-seconds 1000 \
-d *.domain1.com -d domain1.com

This works without any problem.

I have another domain hosted at the same server, domain2.com. I issued the same above command for domain2 and created wildcard certificate without any error. But, this certificate for domain2.com doesn't work properly.

SSLlabs check says "Certificate name mismatch. Try these other domain names (extracted from the certificates): xxx.domain1.com"

What is the proper way of creating wildcard certificates for multiple domains on the same server?

1 Reply

I think your DNS configuration is at fault. Can you post it?

-- sw

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct