Hey everyone,

I tried to rebuild the SSL implementation from this article:
http://aruld.info/programming-ssl-for-jetty-based-cxf-services/ and I can't
get it to work properly.

When executing the server, no exceptions occur. However, when invoking the
client, I get the following exceptions:  http://nopaste.info/d0baf8bf76.html
Stacktrace 

I didn't change too much of the original code in the article, just some
small changes for loading the keystores via OSGi:

URL url = bc.getBundle().getEntry("keystores/truststore.jks");
if(url != null) {
   InputStream input = url.openStream();
   try {
           keyStore.load(input, trustpass.toCharArray());
   } finally {
           input.close();
   }
}

I'm using the three jks-files located in
http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/wsdl_first_https/certs/
(truststore.jks, wibble.jks and cherry.jks) for testing.

Any help appreciated.

Cheers,

Thomas

--
View this message in context: 
http://cxf.547215.n5.nabble.com/CXF-using-SSL-Remote-host-closed-connection-during-handshake-tp5706901.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to