Rekeying an encryption-enabled system using a key server
Rekeying is the process of creating a new key for the system. To create a new key, encryption must be enabled on the system; however, the rekey operation works whether or not there are encrypted objects. If you configured a key server to manage encryption keys, you can generate new keys with the encryption key server.
Using the management GUI
During the rekey process, the key server generates a new key and the existing key becomes obsolete.
Before you generate a new key on all configured key servers, the key servers must be online and connected to the system. In the management GUI, select . Expand Key Servers to display details on all the configured key servers on the system. Verify that the status of the key servers is online and available to the system.
- In the management GUI, select .
- Expand Key Servers to display all the configured key servers on the system and select Rekey.
Using the command-line interface
Before you generate a new key on all configured key servers, the key servers must be online and connected to the system. In the command-line interface, enter lskeyserver to verify whether the key server is online and available to the system.
- Verify that encryption is enabled on the system by entering this command:
Ensure that the status indicates that the encryption is enabled.lsencryption - After verifying that encryption is enabled, verify that the key server is online and available
by entering this command:
Ensure that the status for all available key servers is online.lskeyserver - After verifying that encryption is enabled and the key server is online, you need to prepare the
system to rekey the encryption keys that are currently being used on the system. To prepare the
rekey operation, enter the following
command:
chencryption -keyserver newkey -key prepare - To verify that the system is prepared and the keys are copied to the key server, enter the
following command:
Check that the keyserver_rekey parameter has the value prepared. The prepared value indicates that the new key is ready to be committed.lsencryption - To commit the key, enter the following
command:
This command makes the prepared key the current key and stores the key values on the primary key server.chencryption -keyserver newkey -key commit - Verify that the new key is committed by entering the following
command:
Ensure that the value in the keyserver_rekey parameter is no.lsencryption