Keystore configuration

Description

Configure the Stream keystore before creating or signing CA material. Stream Offline CA supports both Stream-managed software keystores and PKCS#11 HSM keystores.

Select the keystore model before the ceremony starts. Changing the keystore model during a ceremony changes the records, backup, and custody expectations.

Configure a keystore

  • Software keystore

  • PKCS#11 keystore

Use this path when the approved operating model stores CA keys in a Stream-managed software keystore. For the Stream-side reference, see Software keystore.

  1. In Stream, open Keystores and keys.

  2. Add a new keystore.

  3. Select Software.

  4. Enter the approved keystore name and description.

  5. Save the keystore.

  6. Verify that the keystore is available.

Software keystore creation dialog

Include the software keystore in the Stream Offline CA backup strategy so that the appliance state can be restored for future operations.

Use this path when the approved operating model stores CA keys in an HSM exposed to Stream through PKCS#11. For the Stream-side reference, see PKCS#11 HSM.

  1. Complete the middleware procedure for the selected HSM.

  2. In Stream, open Keystores and keys.

  3. Add a new PKCS#11 keystore.

  4. Enter the approved PKCS#11 library path.

  5. Parse the library.

  6. Select the approved slot.

  7. Enter the approved user type and PIN.

  8. Save the keystore.

  9. Verify that Stream can access the expected key slot.

The exact PKCS#11 library path and slot values depend on the selected HSM middleware and must be confirmed before production use. Use the selected HSM page for middleware installation: YubiHSM, nShield Edge, Thales Luna, or Proteccio Bull.

PKCS#11 parameters to prepare

For HSM-backed CA keys, prepare the following values before the appliance starts. The operator should copy values from the approved HSM procedure, not discover them during the ceremony.

Parameter Purpose in Stream Ceremony record

PKCS#11 library path

Dynamic library loaded by Stream to talk to the HSM middleware.

  • Library path

  • Package or middleware version

  • HSM preparation reference

Slot identifier

HSM token slot selected by Stream when creating or using keys.

Slot ID or token label shown in Stream, without exposing PINs.

User type

PKCS#11 login role used by Stream, such as the normal user role supported by the HSM.

Configured role name and approval reference.

PIN or authentication mode

Secret used by Stream to open the HSM session.

Record only the custody model and verification result. Do not record the PIN value.

Key label

Human-readable label used to identify the CA key in the keystore.

  • Key label

  • Key algorithm

  • Size or curve

  • Creation timestamp

  • CA association

HSM backup reference

Vendor-specific backup material required to recover the HSM key state.

  • HSM backup identifier

  • Custodian names

  • Media labels

  • Vendor restore procedure

Verification after save

After saving a keystore, validate it before creating CA material:

  1. Refresh the Stream keystore list.

  2. Open the keystore details.

  3. Verify that the expected slot or software keystore is displayed.

  4. For PKCS#11, verify that Stream can list or create the expected key object.

  5. If the keystore is HSM-backed, verify that the matching HSM backup or restore procedure is available before continuing.

Software keystore available in Stream