Chapter 6 Using SSL in C++ Clients


Introduction

A C++ client can use IIOP tunnelled within SSL (also called IIOPS) to establish a secure session with EAServer.

Note   For more information about security, including issuing certificates, see Chapter 12, "Managing Keys and Certificates"

To establish a secure session with EAServer, follow these steps:

Step What it does Detailed explanation
1 Initialize the SSL security service as an ORB. "Initializing the SSL security service"
2 Initialize the client ORB and create an ORB reference. "ORB properties for secure sessions"
3 Use the ORB reference to create a Manager instance for the server. "ORB properties for secure sessions"
4 Use the Session instance to create stub component instances. This step is the same regardless of whether the application uses SSL. "Creating sessions" and "Creating stub instances" in the EAServer Programmer's Guide
5 Optionally, you can retrieve security information about the session. "Retrieving session security information"

An example that illustrates all of these steps is in the sample/ClientSSL subdirectory of your EAServer installation.

 


Copyright © 2002 Sybase, Inc. All rights reserved.