3. Extract the public key of the CA signing certificate from the old security databases and save
the base-64 encoded output to a file called
caSigningCert.b64
.
a. Open the Certificate Management System 6.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 Management System 6.x
certutil
tool to identify the old HSM slot
name.
old_server_root/bin/cert/tools/certutil -U -d .
d. Use the Certificate Management System 6.x
certutil
tool to extract the public key from
the security databases and save the base-64 output to a file.
old_server_root/bin/cert/tools/certutil -L
-n "old_HSM_slot_name:caSigningCert cert-old_DRM_instance"
-d . -h old_HSM_token_name -a > caSigningCert.b64
e. Copy the key information from the 6.x server to the 7.3 server.
cp old_server_root/alias/caSigningCert.b64
/var/lib/instance_ID/alias/caSigningCert.b64
4. Open the Certificate System
/alias
directory.
cd /var/lib/instance_ID/alias/
5. Log in as
root
.
6. Set the file user and group to the Certificate System user and group.
# chown user:group ServerCert.p12
# chown user:group kraStorageCert.p12
# chown user:group kraTransportCert.p12
Chapter 5. Step 4: Migrating Security Databases
34