axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shasta Willson <>
Subject Re: SSL : setting up truststore (and keystore?)
Date Wed, 24 Jun 2009 02:15:59 GMT
Thought I'd reply to my own message with some information that might be useful:

despite using keytool
( to
install the certificate, and various combinations of these properties
to theoretically point to it (where keyStore and trustStorePass are
paths to generated files):

           System.setProperty("", keyPass);
           System.setProperty("", trustStore);

I never did get it to work that way.  (I eventually built an that JUST connected so I could eliminate other
configuration issues, but even in that simplified context I couldn't
get it working.)

What finally worked for me (for the SSLTest program) was to put the
certificate into the normal java location and over-write cacerts.  I
could do that since noone else is using Java on this server and this
is the first time I've needed to place a certificate.  i.e. I wasn't
going to break something else in the process.

I found this very useful tool during my research :

I could have avoided three days waiting for the service-owner to send
a certificate, had I known about it.

Hope that helps someone else save time.

- Shasta

On Tue, Jun 23, 2009 at 8:34 AM, Shasta Willson<> wrote:
> 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.  Currently I get
> this error, which a google search suggests is related to not having it
> set up right:
> org.apache.axis2.AxisFault: Unconnected sockets not implemented
>        at org.apache.axis2.AxisFault.makeFault(
> Thank you,
> - Shasta

View raw message