使用 certadmin 程序檔,將您從 CA 獲得的憑證安裝在本機資料庫檔案中,路徑是 /etc/opt/SUNWportal/cert/ gateway-profile-name。
以超級使用者身份執行 certadmin 程序檔。
portal-server-install-root/SUNWportal/bin/certadmin -n gateway-profile-name |
系統便會顯示憑證管理功能表。
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 |
在憑證管理功能表上選擇選項 4。
程序檔會讓您輸入憑證檔案名稱、憑證名稱和記號名稱。
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. [] |
提供所有需要的資訊。
憑證安裝於 /etc/opt/SUNWportal/cert/gateway-profile-name ,而且系統會傳回螢幕提示。
重新啟動憑證以使閘道生效:
./psadmin start-sra-instance -u amadmin -f passwordfile -N profilename -t gateway |