Create a client Futurex device group
Device groups simplify information management on client Futurex devices by controlling them through a single interface. Use the following procedures to create a device group and add devices.Select Encryption Devices from the left toolbar, then select [ Add Group ] at the bottom of the window to open the Encryption Device Group window.
Select Hardware Security Module in the Group Type drop-down menu.
Devices that you add to the HSM group must all be the same type (such as Vectera Plus, Excrypt Plus, Excrypt SSP Enterprise v.2).
Define Group Options.
| Option | Description |
|---|---|
| Configuration | Enables remote configuration for all Futurex HSMs in the group. |
| Monitoring | Enables monitoring for all Futurex HSMs in the group. |
| Balancing | Enables load balancing between group devices for API calls sent to the group. |
Choose the Connection Pair in the drop-down menu. The connection pairs available vary depending on the type of device group. For PKCS #11, you need only the Excrypt/Standard connection pair. YOu should disable the HTTP and International connection pairs.
| Port | Description |
|---|---|
| Excrypt/Standard | Enables you to connect with the Excrypt or Standard APIs for transaction processing by using Futurex HSMs. |
| HTTP | Enables you to connect with one of the following targets:
|
| International | Enables you to connect with the International API for transaction processing by using Futurex HSMs when you enable the Excrypt Universal Interface license. |
Select the Connection Type for each connection pair from the drop-down menu. The options are Clear, SSL (default), or Anonymous TLS. Futurex recommends using SSL.
Add devices to a device group
Groups are defined by device type. Because you can’t mix and match different devices within the same group, choose the group with the same model when selecting a device to add. Perform the following steps to add a device to a group:Enter the Hostname or IP address of the client device.
HSMs managed by the Guardian Series 3 in a single group must use the same firmware version and feature set.If using Futurex certificates, keep as default all the remaining settings in this menu (steps 4-11).
Define the Port on which the client devices are configured to operate. You don’t need to specify a Header Size.
Select the device Role from the associated drop-down menu to specify the device’s use in the assigned group. Only the Primary Device role is available for the first device added to the group.
| Role | Description |
|---|---|
| Primary Device | Designates a device as a primary device in the device group. The configuration details on this device automatically replicate to any additional devices added to the device group. The primary device also functions in the same role as a production device. |
| Production Device | Designates a device as a production device. Production devices begin actively processing transactions when you synchronize the device with the group. You can add multiple production devices to an individual device group. |
| Backup Device | Designating a device as a backup device causes it to remain synchronized with the group, but not process transactions. However, the device automatically begins processing transactions as soon as a production device is removed from service. Using backup devices is optional, and you can add multiple backup devices to an individual device group. |
Check the box next to Balancing enabled to enable balancing. This enables the Guardian to evenly distribute requests to devices in the group.
Set the desired number of seconds for the ping timeout. The ping timeout is the amount of time before an individual ping is open
Troubleshooting failed connections
If the connection is failing, consider the following:- Are the Device Group and Device enabled?
- Are the Admin and Excrypt TLS ports configured on the HSM?
- Are the Guardian Series 3 and the HSM by using the same CA tree? If using Futurex certificates, they both need to use either RSA or ECC CA.
If port 9100 fails to connect, there is a problem with the Excrypt port configuration. If port 9009 fails to connect, there is a problem with the Admin port configuration.
Configure the HSM through the Guardian
Perform the tasks in this section to configure the HSM.Load the Futurex key
For this step, you need to log in with an identity that has a role with Major Keys:Load permisision. You can use the default Administrator role and Admin identities.
After logging in, go to the Encryption Devices page. Right-click on the device group and select Remote Manage.
After you log in on the login screen, select Keys in the left-hand menu. Go to the Major Keys tab and select [ Load ] next to the FTK.
In the first menu, select the Algorithm, Key length, and Key parts that you want to use. Load each of the key parts.
You receive a confirmation that each key part loaded successfully. When they finish loading, you receive a Final Key Checksum.
Configure a transaction processing connection and create an application partition
For this step, you need to log in with an identity that has a role with the following permissions: Role:Add, Role:Assign All Permissions, Role:Modify, Keys:All Slots, and Command Settings:Excrypt. You can use the default Administrator role and Admin identities.
This integration guide treats the terms application partition and role as synonymous.
- It should not have access to the All Slots permissions.
- It should not have access to any key slots.
- Enable only the PKCS #11 communication commands.
Excrypt Manager
Perform the following steps to configure a transaction processing connection on Excrypt Manager:Go to the Application Partitions menu, select the transaction processing application partition, and select [ Modify ].
In the Permissions tab, leave the top-level Keys permission checked and uncheck the All Slots sub permission.
In the Key Slots tab, ensure that the settings do not specify key ranges. By default, the transaction processing application partition can access the entire range of key slots on the HSM.
In the Commands tab, make sure to enable only the following PKCS #11 Communication commands:
| Command | Description |
|---|---|
| ASYS | Generate signature using PKI private key |
| ECHO | Communication Test/Retrieve Version |
| GPKM | Retrieve key table information |
| GPKR | General-purpose key settings get (read-only) |
| GPKS | General-purpose key settings get/change |
| HASH | Retrieve device serial |
| PRMD | Retrieve HSM restrictions |
| RAND | Generate random data |
| STAT | HSM statistics |
| TIME | Set time |
FXCLI
Run the following role modify FXCLI commands to remove all permissions and key ranges that are currently assigned to the Transaction Processing role and enable only the PKCS #11 Communication commands:Because the Transaction Processing role was previously called the Anonymous role, the following commands specify Anonymous in the name field.
FXCLI
FXCLI
Create an application partition
To segregate applications on the HSM, you must create an application partition specifically for your use case. Application partitions segment the permissions and keys between applications on an HSM between applications. The following steps outline the process for configuring a new application partition:In the Basic Information tab, configure all the fields as follows:
| Option | Required configuration |
|---|---|
| Logins Required | Set to 1 If the HSM is in FIPS mode, you must set Logins Required to 2. |
| Ports | Set to Prod. |
| Connection Sources | Set to Ethernet. |
| Use Dual Factor | Set to Never. |
Go to the Permissions tab and select the following permissions:
| Permission | Description |
|---|---|
| Keys | Top-level permission |
| Authorized | Allows for keys that require login |
| Import PKI | Allows trusting an external PKI. Generally not recommended, but some applications use this to allow for PKI symmetric key wrapping. |
| No Usage Wrap | Enables interoperable key wrapping without defining key usage as part of the wrapped key. Use this only if you want to exchange keys with external entities or use the HSM to wrap externally used keys. |
In the Key Slots tab, we recommend you create a range of 1000 total keys that do not overlap with another application partition. Within the specified range, you should have ranges for both symmetric and asymmetric keys. If the application requires more keys, configure it accordingly.
To use the HSM functionality, you must enable particular functions on the application partition based on application requirements. Enable the following commands under Commands:PKCS #11 communication commands:
Key operations commands:
Interoperable key wrapping commands:
Data encryption commands:
Signing commands:
| Command | Description |
|---|---|
| ECHO | Communication Test/Retrieve Version |
| PRMD | Retrieve HSM restrictions |
| RAND | Generate random data |
| HASH | Retrieve device serial |
| GPKM | Retrieve key table information |
| GPKS | General-purpose key settings get/change |
| GPKR | General-purpose key settings get (read-only) |
| Command | Description |
|---|---|
| APFP | Generate PKI Public Key from Private Key |
| ASYL | Load asymmetric key into the key table |
| GECC | Generate an ECC Key Pair |
| GPCA | General-purpose add certificate to key table |
| GPGS | General-purpose generate symmetric key |
| GPKA | General-purpose key add |
| GPKD | General-purpose key slot delete/clear |
| GRSA | Generate RSA Private and Public Key |
| LRSA | Load key into RSA Key Table |
| RPFP | Get public components from the RSA private key |
| Command | Description |
|---|---|
| GPKU | General-purpose key unwrap (unrestricted) |
| GPUK | General-purpose key unwrap (preserves key usage) |
| GPKW | General-purpose key wrap (unrestricted) |
| GPWK | General-purpose key wrap (preserves key usage- |
| Command | Description |
|---|---|
| ADPK | PKI Decrypt Trusted Public Key |
| GHSH | Generate a Hash (Message Digest) Starting in firmware version 7.x, this function is enabled by default so you don’t need to specify it. |
| GPSE | General-purpose Symmetric Encrypt |
| GPSD | General-purpose Symmetric Decrypt |
| GPGC | General-purpose generate cryptogram from key slot |
| GPMC | General-purpose MAC (Message Authentication Code) |
| GPSR | General-purpose RSA encrypt/decrypt or sign/verify with recovery |
| HMAC | Generate a hash-based message authentication code |
| RDPK | Get Clear Public Key from Cryptogram |
| Command | Description |
|---|---|
| ASYS | Generate a Signature Using a PKI Private Key |
| ASYV | Verify a Signature Using a Public Key |
| GPSV | General-purpose data sign and verify |
| RSAS | Generate a Signature Using a RSA Private Key |
Create a new identity and associate it with the new application partition
For this step, you must log in with an identity that has a role with the Identity:Add permission. You can use the default Administrator role and Admin identities.
Then, in the Roles drop-down menu, select the name of the previously created application partition to associate the new identity with the previously created application partition.
You must set the new identity inside the
fxpkcs11.cfg file in the <CRYPTO-OPR> tag.Configure TLS Authentication
For this step, you must log in with an identity that has a role with the following permissions: Keys:All Slots, Management Commands:Certificates, Management Commands:Keys, Security:TLS Sign, and TLS Settings:Upload Key. You can use the default Administrator role and Admin identities.
- Enable server-side authentication.
- Create connection certificates for mutual authentication.
Enable server-side authentication
We recommend mutually authenticating to the HSM using client certificates, but the Vectera Plus also supports server-side authentication. The following steps outline the process for enabling server-side authentication. Choose one of the following methods to enable server-side authentication:Excrypt Manager
To use Excrypt Manager to enable server-side authentication, go to the SSL/TLS Setup menu. Then, select the Excrypt Port in the Connection Pair drop-down list, check the Allow Anonymous box, and select [ Save ].FXCLI
To use FXCLI to enable server-side authentication, run the tls-ports set FXCLI command to enable server-side authentication with the Allow Anonymous SSL/TLS setting:FXCLI
Create connection certificates for mutual authentication
As mentioned previously, we recommend mutually authenticating to the HSM by using client certificates, and the system enforces mutual authentication by default. The following example shows how to use FXCLI to generate a CA to sign the HSM server certificate and a client certificate. Then, it shows how to generate the client keys and CSR by using OpenSSL.- For this example, you must connect the computer that is running FXCLI to the front USB port of the HSM.
- If you do not specify a file path for commands that create an output file, FXCLI saves the file to the current working directory.
- Using user-generated certificates requires you to load a PMK on the HSM.
- If you run help by itself, a full list of available commands displays. You can see all options for a command by running the command name followed by help.
Connect your laptop to the HSM by using the USB port on the front, and run the following command.
FXCLI
Run the following command to log in with both default Admin identities. When prompted for the username and password, enter them. You must run this command twice.
FXCLI
To generate client keys and CSR, run the following OpenSSL commands from Windows PowerShell rather than from the FXCLI program:
Powershell
Powershell

