For my application though i can't be messing around with certs as it
will be a pain to deploy in the field, which is why i need to simply
tell axis to trust all certs.
After spending all day yesterday looking I came across
AxisProperties.setProperty("axis.socketSecureFactory","org.apache.axis.components.net.SunFakeTrustSocketFactory");
which seems like it should do what i want. It doesn't seem to be
working with axis2 1.1.1 though. Some more looking and apparently
this is only for axis1?
I then found the following post
http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=51&t=004513
which says that you can use the not-yet-commons-ssl-0.3.7.jar and a
class called EasySSLProtocolSocketFactory. I'm just about to try to
get this to work, but after reading the various warnings on
http://juliusdavies.ca/commons-ssl/ about how its only alpha, etc, i'm
wondering if it can be trusted? Is there another, better solution to
this problem for axis2 1.1.1?
Thanks,
Jon
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]