Using SSL to encrypt data between IBM Toolbox for Java and OS/400 servers

You can use SSL to encrypt data exchanged between IBM Toolbox for Java classes and OS/400 servers. On the client side, you use the files that come with the IBM iSeries Client Encryption licensed program (5722-CE2 or 5722-CE3) to encrypt the data. On the server side, you must use the OS/400 digital certificate manager to configure the OS/400 servers to exchange encrypted data.

Setting up your client and server to use SSL

To encrypt data flowing between the IBM Toolbox for Java classes and OS/400 servers, complete the following tasks:

  1. Set up your servers to exchange encrypted data.
  2. Set up the client (the IBM Toolbox for Java classes) to exchange encrypted data. The procedure for this step depends on the kind of certificate you used when setting up SSL on your server:
  3. Use the SecureAS400 object to force IBM Toolbox for Java to encrypt data.

    Note: Completing the first two steps above only creates a secure path between the client and the server. Your application must use the SecureAS400 object to tell the IBM Toolbox for Java which data to encrypt. Data that flows through the SecureAS400 object is the only data that is encrypted. If you use an AS400 object, data is not encrypted and the normal path to the server is used.