Using the certadmin script, install the certificate obtained from the CA in your local database files in /etc/opt/SUNWportal/cert/gateway-profile-name.
As root, run the certadmin script.
portal-server-install-root/SUNWportal/bin/certadmin -n gateway-profile-name |
The certificate administration menu is displayed.
1) Generate Self-Signed Certificate 2) Generate Certificate Signing Request (CSR) 3) Add Root CA Certificate 4) Install Certificate From Certificate Authority (CA) 5) Delete Certificate 6) Modify Trust Attributes of Certificate (e.g., for PDC) 7) List Root CA Certificates 8) List All Certificates 9) Print Certificate Content 10)Quit choice: [10] 4 |
Choose option 4 on the certificate administration menu.
The script asks you to enter the certificate file name, certificate name, and the token name.
What is the name (including path) of file that contains the certificate? Please enter the token name you used when creating CSR for this certificate. [] |
Supply all the required information.
The certificate is installed in /etc/opt/SUNWportal/cert/gateway-profile-name, and the screen prompt returns.
Restart the Gateway for the certificate to take effect:
./psadmin start-sra-instance -u amadmin -f passwordfile -N profilename -t gateway |