SSL-Connection causes javax.net.ssl.SSLException: hostname in certificate didn't match (WSO2 Api Manager / Tomcat)

前端 未结 2 1602
礼貌的吻别
礼貌的吻别 2021-01-21 19:52

I am currently setting up a dockerized WSO Api Manager. We have got a wildcard certificates for our domain. I successfully transformed it into a java keystore and replaced the t

2条回答
  •  庸人自扰
    2021-01-21 20:51

    In the api-manager.xml file , change all references of localhost to match your domain name , restart , and it should be good.

    Setting

    AllowAll
    

    is a security risk , Hostname Verification is there for a reason.

提交回复
热议问题