Creating a TLS cipher suite specification file
You can create a TLS cipher suite specification file to specify a list of cipher suites to be used by TLS. If TLS is used for TCP/IP connections, you can specify the name of cipher suite specification file in the CIPHERS attribute for resources that define TCP/IP connections.
6.1
6.2 You must have a cipher specification
file named defaultciphers.xml if you have the feature
toggle com.ibm.cics.web.defaultciperfile=true set up. CICS will use this file to provide a default set of ciphers when
an alternative file has not been specified for a secure TCP/IP connection.
6.3 beta You must have a cipher specification file named defaultciphers.xml. CICS will load this file at startup if the KEYRING SIT parameter specifies a keyring name. This enables you to use CICS ‑managed TLS connections. CICS will use this file to provide a default set of ciphers when an alternative file has not been specified for a secure TCP/IP connection. CICS will attempt to load this file from the usshome/security/ciphers directory if it cannot be found in the ussconfig/security/ciphers directory.
Procedure
Results
You have created a cipher suite specification file. A TLS cipher suite file can be used by multiple resources. The first time when a resource that uses a specification file is installed, the file is read from zFS and parsed. Any errors are flagged during this parse. If the file is valid, the resource is installed and the cipher information is stored in a new control block that is associated with the file. When subsequent resources that use the same cipher file are installed, cached information in the control block is used.
What to do next
If you want to update the list of cipher suites in a cipher suite specification file, you can
edit the file directly, but you must restart CICS for the
updated list to take effect. The file is reread for any type of start, whether the
START system initialization parameter is set to INITIAL,
COLD, or AUTO.
If you want to use your own named file instead of defaultciphers.xml, you can create a link on the file system to avoid maintaining two identical files.
myciphers.xml with the name of your cipher
specification file:ln -s myciphers.xml defaultciphers.xmlln command will fail if defaultciphers.xml already exists in
the ussconfig/security/ciphers directory.You can now access your file using its original name and defaultciphers.xml.
- Create a single shared directory and give read access to all the required CICS regions.
- Create a cipher specification file (
myciphers.xml) within the shared directory. Give read access to all the required CICS regions. - From the ussconfig/security/ciphers directory of each
CICS region that needs to use the shared file, issue the following
commands:
ln -s /path/to/shared/directory/myciphers.xml myciphers.xml ln -s /path/to/shared/directory/myciphers.xml defaultciphers.xml
You can now access the single shared cipher specification file from all CICS regions either by using its original name or defaultciphers.xml. This allows you to update only a single file whenever the set of ciphers used by CICS needs to be changed.