Hi all
Currently, my Axis client invokes a secure webservice by setting the
according system properties like:
javax.net.ssl.trustStore
javax.net.ssl.trustStorePassword
I'm wondering whether it is supported to initialize the
javax.net.ssl.TrustManager and javax.net.ssl.KeyManager and set the
SSLContext:
SSLContext sslcontext = SSLContext.getInstance("SSL");
sslcontext.init(km, tm, securerandom );
And somehow, I have to set the SocketFactory
HttpsURLConnection huc = ....
huc.setSSLSocketFactory(sslcontext.getSocketFactory());
How can I achieve this?
Thank you for your help!
Regards
Oliver
******************* BITTE BEACHTEN *******************
Diese Nachricht (wie auch allf�llige Anh�nge dazu) beinhaltet
m�glicherweise vertrauliche oder gesetzlich gesch�tzte Daten oder
Informationen. Zum Empfang derselben ist (sind) ausschliesslich die
genannte(n) Person(en) bestimmt. Falls Sie diese Nachricht
irrt�mlicherweise erreicht hat, sind Sie h�flich gebeten, diese unter
Ausschluss jeder Reproduktion zu zerst�ren und die absendende Person
umgehend zu benachrichtigen. Vielen Dank f�r Ihre Hilfe.