This section describes how to use the Centrify-PAS-ModifyInstallation.ps1 script to update an expired web server certificate or change to a different web server certificate. For additional Centrify-PAS-ModifyInstallation.ps1 script information, see Centrify-PAS-ModifyInstallation.
To update or replace a web server certificate:
- If you are not already logged in to the Management node, log in as a user with administrator rights.
At an elevated PowerShell prompt, run Centrify-PAS-ModifyInstallation.ps1 using the proper parameters to update or change the web server certificate. Parameters include:
- [-Hostname] <String>]—Enter the hostname you use to define the Installation.
- [-Certificate] <String>]—Enter the location of the new web server certificate.
- [-CertificatePassword] <String>]—Enter the password for the web server certificate, if a password is required.
.\Centrify-PAS-ModifyInstallation.ps1-Hostname pas.corpnet.com -Certificate C:\newcert\corpnet.com.p12
After updating the web server certificate, you must create a new deployment and deploy it to Web and Background nodes. Once you create the new nodes, set the new deployment active. It is not necessary to create a new deployment for TCP Relay Logging and TCP Relay nodes. For detailed instructions on deploying new nodes, see the following sections:
- Phase 3: Creating a Deployment package
- Phase 4: Deploying Hyper-scalable PAS software to Web, Background, and TCP Relay nodes
- Phase 5: Activating the Deployment
Note: If you do not deploy new Web and Background nodes after changing the web server certificate, the Web and Background nodes will keep using the old certificate.