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! {}
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.
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\""