How do i setup SSL to connect to a web service using iseries Web Service Client for ILE?
Posted on 2008-10-28
I'm trying to connect to a web service using the iSeries Web Service Client for ILE. I created the C stubs and was provided a self-signed SSL certificate for access to the remote web service. I used Digital Certificate Manager (DCM) to import the self-signed (Trusted) SSL certificate. It was imported as a certificate authority (CA) to the *SYSTEM certificate store. Now that i'm trying to use the certificate that has been imported to connect to the remote server, when i get to the code axiscStubIncludeSecure, axiscStubSetSecure(stub, "/QIBM/USERDATA/ICSS/CERT/SERVER/DEFAULT.KDB", "<password>", "<label>", "NONE", "05", "NONE", 0); axiscStubIncludeSecure(stub);
it fails.. with the following error:
AXIS EXCEPTION: (
HTTPTransportException: HTTPS transport error.
GSKit Error is 428 - No certificate is available for SSL processing.
Unable to determine why the imported self-signed certificate authority is not available to the program? Any insight would be greatly appreciated.