soap client, accept ssl certificates?

Matt Tucker <[email protected]>
Newsgroups gmane.text.xml.soap.user
Message-ID <[email protected]>
Hi,

I apologize if this question is uninformed. I am very new to SOAP.

i'm writing a client to connect to a vendor-provided server via soap.
communication is over https and the server has a self-signed
certificate. when i try to connect to the server, i get the following
error:

Exception in thread "main" [SOAPException: faultCode=SOAP-ENV:Client;
msg=Error opening socket: javax.net.ssl.SSLHandshakeException:
sun.security.validator.ValidatorException: No trusted certificate
found; targetException=java.lang.IllegalArgumentException: Error
opening socket: javax.net.ssl.SSLHandshakeException:
sun.security.validator.ValidatorException: No trusted certificate found]

at
org.apache.soap.transport.http.SOAPHTTPConnection.send(SOAPHTTPConnection.java:354)

at org.apache.soap.rpc.Call.invoke(Call.java:248)

at samples.stockquote.GetQuote.main(GetQuote.java:106)

I have no way of getting the certificate to add to my client-side
certs. is there a way to get my client to obtain the certificate from
the server or to always trust the server? thanks, any help is
appreciated.

--
Matt Tucker
thoughtbot

cell: 617 775 0742
office: 617 876 4780
www.thoughtbot.com
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.