Responding to my own question.....
Instead of using the HTTPSender class, I wrote my own custom http handler which gets a socket from a factory that has been initialised with the custom trust manager. This handler is specified in the client-config.wsdd file and used by the axis client.
| Prashant Khandelwal <[EMAIL PROTECTED]>
08/25/2004 10:19 AM
|
|
Hi,
I would like to setup the SSLContext on the client side to use a custom trust manager since my server is using self signed certificates. For testing purposes, I set the following system property to bypass the unknown certificate issue:
-Dorg.apache.components.net.SecureSocketFactory=org.apache.axis.components.net.SunFakeTrustSocketFactory
However, I would like to programmatically setup the SSL subsystem on the client side to use the factory that uses the custom trust manager.
I haven't been able to find anything in the docs or this mailing list. Any help would be appreciated.
Thanks,
Prashant.
