Chrome cannot recognize wildcard certificate


I’ve requested a wildcard certificate for my domain Everything is ok. I did the Apache configuration, ok too. But when I open an URL, it return that certificate is not valid…

From Chrome (F12->Security->View certificate)
DNS name=*

When I open Chrome says that the certificate is invalid, that it is for


Note: for and works, but it’s a different IP, but same Apache config.

Any ideias? :frowning:

Hi @ArvyRogerio,

Wildcard certificates are only valid for one level of subdomains. E.g. a certificate for [, * ] is only valid for,,, etc. It won't be valid for

For that you would need two wildcards, e.g. a certificate for [, *,, * ]

This is a limitation true for all wildcard certificates, not just those issued by Let's Encrypt.

For your specific case you would need to add a wildcard for * to your certificate to cover

I hope that helps!


Aww! :disappointed_relieved:

Didn’t know… sorry. :disappointed:

1 Like

No need to apologize! You're certainly not the first person to stumble across this and it definitely isn't intuitive! :slight_smile:

1 Like

Thanks! :slight_smile:

Anyway, your tip fixed my problem. I just regenerated the certificate as you mentioned:

certbot (…) -d -d * -d *

And now it’s working! Thanks! :clap:

1 Like

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