Excrypt Manager
Perform the following steps on Excrypt Manager to create an application partition:1
Go to the Application Partitions menu and select [ Add ].
2
In the Basic Information tab, configure all of the fields as follows:
| Option | Required configuration |
|---|---|
| Role Name | Specify a name for the application partition, such as SAP_ASE. |
| Logins Required | Set to 1. If the HSM is in FIPS mode, set Logins Required to 2. The Futurex PKCS #11 library then logs in two identities. For details, see the next section. |
| Ports | Set to Prod. |
| Connection Sources | Set to Ethernet. |
| Managed Roles | Leave blank, because you specify the exact Permissions, Key Slots, and Commands for this application partition. |
| Use Dual Factor | Set to Never. |
| Upgrade Permissions | Leave unchecked. |
3
In the Permissions tab, select the following key permissions:
| Permission | Description |
|---|---|
| Keys | Top-level permission |
| Authorized | Allows for keys that require login |
4
In the Key Slots tab, create a range of key slots that doesn’t overlap another application partition. SAP ASE needs one slot for its HSM key per server instance; a range of 100 slots leaves room for more instances.
The library stores a new key in the first free slot that the logged-in session can use. If the Anonymous role on the HSM also has a key slot range, the session can use that range too, so the HSM key can land outside the application partition range. To keep SAP ASE keys inside the partition range, remove the key slot range from the Anonymous role.
5
Enable the following commands under Commands:PKCS #11 communication commands:
Key operations commands:
Data encryption commands:
| Command | Description |
|---|---|
| ECHO | Communication Test/Retrieve Version |
| HASH | Retrieve device serial |
| GPKM | Retrieve key table information |
| GPKS | General-purpose key settings get/change |
| Command | Description |
|---|---|
| GPGS | General-purpose generate symmetric key |
| Command | Description |
|---|---|
| GPSE | General-purpose symmetric encrypt (used when GPED-EXPAND is YES) |
| GPSD | General-purpose symmetric decrypt (used when GPED-EXPAND is YES) |
| GPED | General-purpose symmetric encrypt and decrypt (used when GPED-EXPAND is NO) |
FXCLI
Run the following role FXCLI commands to create the application partition and enable the commands that SAP ASE uses. Replace[role_name] with the name of the application partition and [first_slot] and [last_slot] with a key slot range that doesn’t overlap another application partition.
FXCLI
FXCLI
role modify, because role add ignores the --logins option for application partitions:
FXCLI
role get --name [role_name] and confirm the loginsRequired value, key slot range, and permissions.
FXCLI doesn’t set the Ports or Connection Sources of an application partition. A new application partition uses the Ethernet and Serial connection sources. To restrict it to Ethernet only, use Excrypt Manager.
This guide sets
<GPED-EXPAND> to YES in fxpkcs11.cfg, so the library encrypts and decrypts with GPSE and GPSD. GPED is needed only if you set <GPED-EXPAND> to NO.
