Before beginning this procedure, you must:
Note: - Enter the key parts of the new master key that you want to replace
the current master key. For information about how to do this procedure,
see Entering master key parts. The new master key register
must be full when you change the master key.
- Create a new VSAM data set in which the reenciphered keys will
be placed to create the new reenciphered CKDS. This data set must
be allocated and empty, and must contain the same data set attributes
as the active CKDS. For more information about defining a CKDS, refer
to z/OS Cryptographic Services ICSF System Programmer's Guide.
To reencipher the CKDS and change the master key:
- Select option 2, REENCIPHER CKDS, on the CSFMKM20 — CKDS Management panel, and press ENTER.
When you change
the master key, you must first reencipher the disk copy of the CKDS
under the new master key.
Note: - To perform this operation your TSO Region Size must be large enough
to load the CKDS into memory. The CKDS load operation alone requires
#records * Max LRECL bytes. Your TSO region size must be large enough
to accommodate this in addition to any other memory required by your
TSO user.
- If your system is using multiple coprocessors, they must have
the same master key. When you change the master key in one coprocessor,
you should change the master key in the other coprocessors. Therefore,
to reencipher a CKDS under a new master key, the new master key registers
in all coprocessors must contain the same value.
- If the CKDS contains HMAC keys, it must be reenciphered on a system
with a CEX3C or later and the Sept. 2010 or later licensed internal
code.
- The CSFCMK10 — Reencipher CKDS panel appears.
- In the Input CKDS field, enter the name of the CKDS that you want
to reencipher. In the Output CKDS field, enter the name of the data
set in which you want to place the reenciphered keys.
Reenciphering the disk copy of the CKDS does not affect
the in-storage copy of the CKDS. On this panel, you are working with
only a disk copy of the CKDS.
- Press ENTER to reencipher the input CKDS entries and place them
into the output CKDS.
The message REENCIPHER SUCCESSFUL appears
on the top right of the panel if the reencipher succeeds.
- If you have more than one CKDS on disk, specify the information
and press ENTER as many times as you need to reencipher all of them.
Reencipher all your disk copies at this time. When you have reenciphered
all the disk copies of the CKDS, you are ready to change the master
key.
- Press END to return to the Press END to return to the CSFMKM30 — PKDS Management panel.
Performing a local DES master
key change involves refreshing the in-storage copy of the CKDS with
a disk copy and activating the new master key.
- If you are running in compatibility or co-existence mode, do not
select option 3, the Change option. To activate the changed master
key when running in compatibility or co-existence mode, you need to
re-IPL MVS and start ICSF. When
you re-IPL MVS and start ICSF, you activate
the changed master key and refresh the in-storage CKDS.
- If you are running in noncompatibility mode, to change the master
key select option 3, CHANGE MK, on the CSFMKM20 — CKDS Management panel.
- In the New CKDS field, enter the name of the disk copy of the
CKDS that you want ICSF to place in storage.
You should have already
reenciphered the disk copy of the CKDS under the new master key. The
last CKDS name that you specified in the Output CKDS field on the CSFCMK10 — Reencipher CKDS panel automatically appears in this field.
- Press ENTER.
ICSF loads
the data set into storage where it becomes operational on the system. ICSF also places
the new master key into the master key register so it becomes active.
When
you press ENTER, ICSF attempts
to change the master key. It displays a message on the top right of
the panel. The message indicates either that the master key was changed
successfully or that an error occurred that prevented the successful
completion of the change process. For example, if you indicate a data
set that is not reenciphered under the new master key, an error message
displays, and the master key is not changed.
- When changing the master key, remember to change the name of the
CKDS in the Installation Options Data Set.
You can use a utility program to reencipher the CKDSs and change
the master key instead of using the panels. See Symmetric Master Keys and the CKDS, for instructions on how to use the utility
program to reencipher a disk copy of a CKDS and to change a master
key.