How change/reinitialize the SSLContext in Axis2

"Fernando Cesar da Silva" <[email protected]>
Newsgroups gmane.text.xml.axis.user
Message-ID <!&!AAAAAAAAAAAYAAAAAAAAAAZgfdDABIVEjhAhDyW18d3igAAAEAAAAAlsQD+uW/[email protected]>
Hi,

 

Until today, I had to reach a lot of Web Services, everyone with the same
Key Certificate and Trust Certificate to do the SSL Handshake.

 

To achieve this I only set the JSSE System Properties
(javax.net.ssl.keyStore, javax.net.ssl.keyStorePassword,
javax.net.ssl.trustStore, etc.) during the application initialization and
everything works fine.

 

Now I have to reach one Web Service more, but with a different Key
Certificate.

 

How can I change/reinitialize the SSLContext through Axis2 to achieve this?

 

 

diagram of classes used to create SSLSockets/SSLEngines

 

 

Regards,

 

Fernando Cesar
image001.jpg (image/jpeg, 105 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.