Return-Path: Mailing-List: contact axis-user-help@xml.apache.org; run by ezmlm Delivered-To: mailing list axis-user@xml.apache.org Received: (qmail 43639 invoked from network); 12 Jul 2002 07:36:26 -0000 Received: from mgw-x2.nokia.com (131.228.20.22) by daedalus.apache.org with SMTP; 12 Jul 2002 07:36:26 -0000 Received: from esvir04nok.ntc.nokia.com (esvir04nokt.ntc.nokia.com [172.21.143.36]) by mgw-x2.nokia.com (Switch-2.2.1/Switch-2.2.0) with ESMTP id g6C7b5i29269 for ; Fri, 12 Jul 2002 10:37:05 +0300 (EET DST) Received: from esebh003.NOE.Nokia.com (unverified) by esvir04nok.ntc.nokia.com (Content Technologies SMTPRS 4.2.5) with ESMTP id for ; Fri, 12 Jul 2002 10:36:33 +0300 Received: from esebe011.NOE.Nokia.com ([172.21.138.50]) by esebh003.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.4905); Fri, 12 Jul 2002 10:36:32 +0300 Received: from buebe002.NOE.Nokia.com ([10.211.0.51]) by esebe011.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.4905); Fri, 12 Jul 2002 10:36:32 +0300 X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: Can't find Trusted Cert. Date: Fri, 12 Jul 2002 09:36:32 +0200 Message-ID: <21B200DF0688CC45ACF38F49D2279832296FDE@buebe002.NOE.Nokia.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Can't find Trusted Cert. Thread-Index: AcIpIFRYqV5pFj9JSqOFrVtA3XT6xgAVpPWw From: To: X-OriginalArrivalTime: 12 Jul 2002 07:36:32.0643 (UTC) FILETIME=[D7FE1D30:01C22976] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Status: O X-Status: X-Keywords: X-UID: 329 Hi, Try running your client and server with SSL debug ON.=20 (java -Djavax.net.debug=3Dssl ...) This way you can see what's really happening. You can find out whether the system finds your trusstore = file. Or maybe the problem is exactly what the exception says: there is no proper certificate in your truststore. In this case you should import one into your truststore. Or the other side is sending the wrong certificate ? Good luck, Geza > -----Original Message----- > From: ext Cohan, Sean [mailto:SCohan@goSPS.com] > Sent: 11. July 2002 23:21 > To: 'axis-user@xml.apache.org' > Subject: RE: Can't find Trusted Cert. >=20 >=20 > Perhaps a little more info should have been provided on my=20 > part. Here is my > relevant client code: >=20 > // Set the protocol for handling SSL based connecting > System.setProperty("java.protocol.handler.pkgs", > "com.sun.net.ssl.internal.www.protocol"); > // Add the provider implementation class for handling SSL > connections > java.security.Security.addProvider(new=20 > com.sun.net.ssl.internal.ssl.Provider()); > // Set the truststore for authentication > System.setProperty("javax.net.ssl.truststore", > "gov.doc.bis.snap.clienttruststore"); > System.setProperty("javax.net.ssl.trustStorePassword",=20 > "changeit"); >=20 > And here is a little more of the error: >=20 > C:\bis-axis\gov\doc\bis\snap>java gov.doc.bis.snap.SSLMain >=20 >=20 > Testing getting SnapworkItem with key parameter. > >> Querying SnapWorkItemApi for '1' > - Mapping Exception to AxisFault > AxisFault > faultCode: {http://xml.apache.org/axis/}Server.userException > faultString: javax.net.ssl.SSLHandshakeException: Couldn't=20 > find trusted > certificate > faultActor: null > faultDetail: > stackTrace: javax.net.ssl.SSLHandshakeException: Couldn't find > trusted certificate > at com.sun.net.ssl.internal.ssl.SSLSocketImpl.b(DashoA6275) > at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275) > at=20 > com.sun.net.ssl.internal.ssl.ClientHandshaker.a(DashoA6275)=20 > . > . > . >=20 > What should I do? Thanks. >=20 >=20 > -----Original Message----- > From: Cohan, Sean [mailto:SCohan@goSPS.com] > Sent: Thursday, July 11, 2002 4:25 PM > To: axis-user@xml.apache.org > Subject: Can't find Trusted Cert. >=20 >=20 > What's happening if I get this message when running my client and more > importantly, how do I go about correcting it? >=20 > SSLHandshakeException: Couldn't find trusted certificate >=20 > I've checked that the clienttrustedstore is in my classpath=20 > and restarted > tomcat. >=20 > I'm almost there, I can feel it. >=20 > Thanks. >=20 >=20 > Sean Cohan > Software Performance Systems >=20