IBM Support

No Trusted Certificate Found

Troubleshooting


Problem

Partner A sending message to Partner B via https post destination. Partner B CA issued certificate is loaded in partner profile. Partner B root and intermediate certificates are loaded in Hub Operator profile. Pressing "Validate" button results in "certificate valid" all up the chain. Certificates display ok when viewing connection info. These same certificates have been added to trust store in WebSphere® Application Server. Posting messages to Partner B results in "no trusted certificate found" error. [3/2/10 19:47:15:380 UTC] 0000004c SSLPoster E com.ibm.bcg.server. http.SSLPoster postRequest com.ibm.bcg.util.BcgException: Creation failed javax.net.ssl.SSLHandshakeException: com.ibm.jsse2.util.h: No trusted certificate found at com.ibm.bcg.server.util.SocketUtils.getJSSESSLSocket(SocketUtils.java:970) at com.ibm.bcg.server.util.SocketUtils.buildSSLSocket(SocketUtils.java: 712) at com.ibm.bcg.server.util.SocketUtils.getSecureSocket(SocketUtils.java:297) at com.ibm.bcg.server.http.SSLPoster.postRequest(SSLPoster.java:244) at com.ibm.bcg.server.http.SSLPoster.postRequest(SSLPoster.java:184) at com.ibm.bcg.server.http.SSLPoster.postRequest(SSLPoster.java:174) at com.ibm.bcg.server.http.MsgPoster.run(MsgPoster.java:200) at com.ibm.bcg.delivery.HttpSender.sendMessage(HttpSender.java:668) at com.ibm.bcg.delivery.HttpSender.send(HttpSender.java:192) at com.ibm.bcg.delivery.SenderFramework.invokeSender(SenderFramework.java:1261) at com.ibm.bcg.delivery.SenderFramework.send(SenderFramework.java:506) at com.ibm.bcg.delivery.DeliveryWorker.doWork(DeliveryWorker.java:162) at com.ibm.bcg.util.threadPool.Worker.run(Worker.java:179) at java.lang.Thread.run(Thread.java:797) [3/2/10 19:47:15:382 UTC] 0000004c SSLPoster E com.ibm.bcg.server. http.SSLPoster postRequest Creation failed javax.net.ssl. SSLHandshakeException: com.ibm.jsse2.util.h: No trusted certificate found [3/2/10 19:47:15:383 UTC] 0000004c SenderFramewo E com.ibm.bcg.delivery. SenderFramework logFirstAttemptFailEvent First attempt failed: reason: com.ibm.bcg.util.BcgException : Creation failed javax.net.ssl. SSLHandshakeException: com.ibm.jsse2.util.h: No trusted certificate found [3/2/10 19:47:15:467 UTC] 0000004c SenderFramewo E com.ibm.bcg.delivery. SenderFramework send First attempt failed: reason: com.ibm.bcg.util. BcgException : Creation failed javax.net.ssl.SSLHandshakeException: com. ibm.jsse2.util.h: No trusted certificate found

Cause

One possible cause is that the complete CA certificate chain may have not been loaded under HubOperator

Environment


Resolving The Problem

Verify that you have loaded the complete CA certificate chain including leaf certificate under Hub Operator as root/intermediate. For more information on how to extract the certificates, please refer to the following URL: http://www-01.ibm.com/support/docview.wss?uid=swg21266207. Once you have extracted the complete chain into separate certificates then load each one individually under HubOperator -> Certificates -> Load Certificate as root/intermediate.

[{"Product":{"code":"SSDKKW","label":"WebSphere Partner Gateway Advanced Edition"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"--","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"6.2.1.0;6.2.1;6.2.0.5;6.2.0.4;6.2.0.3;6.2.0.2;6.2.0.1;6.2;6.1.1.2;6.1.1.1;6.1.1;6.1.0.3;6.1.0.2;6.1.0.1;6.1;6.0.0.7;6.0.0.6;6.0.0.5;6.0.0.4;6.0.0.3;6.0.0.2;6.0.0.1;6.0.0;6.0;6.2.1.2;6.2.1.3","Edition":"Advanced;Enterprise","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
16 June 2018

UID

swg21424521