Configure general KMES settings
Perform the following tasks to configure the KMES Series 3 for communication with SignTool:- Create a Vault role and identity with the correct assigned permissions.
- Enable Host API commands.
Create a role and identity for Vault with the required permissions
Perform the following steps to create a new role and identity for Vault on the KMES Series 3:A later section shows you how to configure the name of this identity in the Futurex PKCS #11 configuration file.
In the Role Editor window, perform the following steps:
- Specify a name for the role.
- Set the number of logins required to
1. - Go to the Advanced tab and allow authentication to the Host API port only.
- Leave all other fields set to the default values.
Go to the Permissions tab and select the following permissions:
| Permission | Subpermission |
|---|---|
| Certificate Authority | Add, Export, Upload |
| Cryptographic Operations | Sign, Verify, Encrypt, Decrypt |
| Keys | Add, Export |
Under Info in the Identity Editor window, select Application for the storage location, and specify a name for the identity.
Enable Host API commands for HashiCorp Vault operation
Because the Futurex PKCS #11 library connects to the Host API port on the KMES, you must define which Host API commands to enable for the FXPKCS11 library to execute. To set the enabled commands, complete the following steps:Go to Administration> Configuration> Host API Options and enable the following commands:
| Command | Description and subcommand permissions |
|---|---|
| ATKG | Manipulate HSM trusted asymmetric key group
|
| ATTR | Generic Attribute Operations
|
| ECHO | Communication Test/Retrieve Version |
| RAFA | Filter Issuance Policy |
| RKCP | Get Command Permissions
|
| RKGP | Export Asymmetric HSM Trusted Key |
| RKGS | Generate Signature |
| RKLN | Lookup Objects |
| RKLO | Login User |
| RKPK | Pop Generated Key |
| TIME | Get/Set Time |
Configure TLS communication between the KMES Series 3 and the Vault instance
To configure TLS communication, you need to perform the following tasks:- Create a Certificate Authority.
- Generate a CSR for the System/Host API connection pair.
- Sign the System/Host API CSR.
- Export the Root CA certificate.
- Export the signed System/Host API certificate.
- Load the exported certificates into the System/Host API connection pair..
- Issue a client certificate for Vault.
- Export the Vault certificate as a PKCS #12 file.
Create a CA
Perform the following steps to create a Certificate Authority (CA):In the Certificate Authority window, enter a name for the certificate container, leave all other fields set to the default values, and select [ OK ].
The certificate container you created now displays in the Certificate Authorities menu.
Generate a CSR
Perform the following steps to generate a CSR for the System/Host API connection pair:Under the System/Host API connection pair, uncheck Use Futurex certificates, and select [ Edit ] next to PKI Keys in the User Certificates section.
When warned that SSL will not be functional until new certificates are imported, select [ Yes ] to continue.
When notified that a PKI Key Pair is loaded in the Application Public Keys window, select [ Request ].
When notified that the certificate signing request was successfully written to the file location that was selected, select [ OK ].
Sign the CSR
Perform the following steps to sign the System/Host API CSR:In the file browser, find and select the CSR that you generated for the System/Host API connection pair.
Export the Root CA certificate
Perform the following steps to export the Root CA certificate:In the file browser, go to the location where you want to save the Root CA certificate. Specify
tls_ca.pem as the name for the file, and select [ Open ].Export the signed certificate
Perform the following steps to export the signed System/Host API certificate:In the file browser, go to the location where you want to save the Root CA certificate. Specify
tls_kmes.pem as the name for the file, and select [ Open ].Load the exported certificates
Perform the following steps to load the exported certificates into the System/Host API connection pair:In the file browser, select both the root CA certificate and the signed System/Host API certificate and select [ Open ].
Issue a client certificate
Perform the following steps to issue a client certificate for Vault:A later section shows you how to configure this client certificate in the Futurex PKCS #11 configuration file.
Export the Vault certificate
Perform the following steps to export the Vault certificate as a PKCS #12 file:To perform the following steps, you must go to Configuration > Options and enable the Allow export of certificates using passwords option.
A later section shows how to configure and use them for TLS communication with the KMES Series 3.

