Does a version upgrade harden the vault?
87
Created On 11/10/26 10:55 AM - Last Modified 11/10/26 13:01 PM
Question
If I have a non-hardened Vault, and I run a vault upgrade, is the Vault going to be hardened?
Environment
11.6;12.2;12.6;13.0 Privileged Access Manager (PAM, self-hosted) Vault Server;Vault
Answer
No. The upgrade does not perform a hardening.
In order for the Vault to be hardened you need to run the hardening manually.
To manually run the hardening:
- Stop the Vault services
- Open a command line window
- Navigate to the server installation folder (%Program Files%\PrivateArk\Server)
- Run the following command from an elevated command prompt:
CAVaultHarden.exe <VaultArchitecture> </AllowRDP>
For example:CAVaultHarden.exe StandardVault /AllowRDP 10.10.10.10
NOTE : The command has changed in vault version 12.6.3. Reboot the server after running the hardening steps.
See complete command details here:
https://docs.cyberark.com/Product-Doc/OnlineHelp/PAS/Latest/en/Content/PASIMP/Utility-CAVaultHarden.htm
https://docs.cyberark.com/Product-Doc/OnlineHelp/PAS/Latest/en/Content/PASIMP/Utility-CAVaultHarden.htm
Additional Information
Details
Q:If I have an unhardened Vault and I run an upgrade is the Vault going to be hardened?
A:
No. The upgrade does not perform a hardening. In order for the Vault to be hardened you need to run the hardening manually.
To manually run the hardening:
- Stop the Vault services
- Open a command line window
- Navigate to the server installation folder (%Program Files%\PrivateArk\Server)
- Run the following command: >CAVaultHarden.exe <HardenConfDir> <LogDir>
For example (for an HA Vault Cluster):
CAVaultHarden.exe HAVault C:\Windows\Temp\
Example (for a standalone Vault):
CAVaultHarden.exe StandAloneVault C:\Windows\Temp\
NOTE: Make sure your <LogDir> directory actually exists before running the command.
NOTE 2: Reboot the server after running the hardening steps
NOTE 2: Reboot the server after running the hardening steps