cp old_server_root/alias/cert-old_CA_instance-cert8.db
/var/lib/instance_ID/alias/cert8.db
cp old_server_root/alias/cert-old_CA_instance-key3.db
/var/lib/instance_ID/alias/key3.db
3. Open the Certificate System
/alias
directory.
cd /var/lib/instance_ID/alias/
4. Log in as
root
.
5. Set the file user and group to the Certificate System user and group.
# chown user:group cert8.db
# chown user:group key3.db
6. Log out as
root
, and log back into the system as the Certificate System user.
7. Set the file permissions.
chmod 00600 cert8.db
chmod 00600 key3.db
8. List the certificates stored in the old security databases by using the
certutil
command;
-L
lists the certificates.
certutil -L -d .
Server-Cert cert-old_CA_instance cu,cu,cu
caSigningCert cert-old_CA_instance cu,cu,cu
ocspSigningCert cert-old_CA_instance CTu,Cu,Cu
NOTE
For Certificate Management System version 6.0x, the certificate database is
automatically converted from
cert7.db
to
cert8.db
.
9. Export the public/private key pairs of each entry in the Certificate System databases using
the
pk12util
tool;
-o
exports the key pairs to file, and
-n
sets the name of the certificate and
the old database prefix.
Chapter 5. Step 4: Migrating Security Databases
16