3.9.2. Updating a Solaris 9 system using pkgrm and pkgadd
To install or upgrade Certificate System on Solaris, you need to ensure that all packages and binaries from the previous installation have been removed. The following procedure describes the required steps.
Stop all Certificate System instances.
/etc/init.d/instance_ID stop
Log in as root.
Use the following commands to remove the previous instances:
pkiremove -pki_instance_root=/var/lib -pki_instance_name=rhpki-ca pkiremove -pki_instance_root=/var/lib -pki_instance_name=rhpki-ocsp pkiremove -pki_instance_root=/var/lib -pki_instance_name=rhpki-tks pkiremove -pki_instance_root=/var/lib -pki_instance_name=rhpki-tps
Remove all subsystem binaries using rhpki-uninstall:
rhpki-uninstall -pki_subsystem=all
Remove the actual install and uninstall scripts:
pkgrm RHATrhpki-managex
Install the install and uninstall scripts:
pkgadd -d RHATrhpki-managex-7.3.0-12.sol9.noarch.pkg
Use the install script to install the CA:
rhpki-install -pki_subsystem=ca -pki_package_path=.
Ensure that the current directory contains all the Solaris packages.
For the remaining subsystems, use tks, ocsp, etc., as the pki_subsystem parameter.
Restart the Certificate System instances.
/etc/init.d/instance_ID start
The Solaris installation uses the same directory structure and configuration as the Red Hat Enterprise Linux installation.