Hostname/IP does not match certificate's altnames


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

FetchError: request to failed, reason: Hostname/IP does not match certificate’s altnames: Host: is not in the cert’s altnames: DNS:*,

1 Like

Hi @kensanni

checking your domain there is no error visible -

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?


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.


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.