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.

NoteFor more information about security, including issuing certificates, see Chapter 14, “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.

Chapter 15, “Creating CORBA C++ Clients,” 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.