Create a connector and key
Perform the following steps to create an HSM connector and generate an HSM-protected encryption key:For Cryptoki Dll Path, select [ Browse ] and locate the following path to the Futurex PKCS #11 DLL file:
C:\Program Files\Futurex\fxpkcs11\fxpkcs11.dllSelect the slot number configured in your Futurex PKCS #11 configuration file (the default is slot 0). This is where TPP accesses the encryption keys.
For User Type, leave the default option selected, Crypto Officer (User). CyberArk TPF uses the identity configured in the Futurex PKCS #11 file to connect to the Vectera Plus.
In the Create New HSM Key window, enter a Name and select the Type for the key. Then, select [ Create ].
If you plan to use CyberArk CodeSign Protect to store private code signing keys in the Vectera Plus select the Allow Key Storage checkbox.
Enable CyberArk Advanced Key Protect
You need CyberArk Advanced Key Protect to generate HSM private keys. In addition, CyberArk Code Signing Certificate Private Key Storage requires you to enable the feature. To enable CyberArk Advanced Key Protect, perform the following steps.Perform the following steps to restart the IIS, CyberArk TPF Platform, and Logging services:
- Select the Product node.
- Select Website and select [ Restart ] in the Actions panel.
- Select CyberArk TPF Platform and select [ Restart ] in the Actions panel.
- Select Logging and select [ Restart ] in the Actions panel.
Generate an HSM private key
CyberArk Trust Protection Foundation uses the Vectera Plus HSM to generate private keys for SSH keys and certificates.You must create a Certificate Authority (CA) template object in CyberArk TPF to manage the certificate life cycle and generate an HSM key. See CyberArk TPF documentation for more information.
Configure the CyberArk TPF platform policy
Perform the following steps to configure the CyberArk TPF platform policy to enable the Vectera Plus for HSM key generation:Generate the certificate
Perform the following steps to generate the certificate:On the left-hand side of the page, select [ Add ] under the Policy drop-down menu and select Certificates > Certificate.
Under General Information, enter the required information, and for Management Type, select Provisioning or Enrollment.
Under CSR Handling, leave Service Generated CSR selected for CSR Generation and leave Generate Key/CSR on Application set to No.
Configure code signing
CyberArk CodeSign Protect can store private code signing keys in the Vectera Plus HSM. This section describes the basic steps to configure this functionality for the integration. See CyberArk TPF documentation for more details.CyberArk TPF uses Certificate Authority (CA) template objects to manage the certificate life cycle. You must create one to use code signing. See CyberArk TPF documentation for more information.
To use the Vectera Plus for key storage, you must enable Key Storage on the HSM Connector.
Assign permissions
Perform the following steps to assign permissions to a code signing administrator:Create a code signing flow
Perform the following steps to create a code signing flow:Create an environment template
Perform the following steps to create an environment template for the code signing project:In the Properties window, within the Settings tab, enter a Description and select a Certificate Container and Signing Flow.
Create a new code signing project
Perform the following steps to create a new code signing project:Create an environment
Perform the following steps to create an environment for the project with a new HSM private key and certificate:Inside the newly created code signing project, go to the Environments tab and select Add Environment >
Certificate & Key.
For Creation Type, select Create New.
The Key Storage Location should now list the Futurex HSM Connector.

