Skip to main content
This forum is closed to new posts and responses. The content has been migrated to the Digital Solutions Community. Please join us there for new content as well as this content. For customer support, please visit the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

Previous Next
Subject: SSLHandshakeException when sending HTTPS post in IBM Notes
Feedback Type: Problem
Product Area: Domino Server
Technical Area: Functionality
Platform: Windows
Release: 8.5.3
Reproducible: Always

I have a java agent in which I want to send my data over HTTPS. HTTP works. But HTTPS does not. I get this error:

javax.net.ssl.SSLHandshakeException: com.ibm.jsse2.util.j: No trusted certificate found
at com.ibm.jsse2.o.a(o.java:9)
at com.ibm.jsse2.SSLSocketImpl.a(SSLSocketImpl.java:340)
at com.ibm.jsse2.kb.a(kb.java:279)
at com.ibm.jsse2.kb.a(kb.java:221)
at com.ibm.jsse2.lb.a(lb.java:97)
at com.ibm.jsse2.lb.a(lb.java:102)
at com.ibm.jsse2.kb.t(kb.java:227)
at com.ibm.jsse2.kb.a(kb.java:425)
at com.ibm.jsse2.SSLSocketImpl.a(SSLSocketImpl.java:785)
at com.ibm.jsse2.SSLSocketImpl.h(SSLSocketImpl.java:675)
at com.ibm.jsse2.SSLSocketImpl.a(SSLSocketImpl.java:669)
at com.ibm.jsse2.SSLSocketImpl.startHandshake(SSLSocketImpl.java:95)
at com.ibm.net.ssl.www2.protocol.https.c.afterConnect(c.java:162)
at com.ibm.net.ssl.www2.protocol.https.d.connect(d.java:36)
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1044)
at com.ibm.net.ssl.www2.protocol.https.b.getOutputStream(b.java:53)
at JavaAgent.postOrder(Unknown Source)
at JavaAgent.NotesMain(Unknown Source)
at lotus.domino.AgentBase.runNotes(Unknown Source)
at lotus.domino.NotesThread.run(Unknown Source)
Caused by: com.ibm.jsse2.util.j: No trusted certificate found
at com.ibm.jsse2.util.i.a(i.java:76)
at com.ibm.jsse2.util.i.b(i.java:136)
at com.ibm.jsse2.util.g.a(g.java:12)
at com.ibm.jsse2.pc.a(pc.java:56)
at com.ibm.jsse2.pc.checkServerTrusted(pc.java:95)
at com.ibm.jsse2.pc.b(pc.java:84)
at com.ibm.jsse2.lb.a(lb.java:639)
The code for posting is this:

HttpsURLConnection conn = (HttpsURLConnection)url.openConnection();
conn.setRequestMethod("POST");
conn.setRequestProperty("Content-Type", "application/x-www-form-urlencoded");
conn.setRequestProperty("Content-Length", String.valueOf(postDataBytes.length));
conn.setDoOutput(true);
conn.getOutputStream().write(postDataBytes);

I took the certificates from the website (where I am sending my POST to) and installed these certificates(also with root) on the server > ikeyman.exe. Afterwards I rebooted the whole server but still I get the handshake error. How can this be?

Installed on the server is IBM Domino Designer 9.0 Social Edition

Release 9.0.1FP10


Feedback number WEBBB3ECJX created by ~Pippy Zekfanavitchflar on 08/07/2018

Status: Open
Comments:





Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS