8.3. Migrating 6.0, 6.1, 6.2, 7.0, and 7.1 Password Cache Data
Log into the old server as the Certificate System user for that machine, and open the config/ directory.
cdold_server_root/cert-old_instance/config/old_server_root/bin/cert/tools/PasswordCacheold_passwordcache_password-dold_server_root/alias -P cert-old_instance-old_hostname- list cert/key prefix = cert-old_instance-old_hostname- path =old_server_root/aliasabout to read password cache ----- Password Cache Content ----- internal : redhat Internal LDAP Database : passwordldap
This lists the information stored in the password cache. Write down both the tags and the passwords, such as the following:
internal=redhat
The listed tags and passwords are used to create the password.conf file.
If the old server instance used the password.conf file to start the server instance automatically, then this file must also be migrated to the new server instance.
cpold_server_root/cert-old_instance/config/password.conf /var/lib/instance_ID/conf/password.conf
Log into the new server as the Certificate System user, and open the Certificate System config/ directory.
cd /var/lib/instance_ID/conf/
Log in as root, and set the file user and group to the Certificate System user and group.
su chownuser:grouppassword.conf
Log out as root. As the Certificate System user, change the permissions on the password file.
chmod 00600 password.conf
Copy the tags and passwords that were listed from the old pwdcache.db into the password.conf file.