OpenJMS and SSL

be_tnt <decoker-b/[email protected]> Wed, 13 Jun 2007 04:56:13 -0700 (PDT)
Newsgroups gmane.comp.java.openjms.user
Message-ID <[email protected]>
Hello,

I have configured SSL for OpenJMS as decribed here: 
http://openjms.sourceforge.net/config/tcps.html#Creating%20OpenJMS%20client%20certificate%20keystores
http://openjms.sourceforge.net/config/tcps.html#Creating%20OpenJMS%20client%20certificate%20keystores 

When I launch the OpenJMS administrator tool (admin.bat file), I am able to
start OpenJMS but not to connect. I got the following error in OpenJMS log
file:

13:53:07.485 DEBUG [tcps://192.168.1.3:3035/[acceptor]] - Failed to
initialise c
onnection, destroying
org.exolab.jms.net.connector.ConnectException:
javax.net.ssl.SSLHandshakeException: Received fatal alert:
certificate_unknown
        at
com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:150)
        at
com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:117)

...
Caused by: sun.security.validator.ValidatorException: PKIX path building
failed: sun.security.provider.certpath.SunCertPathBuilderException: unable
to find valid certification path to requested target
	at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:221)
	at
sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:145)
	at sun.security.validator.Validator.validate(Validator.java:203)

Caused by: sun.security.provider.certpath.SunCertPathBuilderException:
unable to find valid certification path to requested target
	at
sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:236)
	at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:194)
	at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:216)

What did I miss?

Thx in advance.
-- 
View this message in context: http://www.nabble.com/OpenJMS-and-SSL-tf3914152.html#a11097751
Sent from the OpenJMS - User mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/