Hostname/IP does not match certificate's altnames

Hello,

I have successfully setup letencrypt certificate for my domain(shopohho.com), but when I tried accessing it, I’m getting this error from my server

FetchError: request to https://shopohho.com/meta?checkoutId=undefined&domainId=undefined failed, reason: Hostname/IP does not match certificate’s altnames: Host: shopohho.com. is not in the cert’s altnames: DNS:*.elliot.store, DNS:elliot.store

1 Like

Hi @kensanni

checking your domain there is no error visible - https://check-your-website.server-daten.de/?q=shopohho.com

There is a big certificate with 99 domain names.

Your two names are included.

Both connections use that certificate.

Looks like you have a too old browser cache. Same with your link, there is a working + valid certificate.

1 Like

Thanks @JuergenAuer

That make sense, It was a caching issue. Is there a better way of handling certificates with multiple domain? Also, is it possible to get all domain on a letencrypt certificate?

2 Likes

It’s your decision. Max. 100 domain names are possible.

Some users prefer certificates with two domain names (non-www and www), so they have 50 certificates.

Other create one certificate with both non-www and www -> 50 domains, 100 domain names.

2 Likes

Thanks for the help.

1 Like

It was a great help ! Thank you very much for sharing this !

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