users@glassfish.java.net

Re: IIOP and SSL

From: <glassfish_at_javadesktop.org>
Date: Mon, 10 Mar 2008 05:03:08 PST

The settings in your EJB look fine. The client looks fine too.

Just to make sure, you registered your certificate with the keystore/truststore file, and that is the file your are pointing at with the system properties, right? (from your message I got the impression you are specifying the path to the certificate itself).

And also you registered your certificate with the keystore/truststore that your server uses (or made it point to the same keystore/truststore file), right?

I am not familiar with the output of the javax.net.debug option, but before the CORBA error I noticed the following messages:

[#|2008-03-10T12:31:47.484+0100|INFO|sun-appserver9.1|javax.enterprise.system.stream.out|_ThreadID=16;_ThreadName=p: thread-pool-1; w: 7;|, RECV TLSv1 ALERT: |#]

[#|2008-03-10T12:31:47.484+0100|INFO|sun-appserver9.1|javax.enterprise.system.stream.out|_ThreadID=16;_ThreadName=p: thread-pool-1; w: 7;|fatal, |#]

[#|2008-03-10T12:31:47.484+0100|INFO|sun-appserver9.1|javax.enterprise.system.stream.out|_ThreadID=16;_ThreadName=p: thread-pool-1; w: 7;|internal_error|#]

[#|2008-03-10T12:31:47.484+0100|INFO|sun-appserver9.1|javax.enterprise.system.stream.out|_ThreadID=16;_ThreadName=p: thread-pool-1; w: 7;|
p: thread-pool-1; w: 7, called closeSocket()|#]

[#|2008-03-10T12:31:47.484+0100|INFO|sun-appserver9.1|javax.enterprise.system.stream.out|_ThreadID=16;_ThreadName=p: thread-pool-1; w: 7;|
p: thread-pool-1; w: 7, handling exception: javax.net.ssl.SSLException: Received fatal alert: internal_error|#]

Which made me suspect your certificate.
[Message sent by forum member 'dkoper' (dkoper)]

http://forums.java.net/jive/thread.jspa?messageID=263161