Previous Topic: Using the TSSXTEND Utility with WHOHASNext Topic: PDS Member Level Protection Utilities


TSSXVSDT

This section contains the following topics:

About TSSXVSDT

TSSXVSDT

About TSSXVSDT

TSSXVSDT is a batch utility that assists in backing out of the VSAM digital certificate feature.

If the VSAM digital certificate feature is active, digital certificates and keyrings are loaded in the VSAM file. To determine if the feature is active, see the appendix 'TSSXTEND Extend the Security File'. If you entered INITVSAM=DIGICERT on the control statement as input to the TSSMAINS program and completed the steps in this section your certificates and keyrings have been migrated to VSAM.

Important! If you maintain multiple security files through CPF, prevent CPF from sending the backout commands to multiple nodes. Work with each system and security file as a single entity.

TSSXVSDT

This procedure is done on a system where the VSAM digital certificate feature is active and digital certificates and keyrings are loaded in the VSAM file.

Follow these steps:

  1. Enter the command:
    TSS LIST(ACIDS) DIGICERT(ALL)
    

    A list of all digital certificates added to all users is displayed.

  2. Count and record the number of certificates.
  3. For each user displayed in the previous list, enter the command:
    TSS LIST(user) DIGICERT(ALL)
    

    Detailed information for all certificates belonging to the user is displayed.

  4. Enter the command:
    TSS LIST(ACIDS) KEYRING(ALL)
    

    A list of all keyrings added to all users is displayed.

  5. Count and record the number of keyrings.
  6. For each user displayed in the previous list, enter the command:
    TSS LIST(user) KEYRING(ALL)
    

    Detail information for all keyrings belonging to the user is displayed.

  7. Use the BACKUP control option to create a backup of both the current BDAM security file and the VSAM certificate file. The backups can be used to restore the files in the event of an emergency.
  8. Edit the TSSXVSDT batch utility. Enter:
  9. Run the TSSXVSDT batch utility:

    The utility generates:

  10. Edit TSSXVTMP, enter the CMDEXPT file name created by the batch utility TSSXVSDT. This file holds the TSS EXPORT commands to be executed.
  11. Run the batch job TSSXVTMP.

    The batch job executes IKJEFT01 to read the TSS command file as input and execute the TSS EXPORT commands. The existing VSAM file is used as input to generate the DCDSN data sets with the certificate data required by the TSS ADD process. A unique data set is allocated and cataloged for each TSS EXPORT command executed, the data set names have the format:

    DCDSN(xxxxxxxx.xxxxxxxx.xxxxxxxx.aaaaaaaa.dddddddd)
    
    xxxxxxxx

    The prefix specified on the input DCDSN statement.

    aaaaaaaa

    Specifies the ACID that owns the certificate.

    dddddddd

    Specifies the certificate name.

  12. Edit batch job TSSXVOFF, enter:

    To disable all VSAM processing specify VSAMALL. To determine if VSAM is needed review the count of VSAM output records in step 9. If the count is 1 VSAM can be disabled. If the number of output records is greater than 1 you have KERBEROS records stored in VSAM that require continued VSAM processing and you should only disable certificate and keyring VSAM processing.

    To disable VSAM digital certificate and keyring processing specify VSAMDCRT on the input statement. This allows the continued VSAM handling of KERBEROS records that have been migrated to VSAM.

  13. Run batch job TSSXVOFF

    The batch job turns off the appropriate VSAM feature flags located in the BDAM security file to disable VSAM processing.

  14. Edit the TSS and TSSB started task procedures to reflect the new processing requirements:
  15. Shut down and restart the CA Top Secret address space using the updated procedure. The restart should include the startup parameter:
    REINIT (S TSS,,,REINIT)
    

    If you are sharing the security file shut down and restart the CA Top Secret address space with the updated procedure on all systems as soon as possible to prevent the creation of new certificates and keyrings or the update of existing certificates and keyrings in VSAM that will not be reflected in the backout process.

    When the TSS address space is restarted there will be no certificates or keyrings available for processing. Any product or process requiring a digital certificate should be quiesced until the certificates are completely restored.

  16. Edit TSSXVTMP. Enter the CMDADD file name created by TSSXVSDT, this file holds the TSS ADD commands to be executed.
  17. Run TSSXVTMP.

    This job executes IKJEFT01 to read the TSS command file as input and execute the TSS ADD commands. The commands use the DCDSN data sets created by the TSS EXPORT commands as input to add the digital certificates to the appropriate users, add digital certificates to keyrings, and add keyrings to users where required.

  18. Review the list output from the execution of the commands and make sure they completed successfully.
  19. Shut down and restart the CA Top Secret address space using the procedure from step 15. The restart should include the startup parameter:
    REINIT (S TSS,,,REINIT)
    
  20. Repeat the TSS LIST commands in steps 1 to 6. The TSS LIST(ACIDS) is entered as TSS LIST(SDT) commands since the data is no longer in VSAM.

    The commands provide a new directory of digital certificate and keyring objects after they have been restored to the BDAM security file.

  21. Compare the TSS LIST command output to verify that all certificates and keyrings have been correctly restored to the BDAM security file. The digital certificate and keyring counts from both steps should match.
  22. (Optional) Discard the command files and the DCDSN files generated to support the backout process.

Note: For information on the TSS EXPORT and TSS ADD commands for digital certificates and keyrings, see the Command Functions Guide and the Cookbook.