原文:JAVA 调用https接口, java.security.cert.CertificateException

调用:httpClientUtil.doPost url,paramsMap, uft ...

2018-10-23 10:04 0 2372 推荐指数:

查看详情

java.security.cert.CertificateException: No subject alternative names present

背景:在开发一个项目中,要调用一个webservice服务,之前设置的是http协议,项目中采用jdk自带的wsimport工具生成的客户端代码; 后来,需求变更要求兼容https协议的webservice,开始以为只需要简单的将服务地址的连接改为https就可以了;但不行,总是报错 ...

Fri Oct 30 03:19:00 CST 2015 0 16713
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM