Previous Topic: Digital Certificates and CA ACF2

Next Topic: Sample JCL for Generating Digital Certificates with CA ACF2

Generate Digital Certificates with CA ACF2

The following example shows how a business partner can set up CA Tape Encryption with self-signed digital certificates generated by CA ACF2. This lets you send your public key to the site that creates the tape so that it can be used for encryption purposes.

Note: The sample commands in this example may vary at your site depending on your naming conventions and environment. Adjust the commands according to your site standards and environment.

To generate a digital certificate with CA ACF2

  1. Generate the CA Tape Encryption digital certificate with the GENCERT command as shown in the following example:
    SET PROFILE(USER) DIV(CERTDATA)
    GENCERT BES.TAPECRE8 SUBJ(cn='common-name' OU='org-unit' -            
                     O='organization' L='location' ST='state' C='US') - 
                     LABEL(BESCERT) -                                 
                     EXPIRE(mm/dd/yy)              
    

    The digital certificate is generated.

  2. Create the CA Tape Encryption key ring and connect the certificate to it as shown in the following example:
    SET PROFILE(USER) DIV(KEYRING)                      
    INSERT BES.RING RINGNAME(BESRING)                   
    CONNECT CERTDATA(BES.TAPECRE8) KEYRING(BES.RING) DEFAULT
    
  3. Authorize the CA Tape Encryption started task to be able to read certificates from the key ring as shown in the following example:
  4. SET RESOURCE(FAC)
    RECKEY IRR ADD(DIGTCERT.LIST UID(bes_uid) SERVICE(READ) ALLOW)   
    RECKEY IRR ADD(DIGTCERT.LISTRING UID(bes_uid) SERVICE(READ) ALLOW)
    

    The CA Tape Encryption started task can now read the certificates from the key ring.

  5. Export the self-signed CA Tape Encryption started task certificate as shown in the following example.
    EXPORT BES.TAPECRE8 DSN('BES.TAPE.ENCRYPT.STC.CERT')
    

    The certificate is exported. The EXPORT command creates an industry standard, transportable digital certificate. This allows you to transmit the certificate to another site where the tape will be read.

  6. Transfer the data set BES.TAPE.ENCRYPT.STC.CERT to the site that will be creating the tape using FTP, email, or any normal means.

Note: For more information about the commands in the example, see the CA ACF2 Security for z/OS Administrator Guide.