Applies to: Policy Server
Overview
This article covers the steps to replace the License File on the Policy Server.
Depending on your deployment platform, refer to the relevant section below:
- [a] Linux Docker — PS version 3.27.0.0 or greater (with DAC)
- [b] Linux Docker — PS version 3.26.2.0 or lesser (without DAC)
- [c] Windows Docker
- [d] Windows Server
⚠️ Important Notes
- The license file name must be PolicyServer.lic (Case Sensitive).
- Always back up the original license file before replacing it with the new one.
For deployments with multiple Policy Server nodes, the license file must be replaced on all nodes.
The paths mentioned in this article are standard default paths. Actual paths may vary depending on the customer's environment and deployment configuration. Verify the applicable paths before proceeding.
- After updating, share a screenshot of the updated license details (refer to the verification steps at the end of this article).
[a] Linux Docker — PS Version 3.27.0.0 or Greater (with DAC)
For PolicyServer1:
1. Login to the policy server machine and stop the policy server service by navigating to the below path:
/app/seclore/policyserver1/policyserver/container-scripts/policyserver_container_stop.sh2. Replace the license file at both of the following paths:
/app/seclore/policyserver1/policyserver/config/static_files/app/seclore/policyserver1/policyserver/bin/run-context/in/config
3. Rebuild the Policy Server Container:
/app/seclore/policyserver2/policyserver/start.shFor PolicyServer2 (in case of HA Setup):
1. Login to the second policy server machine and stop the policy server service by navigating to the below path:
/app/seclore/policyserver2/policyserver/container-scripts/policyserver_container_stop.sh2. Replace the license file at both of the following paths:
/app/seclore/policyserver2/policyserver/config/static_files/app/seclore/policyserver2/policyserver/bin/run-context/in/config
3. Rebuild the Policy Server Container:
/app/seclore/policyserver2/policyserver/start.sh
If your deployment has additional Policy Server instances (e.g., policyserver2, policyserver3), follow the same procedure using the corresponding instance directory.
[b] Linux Docker — PS Version 3.26.2.0 or Lesser (without DAC)
1. Login to the policy server machine and stop the policy server service by navigating to the below path:
/opt/seclore/policyserver1/scripts/policyserver_container_stop.sh
2. Replace the license file at:
/opt/seclore/policyserver1/run-context/in/config/
3. Start the Policy Server:
/opt/seclore/policyserver1/scripts/policyserver_container_start.shIf your deployment has additional Policy Server instances (e.g., policyserver2, policyserver3), follow the same procedure using the corresponding instance directory.
[c] Windows Docker
1. Stop the Policy Server service:
C:\Seclore\policy server\scripts> stop ps service
(Confirm the exact script name with your deployment configuration if the path differs.)
2. Replace the license file at:
<drive>:\seclore\policyserver\config\
3. Start the Policy Server service.
[d] Windows Server
1. Log into the Policy Server machine and stop the Apache Tomcat service via the Windows Services console:
- Press Win + R, type services.msc, and press Enter.
- Locate the Apache Tomcat service for Policy Server, right-click it, and select Stop.
2. Replace the license file at:
<drive>:\seclore\policyserver\config\
3. Start the Apache Tomcat service and access the Policy Server page.
Verifying the License Update
- Log into the Policy Server as System Admin.
- Navigate to the License tab and verify the updated license details.
