Configure the Vault initially
Perform the following steps to configure the Vault initially:To use a KMES-attached to the network, configure the firewall to allow communication to the KMES device. In
DBParm.ini, configure the AllowNonStandardFWAdresses parameter to open the firewall and allow access to the device, as shown in this example:None
Configure the PKCS #11 provider DLL and specify it in the PKCS11ProviderPath parameter in
DBParm.ini, as shown:None
Define the PIN/passphrase that the Vault uses when accessing a KMES device. From a command line, run the following command, specifying the password of the identity created on the KMES for this integration:Replace
Shell
<hsmpincode> with the password of the identity created on the KMES for this integration.Open
DBParm.ini and ensure you added the HSMPinCode parameter with the encrypted value of the PIN/passcode.Load the Server Key into the KMES Series 3
The following process installs and stores the Server Key on the KMES Series 3. After you complete this process, the Server Key is stored as a non-exportable key on the KMES, and the Vault can use it.Generate the Server key
Perform the following steps to generate the Server key in the KMES:Run the following This command generates a new key for the Vault server, stores it in the KMES Series 3, and returns the key generation keyword. For example: HSM#5.Each time you create a key generation, the keyword allocated is one number higher than the current server key generation specified in
CAVaultManager command to generate the server key on the KMES:Shell
DBParm.ini. To create additional key generations successfully, you must manually delete the first generation of the server key. Otherwise, an error occurs. If the ServerKey parameter in the CAVaultManager command specifies a path instead of an HSM keyword, the first key generation is created (such as HSM#1).Re-encrypt the Vault data and metadata with the newly generated keys on the KMES. Run the following ChangeServerKeys command to change the encryption keys used for the Vault server:For example, the following command re-encrypts the Vault data and metadata with the encryption keys in
Shell
K:\PrivateArk\Keys, and the HSM#1 key becomes the server key.None
Open
DBParm.ini and specify in the ServerKey parameter the value of the key generation version returned by the preceding CAVaultManager command, as shown in the following output example:None

