Chapter 7. Migrating a TKS Instance to Certificate System 8.0
• Copies of all files (there is at least one) containing the wrapped master keys on the old HSM; for
example, tks_master_key_v2.txt.
NOTE
These files are created whenever the user generated a new master key using the
tkstool -W option.
5. Copy the extracted public/private key pairs from the 7.x server to the 8.0 server.
cp old_server_root/alias/ServerCert.p12 /var/lib/new_TKS_instance/alias/ServerCert.p12
6. Extract the public key of the "old_HSM_slot_name:caSigningCert cert-old_TKS_instance"
and "old_HSM_slot_name:tksTransportCert cert-old_TKS_instance" from the 7.x security
databases and save the base-64 encoded output to files called caSigningCert.b64 and
tksTransportCert.b64, respectively.
a. Open the Certificate System 7.x alias/ directory.
cd old_server_root/alias
b. Set the LD_LIBRARY_PATH environment variable to search the Certificate System libraries.
LD_LIBRARY_PATH=old_server_root/bin/cert/lib
export LD_LIBRARY_PATH
c. Use the Certificate System 7.x certutil tool to identify the old HSM slot name.
old_server_root/bin/cert/tools/certutil -U -d .
d. Use the Certificate System 7.x certutil tool to extract the public key of the following entries
from the security databases and save each base-64 output to a separate file.
old_server_root/bin/cert/tools/certutil -L -n "old_HSM_slot_name:caSigningCert
cert-old_TKS_instance" -d . -h old_HSM_token_name -a > caSigningCert.b64
old_server_root/bin/cert/tools/certutil -L -n "old_HSM_slot_name:tksTransportCert
cert-old_TKS_instance" -d . -h old_HSM_token_name -a > tksTransportCert.b64
e. Copy the key data from the 7.x server to the 8.0 server.
cp old_server_root/alias/caSigningCert.b64 /var/lib/new_TKS_instance/alias/
caSigningCert.b64
cp old_server_root/alias/tksTransportCert.b64 /var/lib/new_TKS_instance/alias/
tksTransportCert.b64
7. Log into the new server as the Certificate System user, and open the Certificate System alias/
directory.
92
Need help?
Do you have a question about the SYSTEM 8.0 - MIGRATION GUIDE 7.X TO 8.0 and is the answer not in the manual?
Questions and answers