This chapter explains how to use Secure Sockets Layer (SSL) to set up security for web service client applications.
The Global Security Kit product, and the use of secure channels are not available by default with Web Services Client for C++. If you want to use SSL, you must first obtain a copy of GSKit. An HTTP SSL channel library is shipped with Web Services Client for C++, but this cannot be used unless the GSKit libraries are available.
You can secure your HTTP messages by using SSL, which encrypts the request and response messages before they are transmitted over the wire.
Any web service that uses SSL adds the suffix ‘s’ for secure to the http name in the URL. For example:
http://some.url.com becomes https://some.url.com
A secure endpoint URL is an endpoint beginning with ‘https'. To allow secure endpoint URLs to be used, you must initialize GSKit with user-defined security information to be passed to the AxisClient. You can do this either by adding the required information to the axiscpp.conf file, or by configuring the settings for secure service within your web service client application.
To set up security using SSL, complete either of the following steps: