Begin changeUsing SSL to encrypt data between AS/400 Toolbox for Java and OS/400 servers

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

Setting up your client and server to use SSL

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

  1. Set up OS/400 to exchange encrypted data.
  2. Set up the client (the AS/400 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 AS/400 Toolbox for Java to encrypt data.

    Note: Completing the first two steps above only creates a secure path between the client and the server. The application must use the SecureAS400 object to tell the AS/400 Toolbox for Java which data to flow data across the secure path. If you use an AS400 object, data is not be encrypted and the normal path to the server is used.End change