Switching default Copy Services Manager graphical user interface(GUI) HTTPS certificates: Manual Process
You can switch the default Copy Services Manager GUI certificates that are supplied by Copy Services Manager.
About this task
To switch out the default Copy Services Manager GUI HTTPS certificates, you need to change the keystore file that is used by the csmServer application server that is running under WebSpere Liberty. The default keystore file is:
- wlp/usr/servers/csmServer/resources/security/key.jks
This file is at these locations.
- path_prefix/opt/IBM/CSM/ for z/OS®
- install dir/liberty/ for distributed systems
You can create new versions of this file by using iKeyman, which is distributed with the Copy Services Manager version of Java™.
- You can locate the iKeyman tool at install dir/liberty/wlp/IBM/Java/jre/bin/ikeyman (or ikeyman.exe on Windows systems).
- The iKeyman tool is not available on z/OS. Therefore, you must first complete this procedure on a distributed system, and then upload the changes to the z/OS server. The JKS files need to be uploaded to z/OS UNIX System Services in a binary format.
- On z/OS, you can use the command-line based tool ikeycmd located in path_prefix/opt/IBM/CSM/Java/bin to create and manage key files and certificates. However, the commands are not described here in detail. For more information, use the ikeycmd -help command in ikeycmd.
When you switch default Copy Services Manager certificates, you can use a shared custom certificate for all your Copy Services Manager servers (Active and Standby server), or have dedicated certificates for each Copy Services Manager server.
securityUtility
script to encode a password. The tool is
at these locations.- path_prefix/opt/IBM/CSM/wlp/bin/ for z/OS®
- install dir/liberty/wlp/bin/ for distributed
wlp/bin> securityUtility encode --encoding=xor passw0rd
{xor}Lz4sLChvLTs=
Encoding options:
--encoding={xor|aes|hash}
Specify how to encode the password. Supported encodings are xor, aes,
and hash. The default encoding is xor.
Procedure
Follow these steps to switch out the default certificates that are assigned by Copy Services Manager. The example uses different keystore file names to clearly differentiate the configuration from default keystores and certificates. It also prevents you from overwriting the original files.
Results
The default Copy Services Manager certificates that are supplied by Copy Services Manager GUI for browser HTTPS requests are switched out.