Re: SSL : setting up truststore (and keystore?)

2009-06-24 Thread asheikh
Thanks Dennis, I will try your suggestion and links On Wed, Jun 24, 2009 at 11:08 AM, Dennis Sosnoski wrote: > I understand you're not opening the connection directly, but having it > opened for you by the Axis2-generated stub, and admittedly my code doesn't > help much directly in that situati

Re: SSL : setting up truststore (and keystore?)

2009-06-24 Thread Dennis Sosnoski
I understand you're not opening the connection directly, but having it opened for you by the Axis2-generated stub, and admittedly my code doesn't help much directly in that situation. I'm not sure offhand how to make the server certificate authentication work in that situation, but I believe A

Re: SSL : setting up truststore (and keystore?)

2009-06-24 Thread asheikh
Dennis, Thanks for the code and suggestions. "The app server should have some way of configuring SSL support, and even though that configuration is going to be intended more for inbound connections it might also have settings for outbound connections." yes, I have configures the application serve

Re: SSL : setting up truststore (and keystore?)

2009-06-24 Thread Dennis Sosnoski
I'm surprised this works at all in an app server environment. The app server should have some way of configuring SSL support, and even though that configuration is going to be intended more for inbound connections it might also have settings for outbound connections. Aside from that, you can t

Re: SSL : setting up truststore (and keystore?)

2009-06-23 Thread asheikh
Hi, I have a strange problem with using SSL server. I have a war application which has a jar that connects to a SSL web service. System.setProperty("javax.net.ssl.keyStore", url.getPath()); System.setProperty("jjavax.net.ssl.keyStoreType", "jks"); System.setProperty("javax.net.ssl

Re: SSL : setting up truststore (and keystore?)

2009-06-23 Thread Dennis Sosnoski
Hi Shasta, I've never had any problems setting the client truststore using the javax.net.ssl.truststore property, so I suspect something is wrong with your actual truststore/keystore files. You might want to check what's actually in the stores using a tool such as http://portecle.sourceforge.n

Re: SSL : setting up truststore (and keystore?)

2009-06-23 Thread Shasta Willson
Thought I'd reply to my own message with some information that might be useful: despite using keytool (http://java.sun.com/j2se/1.5.0/docs/tooldocs/solaris/keytool.html) to install the certificate, and various combinations of these properties to theoretically point to it (where keyStore and trustS

SSL : setting up truststore (and keystore?)

2009-06-23 Thread Shasta Willson
I have an SSL secured web service to consume. It also uses a usertoken/password in the SOAP header, which I'm doing with Rampart, but I don't think that's relevant to my question. I'd like to understand how to go from "have a certificate" to trustStore (and/or KeyStore?) properly configured. Cur