Why does android get the wrong ssl certificate? (two domains, one server)

后端 未结 3 1592
故里飘歌
故里飘歌 2020-12-08 11:29

I have two domains: foo.net and bar.com. They both have SSL certificates, and they work well in all desktop and mobile browsers. They are hosted on

3条回答
  •  孤城傲影
    2020-12-08 11:56

    It looks like the certificate of foo.net is misconfigured, and is using the same hostname as bar.com

    Try to run an online certificate validation tool, like https://www.digicert.com/help/ on foo.net, just to be sure.

    I think that you need to regenerate the certificate of foo.net with the right hostname, or reconfigure ngix to make sure that nginx serve the right certificate for the right host.

提交回复
热议问题