|
From: narcus s. <cmo...@ya...> - 2005-11-11 10:06:41
|
Hi again :) I'm still having problems with client auth in Hermes. If I use the keyEntry alias in my keystore (or comment out <ClientAuth>) I always get "javax.net.ssl.SSLHandshakeException: Received fatal alert: bad_certificate". (That's why I ended up even trying a trustedCertEntry and got the NullPointerException). Suggestions? Regards, Narcus --- narcus sucran <cmo...@ya...> wrote: > Never mind, my bad, I was trying to use a trusted > certificate instead of a certificate key as client > auth :/ Strange though that I didn't receive a > sensible error message... > > --- narcus sucran <cmo...@ya...> wrote: > > > Hello! > > > > I'm getting this error when trying to send a > message > > to a partner using HTTPS. Can you give me any > > insight > > as to what the problem might be? > > > > Here are the relevant lines from msh.log: > > ---- > > 2005-11-09 11:16:14,628 DEBUG [Thread-65]: => > > Http.send > > 2005-11-09 11:16:14,628 INFO [Thread-65]: Sending > > message to https://146.172.2.26:6717/ebXML > > 2005-11-09 11:16:14,628 DEBUG [Thread-65]: > > Connection > > class : class > > > com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnectionOldImpl > > 2005-11-09 11:16:14,628 DEBUG [Thread-65]: > Instance > > of > > HttpsURLConnection : true > > 2005-11-09 11:16:14,628 INFO [Thread-65]: > > Configuration to a HTTPS connection > > 2005-11-09 11:16:14,628 DEBUG [Thread-65]: use key > > manager for url : https://146.172.2.26:6717/ebXML > > 2005-11-09 11:16:14,708 ERROR [Thread-65]: [10505] > > Cannot send SOAP message > > Exception: javax.net.ssl.SSLException > > Message: java.lang.NullPointerException > > > > > > ------- > > > > > > I've turned on "javax.net.debug=all". Everythings > > seems fine until the end (from catalina.out): > > ---- > > *** ClientHello, TLSv1 > > ... > > Thread-63, WRITE: TLSv1 Handshake, length = 73 > > [write] MD5 and SHA1 hashes: len = 98 > > ... > > Thread-63, WRITE: SSLv2 client hello message, > length > > = > > 98 > > Thread-63, READ: TLSv1 Handshake, length = 1381 > > *** ServerHello, TLSv1 > > ... > > %% Created: [Session-1, SSL_RSA_WITH_RC4_128_MD5] > > ** SSL_RSA_WITH_RC4_128_MD5 > > [read] MD5 and SHA1 hashes: len = 58 > > ... > > *** CertificateRequest > > Cert Types: RSA, DSS, > > Cert Authorities: > > [read] MD5 and SHA1 hashes: len = 9 > > 0000: 0D 00 00 05 02 01 02 00 00 > > > > > ......... > > *** ServerHelloDone > > [read] MD5 and SHA1 hashes: len = 4 > > 0000: 0E 00 00 00 > > > > > .... > > Thread-63, handling exception: > > java.lang.NullPointerException > > Thread-63, SEND TLSv1 ALERT: fatal, description = > > internal_error > > Thread-63, WRITE: TLSv1 Alert, length = 2 > > Thread-63, called closeSocket() > > Thread-63, called close() > > ----- > > > > Any ideas? > > > > Regards, > > Narcus > > > > > > > > > > > > > > __________________________________ > > Yahoo! FareChase: Search multiple travel sites in > > one > > click. > > http://farechase.yahoo.com > > > > > > > > __________________________________ > > Yahoo! FareChase: Search multiple travel sites in > > one click. > > http://farechase.yahoo.com > > > > > > > ------------------------------------------------------- > > SF.Net email is sponsored by: > > Tame your development challenges with Apache's > > Geronimo App Server. Download > > it for free - -and be entered to win a 42" plasma > tv > > or your very own > > Sony(tm)PSP. Click here to play: > > http://sourceforge.net/geronimo.php > > _______________________________________________ > > ebxmlms-general mailing list > > ebx...@li... > > > https://lists.sourceforge.net/lists/listinfo/ebxmlms-general > > > > > > > __________________________________ > Yahoo! FareChase: Search multiple travel sites in > one > click. > http://farechase.yahoo.com > > > > > __________________________________ > Yahoo! Mail - PC Magazine Editors' Choice 2005 > http://mail.yahoo.com > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's > Geronimo App Server. Download > it for free - -and be entered to win a 42" plasma tv > or your very own > Sony(tm)PSP. Click here to play: > http://sourceforge.net/geronimo.php > _______________________________________________ > ebxmlms-general mailing list > ebx...@li... > https://lists.sourceforge.net/lists/listinfo/ebxmlms-general > __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com __________________________________ Yahoo! FareChase: Search multiple travel sites in one click. http://farechase.yahoo.com |