Sample JCL to create a CSR for CA ACF2


Use the following sample JCL to create a Certificate Signing Request (CSR) for use with CA ACF2:

[yourJobCardHere]
//ACFJOB EXEC PGM=ACFBATCH
//SYSPRINT DD SYSOUT=*
//SYSLBC DD DISP=SHR,DSN=yourDataSetName
//SYSHELP DD DISP=SHR,DSN=yourDataSetName
//SYSIN DD *
  SET PROFILE(USER) DIV(CERTDATA)

  GENREQ yourUserID DSN('yourRequestDSN') -
                    LABEL('yourCertificateLabel')
//

The following information explains this JCL:

Statement

Description

yourUserID

User ID with which the certificate is associated, suffixed if necessary

DSN

Name of the data set where the CSR should be created

LABEL

Value you used for the LABEL parameter with the GENCERT command

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

Common mainframe infrastructure 2022 release