javax.net.ssl.SSLHandshakeException: com.ibm.jsse2.util.h: No trusted certificat

[b]an error occur when i log in my system through Ldap validate password on websphere 6.1.0.29.the error as following:[/b]
javax.naming.CommunicationException: simple bind failed: bluepages.ibm.com:636
Unexpected LDAP error occurred

[b]Resolve question:[/b]
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:
[b]Host: bluepages.ibm.com
Port: 636
Alias: bluepages, this can be anything you want, its just a
short name for the site. [/b]
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
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值