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.
To encrypt data flowing between the AS/400 Toolbox for Java classes and OS/400 servers, complete the following tasks:
Note: Setting up your client by using a certificate from a trusted authority is significantly easier and faster than using a self-signed certificate.
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.