证书中的主机名不匹配:<>!=<> WSO2 APIM [英] hostname in certificate didn't match:<>!=<> WSO2 APIM

查看:368
本文介绍了证书中的主机名不匹配:<>!=<> WSO2 APIM的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个https端点,我需要从wso2 API管理器访问它。 (使用1.10)。我已经将证书文件添加到client-truststore.jks文件中。但现在它给出了如下错误。

I have a https endpoint and I need to access it from wso2 API manager. (uses 1.10).I already added the certificate files to "client-truststore.jks" file. But now it gives an error as follows.

 hostname in certificate didn't match:<ip>!=<entry name>. 

我已经更新了axis2.xml文件,如下所示。

I have already updated the axis2.xml file as follows also.

<parameter name="HostnameVerifier">AllowAll</parameter>

如何使用WSO2 APIManager解决此问题以访问此https后端服务

How can I solve this issue with WSO2 APIManager to access this https backend service

推荐答案

证书的CN应该与URL的主机名匹配。当它们不匹配时会出现上述错误。

The CN of the certificate should match with the hostname of the URL. You get above error when they don't match.

这篇关于证书中的主机名不匹配:&lt;&gt;!=&lt;&gt; WSO2 APIM的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆