Client connection fails when using ESM keyring

Unable to connect to the Gateway daemon or CICS over SSL when using an ESM keystore.

Symptom

When attempting to open a remote mode SSL connection to a Gateway daemon, a Java exception occurs and a message similar to the following is generated:

CTG6651E Unable to connect to the Gateway daemon: [address = server.ibm.com, port = 6010] [java.io.IOException: R_datalib (IRRSDL00) error: profile for ring not found (8, 8, 84)]

When attempting to open a local mode IPIC connection to CICS using SSL, a Java exception occurs and a message similar to the following is generated:

java.io.IOException: R_datalib (IRRSDL00) error: profile for ring not found (8, 8, 84)

Probable cause

The ESM keystore that the application is attempting to use is not owned by the user ID that is running the application.

Action

Ensure that the ESM keystore is owned by the user ID that is running the client application.