Sample JCL to create a key ring for RACF
[yourJobCardHere]
//RACF EXEC PGM=IKJEFT01
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD *
RACDCERT ADDRING(yourKeyRingName) ID(yourUserID)
RACDCERT CONNECT(ID(yourUserID) LABEL('yourCertificateLabel') +
RING(yourKeyRingName) USAGE(PERSONAL) ) ID(yourUserID)
RACDCERT CONNECT(CERTAUTH LABEL('yourCAcertificateLabel1') +
RING(yourKeyRingName) )
RACDCERT CONNECT(CERTAUTH LABEL('yourCAcertificateLabel2') +
RING(yourKeyRingName) )
/*
//
//RACF EXEC PGM=IKJEFT01
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD *
RACDCERT ADDRING(yourKeyRingName) ID(yourUserID)
RACDCERT CONNECT(ID(yourUserID) LABEL('yourCertificateLabel') +
RING(yourKeyRingName) USAGE(PERSONAL) ) ID(yourUserID)
RACDCERT CONNECT(CERTAUTH LABEL('yourCAcertificateLabel1') +
RING(yourKeyRingName) )
RACDCERT CONNECT(CERTAUTH LABEL('yourCAcertificateLabel2') +
RING(yourKeyRingName) )
/*
//
The following information explains this JCL:
Statement | Description |
---|---|
ADDRING | Unique name for your key ring |
(Optional) ID | User ID to associate with the key ring If you do not include this subparameter, the key ring is created under your user ID. Because your key ring and CA-signed certificate are both associated with your ID, the ADDRING and CONNECT commands for your certificate both use your ID. |
(First instance) LABEL | Personal certificate label |
(Subsequent instances) LABEL | Labels of the CA–signed certificates Use as many of these statements as needed. |
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*