I am trying to implement a web service client using SSL, following Bryan Hogan's old instructions at
http://groups.yahoo.com/group/vastws/message/326.
However, his email only addressed a server implementation
According to the readme, I will also have to implement something like:
config := SciSslSocketConfiguration new
sslVersion: SciSslConstants::SSLv3;
verify: SSL_VERIFY_PEER | SSL_VERIFY_FAIL_IF_NO_PEER_CERT;
verifyDepth: 1;
caFile: 'certs/vast_ca.pem';
yourself.
1. Where do I tell a given web services client to use the a SSL client certificate?
2. Our application also currently implements a http servlet using SSL;
we registered the server certificates in the 'https' SstTransport configuration.
The web services client will use a different certificate. I believe by default web services also uses the 'https' transport
when the WSDL identifies https in the <soap:address location.
How do I prevent this conflict? I am assuming the solution might be to create a new transport configuration,
if so how do I configure a given web service to use the new transport configuration.
3. And finally, the web services code is very difficult to debug or step through. For the above questions I would normally
put in some breakpoints and step through the code to answer my questions. That does not work with the web services code.
Is there a magic setting somewhere that would permit easier debugging? Or any other tips?
Thanks
Dave