an error occur when i log in my system through Ldap validate password on websphere 6.1.0.29.the error as following:
javax.naming.CommunicationException: simple bind failed: bluepages.ibm.com:636 [Root exception is javax.net.ssl.SSLHandshakeException: com.ibm.jsse2.util.h: No trusted certificate found]
Unexpected LDAP error occurred
Resolve question:
If you are experiencing problems connecting to bulepages.ibm.com websites from Websphere 6.1 only, and not from any other web servers like Tomcat, then this might be the solution to your problem. It took me three days to figure out, and I don't want others to go through the same pain that I did.
The error message from Paypal will have a code of -12 and message:Timeout waiting for response Exceeded Reconnect attempts, check context for error, Current reconnect attempt = 4
If you turn on log debugging for Payflow API , then the java Stack Trace will contain a cause that looks like this:
javax.net.ssl.SSLHandshakeException: com.ibm.jsse2.util.h: No trusted certificate found
at com.ibm.jsse2.n.a(n.java:37)
The solution is to add the signer certificates for the paypal test and live websites to your trust store in WebSphere 6.1.
Here are the steps:
Under the Websphere admin console, on the left menu, Select Security -> SSL certificate and key management.
In the right side main window, under Related Items section, choose "Key stores and certificates".
In the new window that pops up, you should see three links:
NodeDefaultKeyStore
NodeDefaultTrustStore
NodeLTPAKeys
Click on "NodeDefaultTrustStore".
In the "NodeDefaultTrustStore" window's "Configuration" tab, under the "Additional Properties" section, click on "Signer Certificates".
In the signer certificates window, you should see three entries:
-default
-dummyclientsigner
-dummyserversigner
You should also see four buttons - Add, Delete, Extract, Retrieve from port.
Select "Retrieve from port" if you don't already have the signer certificate from the paypal website.
In order to retrieve the signer certificate for the test paypal website, these are the values to type in:
Host: bluepages.ibm.com
Port: 636
Alias: bluepages, this can be anything you want, its just a
short name for the site.
Click the button "Retrieve signer information". This
will return the signer certificate info for the paypal test website.
Hit Apply.
You will be prompted to "Save" or "Retrieve". Click "Save" to save
the signer certificate for the pilot Payflow web service into the trust keystore.
This will return the signer certificate info.
If you would like to see snapshots of the Websphere admin console, please visit this link that shows how to solve the same problem for the Google website at http://www.hostmultiplesites.com/googlewebsphere.html
分享到:
相关推荐
在Java编程中,`javax.net.ssl.SSLHandshakeException` 是一个常见的错误,通常发生在进行安全套接层(SSL)或传输层安全(TLS)协议握手时出现问题。这个异常通常是由于客户端和服务器之间的证书不匹配、信任锚点...
访问带https请求忽略ssl证书,避免url.openStream报错javax.net.ssl.SSLHandshakeException url = new URL(imageUrl); if("https".equalsIgnoreCase(url.getProtocol())){ SslUtils.ignoreSsl(); } //不添加...
javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure的一个解决方案-附件资源
NULL 博文链接:https://xusaomaiss.iteye.com/blog/723167
解决webMagic0.7.3 出现javax.net.ssl.SSLException: Received fatal alert: protocol_version的问题-附件资源
然而,当你遇到“javax.net.ssl.SSLException: java.lang.RuntimeException: Could not generate DH keypair”的错误时,这意味着在建立SSL/TLS连接时,Diffie-Hellman(DH)密钥交换算法遇到了问题。DH是一种非对称...
加密是报:javax.net.ssl.SSLException: java.lang.RuntimeException: Could not generate DH keypair 此处提供 bcprov-ext-jdk15on-154.jar 和 bcprov-jdk15on-154.jar 压缩包中有使用说明
这一库主要提供了`javax.net.ssl`包,包括了SSL/TLS相关的各种类,如`SSLSocket`、`SSLServerSocket`、`SSLEngine`等,它们是构建安全网络连接的基础。`SSLSocket`用于创建客户端到服务器的安全连接,而`...
javax.net.ssl.SSLHandshakeException:Chain validation failed timestamp check failed Certificate expired at Wed Nov 20 20:00:00 GMT+08:00 2019 (compared to Mon N… 当你遇到了类似以上的报错,先来说结论:...
首先,`SSLHandshakeException`通常表示在SSL/TLS握手过程中出现了错误,这个过程包括客户端和服务器之间的一系列交互,用于身份验证、协商加密算法和建立共享密钥。在Android 5.0以下的系统中,可能存在的问题包括...
2. **Site**:配置爬虫的站点信息,如基础URL、编码格式、延迟时间等,帮助爬虫更好地遵循网站的Robots协议。 3. **PageProcessor**:处理下载下来的页面内容,解析HTML并提取所需的数据。开发者可以自定义处理器,...
MQTTv5版的客户端库,原地址:...本资源合入了解决低于android7.0报错Caused by: java.lang.ClassNotFoundException: Didn't find class "javax.net.ssl.SNIHostName"的问题。
解决 java.lang.RuntimeException: Could not generate DH keypair异常处理。 bcprov-ext-jdk15on-1.60、bcprov-jdk15on-1.60两个包放到jre下的$JAVA_HOME/jre/lib/ext的路径下,然后配置$JAVA_HOME/jre/lib/...
2. **使用异常处理**:在解析代码中加入异常处理,捕获并处理`RuntimeException`。这可以帮助你更好地理解问题的具体原因,例如通过打印堆栈跟踪信息。 3. **更新解析逻辑**:如果数据源确实包含意外的子元素,你...
javax.activation.UnsupportedDataTypeException: no object DCH for MIME type multipart/mixed; boundary="----=_Part_0_1760344884.1407394057461" 第一步:需要先grantq权限: EXEC dbms_java.grant_...
赠送jar包:javax.servlet-3.0.0.v201112011016.jar; 赠送原API文档:javax.servlet-3.0.0.v201112011016-javadoc.jar; 赠送源代码:javax.servlet-3.0.0.v201112011016-sources.jar; 赠送Maven依赖信息文件:...
在Java编程环境中,图片处理是一项常见的任务,但有时可能会遇到“javax.imageio.IIOException: Unsupported Image Type”的错误。这个异常通常表示Java的`ImageIO`类库无法识别或支持所尝试读取或写入的图像格式。...
import javax.net.ssl.SSLHandshakeException; public class CustomSSLSocketFactory { public static OkHttpClient getUnsafeOkHttpClient() { try { // 创建一个新的OkHttpClient.Builder实例 OkHttpClient....
赠送jar包:javax.servlet-3.0.0.v201112011016.jar; 赠送原API文档:javax.servlet-3.0.0.v201112011016-javadoc.jar; 赠送源代码:javax.servlet-3.0.0.v201112011016-sources.jar; 赠送Maven依赖信息文件:...