ESMPROC failing after IPL with CC=100. ZosCertificateService
search cancel

ESMPROC failing after IPL with CC=100. ZosCertificateService

book

Article ID: 128385

calendar_today

Updated On:

Products

CIS COMMON SERVICES FOR Z/OS 90S SERVICES DATABASE MANAGEMENT SOLUTIONS FOR DB2 FOR Z/OS COMMON PRODUCT SERVICES COMPONENT Common Services Datacom/AD CA ECOMETER SERVER COMPONENT FOC Easytrieve Report Generator for Common Services INFOCAI MAINTENANCE IPC UNICENTER JCLCHECK COMMON COMPONENT Mainframe VM Product Manager CHORUS SOFTWARE MANAGER CA ON DEMAND PORTAL CA Service Desk Manager - Unified Self Service PAM CLIENT FOR LINUX ON MAINFRAME MAINFRAME CONNECTOR FOR LINUX ON MAINFRAME GRAPHICAL MANAGEMENT INTERFACE WEB ADMINISTRATOR FOR TOP SECRET Xpertware Compress Data Compression for MVS Compress Data Compression for Fujitsu

Issue/Introduction

ESMPROC is failing with a CC=100 due to keyring alias issues.  In Java logs for ESMSERV can see lines like the following during startup:
 
12:46:50.346 [main] DEBUG com.ca.esm.services.ZosCertificateService - loadServerKeyPair() - Key Alias: ESMALIAS
12:46:50.346 [main] ERROR com.ca.esm.services.ZosCertificateService - loadServerKeyPair() - Problem Reading Certificate from Key
 ring. Make sure you supplied the Key Alias with the right value! {}

Further information can be added to the logs if the SSL HANDSHAKE debugging option is turned on in &CAI..CAW0OPTV(ESMENV)

# Enable SSL debugging in the ESm Microservice
#     Uncomment only as directed by Support
#     Warning:  This will generate a lot of output into the log
IJO="$IJO -Djavax.net.debug=ssl:handshake:verbose"         <--- uncomment this line

 

Environment

CA ACF2
 

Cause

ESMENV file is not using the proper ALIAS name for the keyring attached to the proc that houses the certificates.  CA ACF2 cannot find the proper keyring with the certificates for the ESMSERV proc by this alias name.
 

Resolution

For the ALIAS value in &CAI..CAW0OPTV(ESMENV), specify the LABEL value of the server certificate used in the GENCERT command.  If no LABEL is provided on the GENCERT command, ACF2 defaults to the record ID used in the GENCERT command.

For example, the GENCERT might be:


GENCERT ESMSERV.ESMSERVR SIGNWITH(CERTAUTH LABEL(CERTAUTH.ESMMICRO)) -
SUBJ(CN='hostname.company.com' OU='Business Unit' -
O='Company Inc.' L='City' ST=\ST -
EMAIL='[email protected]') -
EXPIRE(8/13/21) LABEL(ESMSERV.ESMSERVR)


So, in this case, the alias is "ESMSERV.ESMSERVR" due to the LABEL.

Update the ESMENV member as follows:

Change => IJO="$IJO -Dserver.ssl.key-alias=\"ESMALIAS\""
To => IJO="$IJO -Dserver.ssl.key-alias=\"ESMSERV.ESMSERVR\""