Introduction
This article describes how to configure the various configuration options for the Fortanix DSM Clients.
Currently, the Fortanix DSM clients are configured locally through configuration files and environment variables. With the Client Configuration feature in the Fortanix DSM UI, you can set the default configurations for clients such as PKCS11 in the Fortanix DSM accounts and the PKCS11 clients will automatically get these values. This makes it simpler to configure a large number of clients.
Setting Client Configuration Options
Using the Client Configuration setting in the Fortanix DSM UI you can set the default options for the Fortanix DSM clients such as PKCS #11 and other common clients.
Setting the Configuration Options for the Common Clients
To set the default options for the Fortanix DSM Common client:
- Go to the Fortanix DSM Account settings page and select the CLIENT CONFIGURATION tab.
- On the Client Configuration page, select the COMMON tab to configure the common clients.
To set the default options for the group-level Fortanix DSM Common client:
- Go to the detailed view of a Fortanix DSM group, and in the INFO tab scroll to the Client Configuration (Advanced) section and click ADD CONFIGURATION to add a new configuration.
- On the Client Configuration page, select the COMMON tab to configure the common clients.
The following table lists the Common client configuration options.
NAME | DESCRIPTION |
---|---|
Retry timeout | When API calls that allow retrying fail with error codes, select this option to allow the client library to retry the API call up to the specified timeout in milliseconds. |
Logging |
Select this option to log all function calls made into the client library based on the following settings:
|
Setting the Configuration Options for the PKCS#11 Clients
To set the default options for the Fortanix DSM PKCS #11 client:
- Go to the Fortanix DSM Account settings page and select the CLIENT CONFIGURATION tab.
- On the Client Configuration page, select the PKCS#11 tab to configure the PKCS #11 client.
To set the default options for the group-level Fortanix DSM PKCS #11 client:
- Go to the detailed view of a Fortanix DSM group, and in the INFO tab scroll to the Client Configuration (Advanced) section and click ADD CONFIGURATION to add a new configuration.
- On the Client Configuration page, select the PKCS#11 tab to configure the PKCS#11 clients.
The following table lists the PKCS #11 client configuration options.
NAME | DESCRIPTION |
---|---|
Fake RSA X9.31 keygen support | Select this option to allow the PKCS #11 mechanism CKM_RSA_X9_31_KEY_PAIR_GEN to be specified when generating RSA keys in X9.31 generation procedure. |
Signing AES key as HMAC | Select this option to create an AES key while specifying either the CKA_SIGN or CKA_VERIFY attributes in the template. This will result in an HMAC key being created in the backend. The key should still appear as an “AES key” from a PKCS #11 perspective. |
Prevent duplicate opaque objects |
Select this option to prevent creating a duplicate opaque object. This would skip creating new Opaque objects if there is an existing Opaque object with the same |
Opaque objects are not certificates |
Fortanix DSM versions prior to 2.1.633 did not support |
Max concurrent requests |
Select this option to limit the number of concurrent HTTP requests the PKCS #11 client can make to the Fortanix DSM per slot. This effectively limits the number of concurrent API calls the client can make. This can be used to prevent a client from consuming too many resources. If set to 0, no limit is imposed. |
Exact key ops |
Select this option to explicitly specify the key operations in the attribute template when creating a key instead of the PKCS#11 having to specify the default key operations. The key created using the template will contain exactly the key ops that the user specified in the template. However, when no key operation attributes (apart from |
Setting the Configuration Options for the KMIP Clients
To set the default options for the Fortanix DSM KMIP client:
- Go to the Fortanix DSM Account settings page and select the CLIENT CONFIGURATION tab.
- On the Client Configuration page, select the KMIP tab to configure the KMIP client.
To set the default options for the group-level Fortanix DSM KMIP client:
- Go to the detailed view of a Fortanix DSM group, and in the INFO tab scroll to the Client Configuration (Advanced) section and click ADD CONFIGURATION to add a new configuration.
- On the Client Configuration page, select the KMIP tab to configure the KMIP clients.
The app-level client configuration settings for the KMIP client can be set using the Fortanix DSM REST API and after you set it, a read-only view of the setting will be visible in the detailed view of the Fortanix DSM app in the UI.
The following table lists the KMIP client configuration options.
NAME | DESCRIPTION |
---|---|
Allow secrets with unknown operations (verify/Derive/Wrap/ unwrap) | Enable this option to allow a “Secret” object to be created withVERIFY /DERIVE_KEY /WRAP_KEY /UNWRAP_KEY operations from a KMIP client. |
References
For more details about the Fortanix DSM Common Client and the PKCS #11 client, refer to the Developer’s Guide – PKCS#11 Library.
Comments
Please sign in to leave a comment.