/****************************************/ /* */ /* RENEW Internal CA Certs */ /* */ /****************************************/ /****************************************/ /* Links */ /****************************************/ SAFCRRPT Certificate Utility Parameters:https://techdocs.broadcom.com/us/en/ca-mainframe-software/security/ca-acf2-for-z-os/16-0/reporting/other-ca-acf2-utilities.html Certificate Commands: https://techdocs.broadcom.com/us/en/ca-mainframe-software/security/ca-acf2-for-z-os/16-0/administrating/digital-certificate-support.html /****************************************/ /* ACF2 */ /****************************************/ /* BATCH */ //ACFBATCH EXEC PGM=ACFBATCH //SYSPRINT DD SYSOUT=* //SYSIN DD * CHKCERT USER1.CERT RENEW USER1.CERT EXPIRE(12/30/2030) CHKCERT USER1.CERT /* /* OUTPUT */ CHKCERT USER1.CERT Label: USER1 Cert Serial number: 02 Issuer's distinguished name: CN=TestInterCert OU=MyCo C=US Subject's distinguished name: CN=USER1TEST OU=MyCo C=US Not valid before: 2021/02/26 00:00:00 UTC Not valid after: 2022/02/26 23:59:59 UTC Private Key Type: RSA Private key bit size: 2048 Signature Algorithm: sha256WithRSAEncryption This certificate is registered with CA ACF2 The CERTDATA record key is USER1.CERT CERTDATA / USER1.CERT LAST CHANGED BY TSTUSER ON 02/26/21-14:14 ISSUERDN(CN=TestInterCert.OU=MyCo.C=US) KEYSIZE(2,048) LABEL(USER1 Cert) SERIAL#(02) SUBJDN(CN=USER1TEST.OU=MyCo.C=US) Certificate is not connected to any key rings RENEW USER1.CERT EXPIRE(12/30/2030) CERTDATA / USER1.CERT LAST CHANGED BY TSTUSER ON 02/26/21-14:22 ISSUERDN(CN=TestInterCert.OU=MyCo.C=US) KEYSIZE(2,048) LABEL(USER1 Cert) SERIAL#(03) SUBJDN(CN=USER1TEST.OU=MyCo.C=US) Certificate is not connected to any key rings CHKCERT USER1.CERT Label: USER1 Cert Serial number: 03 Issuer's distinguished name: CN=TestInterCert OU=MyCo C=US Subject's distinguished name: CN=USER1TEST OU=MyCo C=US Not valid before: 2021/02/26 00:00:00 UTC Not valid after: 2030/12/30 23:59:59 UTC Private Key Type: RSA Private key bit size: 2048 Signature Algorithm: sha256WithRSAEncryption This certificate is registered with CA ACF2 The CERTDATA record key is USER1.CERT CERTDATA / USER1.CERT LAST CHANGED BY TSTUSER ON 02/26/21-14:22 ISSUERDN(CN=TestInterCert.OU=MyCo.C=US) KEYSIZE(2,048) LABEL(USER1 Cert) SERIAL#(03) SUBJDN(CN=USER1TEST.OU=MyCo.C=US) Certificate is not connected to any key rings