Custom certificate with wildcard domain => certificate CN (.mydomain.io) or SANs (.mydomain.io) did not match your custom domain (mydomain.io)

netlify site name:
condescending-noether-116e31.netlify.app

We tried to install a custom certificate for our domain (mydomain.io) with a wildcard certificate (*.mydomain.io) and encountered the following error:
certificate CN (.mydomain.io) or SANs (.mydomain.io) did not match your custom domain (mydomain.io).

Seemingly the wildcard * from the certificate was removed and now *.mydomain.io / .mydomain.io does not match mydomain.io, which makes no sense.

Please help, thanks!

*.domain.tld is not the same as domain.tld. Both need to be included on the certificate. *.domain.tld covers only the subdomains, not the apex domain.

Thank you! We’ll have to check again with our certificate provider.

1 Like