Hey, some update, I read somewhere I should use port number 443 for SSL connection. I changed it and the exception turned into a standard SSLException:
SSLException invoking https://localhost:443/hello: Unrecognized SSL message, plaintext connection? Look here for complete stacktrace: http://nopaste.info/747199f4d6.html Cheers, Thomas On 5/12/2012 11:49 AM, Thomas Pischulski wrote: > 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.
