Proceed as follows to synchronize the key material:
For the following procedure make sure that an connected and configured PED and PED Keys are within reach.
The example below shows a 2 node cluster. For the sake of simplicity, the nodes are named as follows in the following sections:
Node1 is the primary node
Node2 is the secondary (or newly connected) node
Node2
To switch to another node click on the appropriate entry for the node in the drop-down list.
-
The Start page of the appliance appears.
-
Log into the Hardware Appliance.
On the Overview page the Application Overview shows that the application has been stopped.
The HSM Overview shows Alarm: On. -
Open the Security page.
-
In the section Luna PCI HSM Configuration a warning indicates: Appliance joined a Cluster and is therefore in Factory Reset Mode.
In the Internal HSM Status list the Alarm is On. -
Click Synchronize HSM in the warning message.
-
The HSM Guided Setup window opens. If the entries are correct click Next Step.
If this is not the case (e.g. remote PED not configured) make the appropriate settings and then continue.
For further information see HSM Initialization for Luna. -
Follow the prompts and attend to the PED. Run through and Finalize the HSM Initialization.
Synchronize Slots
-
Back on the Security page the list with the general information of HSM starts with the entry:
-
Description: Database Protection Token
-
Status: Uninitialized (1/2) or (1/x) depending on how many nodes are connected
-
Active: Inactive
-
Actions: Synchronize Slot
-
-
Click Synchronize Slot on the Database Protection Token to open the appropriate form.
-
Enter a Description for the slot.
-
Check the entry for the PED.
-
-
If the entries are coherent continue with Synchronize Slot.
-
For the HSM Slot Synchronization the setup form opens.
Follow the prompts and attend to the PED.
Run through and Finalize the HSM Slot Synchronization. -
Back on the Security page the list with the general information of HSM shows:
-
Description: Database Protection Token
-
Status: Initialized (2/2)
-
Active: Active
-
Actions: Deactivate
-
-
Repeat the synchronization for each slot.
Click Synchronize Slot eg. SignServer Crypto Worker #1 to open the appropriate form.-
Description for the slot is already set: here SignServer Crypto Worker #1.
-
Authentication: provide the Slot PIN for SignServer Crypto Worker #1.
-
Check the entry for the PED.
-
-
If the entries are coherent continue with Synchronize Slot.
-
For the HSM Slot Synchronization the setup form opens.
Follow the prompts and attend to the PED.
Run through and Finalize the HSM Slot Synchronization for SignServer Crypto Worker #1. -
Back on the Security page the list with the general information of HSM shows:
-
Description: SignServer Crypto Worker #1
-
Status: Initialized (2/2)
-
Active: Active
-
Actions: Decommission
Deactivate
Change PIN
Synchronize
-
Node1
To switch to another node click on the appropriate entry for the node in the drop-down list.
-
The Start page of the appliance appears.
-
Log into the SignServer Hardware Appliance.
On the Overview page the Application Overview indicates that SignServer is operational. -
Cluster Overview list appears.
Node1: This Node, IP address is displayed
Node2: Connected, IP address is displayed -
Click Admin Web next to SignServer in Application Overview.
The SignServer Enterprise page opens. -
The SignServer Crypto Worker #1 is displayed in a list.
Click on SignServer Crypto Worker #1. -
The SignServer Crypto Worker #1 page opens.
In addition to other information displayed on the page,
in the top menu bar (command line), the Crypto Token is shown on the far right. -
Click Crypto Token.
-
On the bottom of the page a menu bar is displayed.
Click Generate Key… on the very left side. -
A table shows the new key.
Specify the following:
New Key Alias
Key Algorithem
Key Specification
Click Generate. -
After the key has been generated, the Status Summary page opens.
The page will be updated and a key information row is displayed.
Alias: signKey
Key Algorithm: RSA 4096
Certificates: 1
A menu bar with various commands is displayed.
The status of the Crypto Worker is also shown on this page. -
To test the newly created key
select (check mark) the key to be tested.
Click Test…. -
A new page opens displaying the selected key(s).
Click Test.
Key Synchronization Mode
This section describes the Key Synchronization Mode option, which has been added to the HSM Guided Setup in the HSM Initialization for Luna process by adding a dialog box. It allows to disable automatic HSM key synchronization in
cluster environments where manual control over key distribution is required for security or regulatory reasons.
Automatic Key Synchronization
-
Enabled by default.
-
Keys are automatically replicated between cluster nodes via HSM-HA after HSM initialization.
-
The Sync Slot button is displayed in Webconf on secondary nodes for affected slots.
-
-
Disabled
-
On secondary nodes, slots are initialized only and activated without transferring keys. Keys are never transmitted via the HSM-HA channel.
-
The Sync Slot button is not displayed in Webconf on secondary nodes for affected slots.
-
Key replication must be performed manually using a Luna HSM Backup Device (on-site or remotely).
This setting is configured during HSM initialization on Node 1 per slot and stored in the cluster. It is automatically propagated to all nodes.
On Node 2, the checkbox is grayed out and the following message appears:
As this node joined an already existing cluster, the decision to automated key synchronization has already been taken. -
Clustering continues to function, but secondary nodes must be manually restored before applications can use the key material.
-
Disabling this option is an irreversible decision tied to HSM initialization. It cannot be changed without resetting the device.
Upon deactivation, a confirmation dialog box with a warning is displayed.