You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@xml.apache.org by Olof Oberg <mi...@pedgr571.sn.umu.se> on 2001/04/04 01:53:12 UTC
Re: SOAP 2.1 and SSL/Authentication
Hi (again),
I have followed Yuhichi's instructions about getting SSL to work
to no avail.
java -cp <long classpath>
-Djava.protocol.handler.pkgs=com.sun.net.ssl.internal.www.protocol
-Djavax.net.ssl.trustStore=client.keystore samples.addressbook.GetAddress
https://localhost:8443/soap/servlet/rpcrouter John
java.lang.reflect.InvocationTargetException: java.security.ProviderException
at javax.net.ssl.SSLSocketFactory.getDefault(SSLSocketFactory.java:104)
at org.apache.soap.util.net.SSLUtils.buildSSLSocket(SSLUtils.java:83)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.soap.util.net.HTTPUtils.buildSocket(HTTPUtils.java:117)
at org.apache.soap.util.net.HTTPUtils.post(HTTPUtils.java:165)
at org.apache.soap.transport.http.SOAPHTTPConnection.send(SOAPHTTPConne
ction.java:208)
at org.apache.soap.rpc.Call.invoke(Call.java:203)
at samples.addressbook.GetAddress.main(GetAddress.java:129)
Caught SOAPException (SOAP-ENV:Client): Error opening socket: null
This is also the same error I get when trying to get SSL working in
my own code.
Any ideas?
/mill
--
#############################################################
# S-mail: Olof Oberg # mill@pedgr571.sn.umu.se #
# Pedagoggr. 7A # mill@ludd.luth.se #
# S-907 30 Umea # tdv94oog@cs.umu.se #
# Phone: 090-197395 # http://pedgr571.sn.umu.se/~mill #
#############################################################
---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org