Ok,

I just installed a thawte digitally signed cert on the SOAP server
(https://www.thawte.com/cgi/server/test.exe).
I downloaded the Root CA cert (https://www.thawte.com/servertest.crt)
and stored it as "servertest.crt" on the machine on which the SOAP
client resides.
Now, when running the SOAP-Client, I get that exception:

java.lang.reflect.InvocationTargetException: java.net.SocketException:
SSL implementation not available
        at
javax.net.ssl.DefaultSSLSocketFactory.createSocket([DashoPro-V1.2-120198])
        at
org.apache.soap.util.net.SSLUtils.buildSSLSocket(SSLUtils.java:85)
        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(SOAPHTTPConnection.java:208)
        at org.apache.soap.rpc.Call.invoke(Call.java:203)
        at SOAPTest.getXmlDirektsuche(SOAPTest.java:82)
        at SOAPTest.main(SOAPTest.java:38)

I have in my classpath:
CLASSPATH=.;D:\System\libs\xerces.jar;D:\System\libs\activation.jar;D:\System\libs\mail.jar;D:\System\libs\soap.jar;D:\System\libs\jsse.jar;D:\System\libs\jnet.jar;D:\System\libs\jcert.jar

BTW: I can access the soap server (with http) directly (intranet), but
the internet only via proxy. - Is that a problem?


--------------------------------------------------
"Adam.Leggett" schrieb:
> 
> You need to trust the server certificate or the handshake will fail.
> 
> If the servers cert is self-signed you will need to give the client access
> to it via its keystore so it can trust it.
> If the server is using a versign/thawte/your_own_dummy_CA digitally signed
> cert then the client needs the Root CA cert in its trustore.

Reply via email to