部属到WebSphere中的Application在访问https协议的资源时报错如下(省略号是我省去的异常打印).
。。。
[9/19/10 3:19:32:457 CDT] 00000056 SystemErr R at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))
[9/19/10 3:19:32:457 CDT] 00000056 SystemErr R Caused by: java.security.cert.CertificateException: Certificate not Trusted
[9/19/10 3:19:32:457 CDT] 00000056 SystemErr R at com.ibm.jsse.bi.a(Unknown Source)
[9/19/10 3:19:32:457 CDT] 00000056 SystemErr R at com.ibm.jsse.bi.checkServerTrusted(Unknown Source)
[9/19/10 3:19:32:457 CDT] 00000056 SystemErr R at com.ibm.jsse2.ba.checkServerTrusted(Unknown Source)
[9/19/10 3:19:32:457 CDT] 00000056 SystemErr R ... 195 more
[9/19/10 3:19:32:476 CDT] 00000056 SystemErr R javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: Certificate not Trusted
at com.ibm.jsse2.bx.a(Unknown Source)
。。。
解决这个问题,我们尝试了几个办法,主要的思路是将被访问网站的证书导入到部署了Application的WebSphere的证书储存文件中。
导出被访问网站的证书:
使用IE浏览器打开被访问网站,并点击View Certificate
点击Copy to File 保存.
首先将证书导入到:
$INSTALL_HOME/AppServer/profiles/wp_profile/etc/DummyServerTrustFile.jks
错误依然存在
然后将证书导入到:
$INSTALL_HOME/AppServer/java/jre/lib/security/cacerts
重启SERVER后错误消失,注意重启Server是全部重启,portal自带的Server1和WebSphere_Portal server。
导入证书可以使用WebSphere自带的ikeyman或者JRE自带的keytool,具体办法自己摸索一下就行了。
分享到:
相关推荐
websphere常见问题及解决办法 如 Error 404: SRVE0190E JSPG0049E
WEBSPHERE乱码问题的解决和处理。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。
This document describe the detail steps in how to import gmail SMTP certificate to Websphere server
IBM WebSphere Portal 解决方案
IBM WebSphere Portal 介绍,IBM门户解决方案,业务状况分析\门户解决方案
基于WebSphere的PaaS云计算解决方案.pptx
webSphere指南webSphere指南webSphere指南webSphere指南webSphere指南
在websphere中设置解决中文显示乱码问题
在websphere8.5 下部署含有CXFwebservice的war包无法正常启动,...归根结底原因不是找不到类,而是发布后war下的jar与websphere自身平台下的jar冲突了,要解决此问题就要通过在websphere下建立共享库来根除,可参考附件
websphere设计
WebSphere
在Websphere Application Server 经常会出现乱码,有时候可以在项目中去设置,但有时候也是Websphere 造成的,所以需要你手动去更改Websphere 的设置。
was相关资料: Websphere安装步骤 websphere安装后配置说明 Websphere实用手册 WebSphere+v6.1配置文档
websphere commerce的使用即websphere commerce图解.在网上扒了半天才找到的稀品啊!IBM创建商品店铺(websphere commerce).pdf 一些其他的相关资料: ...
WebSphere MQ 所能解决的业务问题的种类,并了解 WebSphere MQ 如何能够帮助您满足业务要求。
企业版(Enterprise Edition),提供了一个高可靠性的解决方案,能够将电子商务应用移植进关键性的企业环 境,起到平衡现有IT系统的作用。它组合了IBM享誉世界的交易环境TXSeries,和ComponentBroker,IBM的一个支持...
第一部分 Websphere MQ原理和体系结构 11 第一章Websphere MQ原理 11 目标 11 1.1中间件 11 1.1.1中间件的优点 11 1.1.2中间件的分类 12 1.2三种通信技术的比较 13 1.3 WebSphere MQ的原理 15 1.4 WebSphere MQ的...
WebSphere Application Server v7.1互补产品 WAS v7.0 的价值在IBM z/OS WebSphere Application Server Version 7.0 特色 WebSphere Application Server Version V7.0技术简介 WebSphere Application Server v...
以问答方式为我们描述portal能解决的问题
WebSphere在Myeclipse中的整合,Myeclipse下增加WebSphere的支持