WSO2 API Manager, invalid. unable to find valid certification path to requested target

我的梦境 提交于 2019-12-05 18:33:44

I'm going to answer to my own question. Here is how I have solved this problem.

Here is the steps that I have used to solve this problem:

  1. In <APIM_HOME>/repository/conf/axis2/axis2.xml where HostnameVerifier parameter is used I have written this:

    AllowAll

  2. Then in <APIM_HOME>\repository\resources\security there are two keystores located wso2carbon.jks and client-truststore.jks. We can import certificates for wso2carbon.jks via carbon web page as I have shown in my question. However, for client-truststore.jks I should add this certificate manually via keytool

    keytool -importcert -file my_domain_sert.ser -keystore client-truststore.jks -alias "example.com"
    

==========================Important Warning!!!===========================

When you are going to download endpoints' certificate, by using your browser, you should check If your antivirus' firewall overwriting your certificate. If it overwrites, you mat have an error.

Here my ESET NOD32 Antivirus is changing original certificate.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!