ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

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

 

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.
 

Environment

CA ACF2
 

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\""