Hi,
I already posted this problem in an ibm forum, but they haven't an answer
yet....
I have an implementation with HttpClient to make a https connection.
When I use this with the JVM (in a junit test) from RSA (Rational Software
Architect), all works fine. If I call the same within websphere I get this
exception:
javax.net.ssl.SSLHandshakeException: com.ibm.jsse2.util.h: No trusted
certificate found
at com.ibm.jsse2.n.a(n.java:15)
at com.ibm.jsse2.jc.a(jc.java:171)
at com.ibm.jsse2.db.a(db.java:129)
at com.ibm.jsse2.db.a(db.java:333)
at com.ibm.jsse2.eb.a(eb.java:145)
at com.ibm.jsse2.eb.a(eb.java:274)
at com.ibm.jsse2.db.m(db.java:330)
at com.ibm.jsse2.db.a(db.java:149)
at com.ibm.jsse2.jc.a(jc.java:450)
at com.ibm.jsse2.jc.g(jc.java:115)
at com.ibm.jsse2.jc.a(jc.java:187)
at com.ibm.jsse2.j.write(j.java:8)
at
java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:88)
at java.io.BufferedOutputStream.write(BufferedOutputStream.java:127)
at java.io.FilterOutputStream.write(FilterOutputStream.java:97)
at
org.apache.commons.httpclient.methods.ByteArrayRequestEntity.writeRequest(ByteArrayRequestEntity.java:90)
So I assume that the RSA JVM somehow can find the certificate, the websphere
not. But I checked the cacert files, they are both identical.
Is there a way to tell HTTPClient which keystore it should use. So I can
create an own keystore, which I provide to HTTPClient?
Thanks in advance ...
/Marc
--
View this message in context:
http://www.nabble.com/Problem-using-HTTPClient-with-SSL-in-Websphere-tp19291299p19291299.html
Sent from the HttpClient-User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]