How to configure TLS with RACF key rings
Configure a TLS connection between CICS, IMS or a z/OS application and a IBM® z/OS® Connect server.
zosConnect-2.0 Applies to zosConnect-2.0.
This task is applicable when z/OS Connect is used as an API requester.
Before you begin
- Before you begin this task, you should be familiar with the information in API requester confidentiality and integrity for zosConnect-2.0.
- You must have authorization to issue the following RACDCERT commands:
ADD, ADDRING, CONNECT,
EXPORT, GENCERT, LIST, and
LISTRING, to create a RACF® key ring and
certificates. For more information about the RACDCERT commands and the
authorizations that are required, see
RACDCERT (Manage RACF digital certificates) in the z/OS documentation.
- You must have write access to the server.xml configuration file.
Note: In this topic, the term client refers to CICS, IMS or a z/OS application.
About this task
Configure a z/OS Connect server so that CICS,
IMS, or z/OS applications must connect by using an HTTPS connection with TLS server authentication.
This configuration creates the following artifacts:
- A certificate authority (CA) signed personal certificate for a IBM z/OS Connect server to identify itself on TLS connections.
- A RACF key ring to act as the IBM z/OS Connect server’s keystore.
- A RACF key ring to act as the keystore for the CICS, IMS, or the z/OS application, so that it can trust the certificate presented by the IBM z/OS Connect server on the TLS connection.
You can also configure TLS client authentication, sometimes referred to as mutual TLS
authentication, to require the CICS, IMS, or z/OS application to provide its personal certificate on
the connection. This configuration creates the following artifacts:
- A CA signed personal certificate for the CICS, IMS, or z/OS application to identify itself on TLS connections.
- A RACF key ring for the CICS, IMS, or z/OS application.
- A RACF key ring for the IBM z/OS Connect server to use as its truststore, so that it can trust the certificate that is presented by the CICS, IMS, or z/OS application.
The certificates and key rings used in this task are described in Figure 1.

This task makes the following assumptions:
- RACF is the security manager. If you are using an alternative External Security Manager, refer to the appropriate product documentation for the equivalent commands.
- The CICS, IMS, or z/OS application, and the IBM z/OS Connect server each uses a single RACF key ring for both their own keystores and truststores.
- The default z/OS Connect SSL elements in the
server.xml configuration file are customized. This method is typical for
configuring TLS on the z/OS Connect server's
default HTTPS port. If you are configuring TLS for an additional HTTPS port, follow these
instructions, but replace the default
idattribute values of thesslandkeyStoreelements with customized values. You would also need to associate the customizedsslelement with the appropriatehttpEndpointelement by configuring thesslOptionssubelement. For example,<httpEndpoint id="myHttpEndpoint" host="*" httpPort="9081" httpsPort="9444"> <sslOptions sslRef="mySSLConfig" /> </httpEndpoint>
id attribute value
of the ssl element.Note:
- This task covers TLS server authentication, and TLS client authentication (optional). It does not include the additional configuration to map a CICS, IMS, or z/OS application's personal certificate to a RACF user ID to authenticate with a IBM z/OS Connect server, but is a prerequisite to that task. For more information about configuring a CICS, IMS, or z/OS application certificate to authenticate with a z/OS Connect server, see How to configure client certificate authentication with RACF.
- The term label is used by RACF, however the term alias is often used to reference the same artifact. Therefore in this documentation, the phrase label or alias is used for clarity.
Procedure
The following steps are optional, and are only required to configure TLS client authentication. This is also called mutual TLS authentication.