Skip to main content
Skip table of contents

11a - Create a CryptoToken in EJBCA - SDK5

NOTE If you have already performed these steps before creating the keys with the clientToolBox, restart EJBCA using the command service wildfly restart.

If you are creating the crypto token for the first time, proceed with the following steps:

  1. Login to EJBCA as Superadmin.
  2. Select Crypto Tokens and click Create new:
  3. Specify the values as follows:

    For EJBCA 7.5 and above with SDK5:

    • Name: <anything> (For example "CloudHSM Root Slot")

    • Type: PKCS#11 NG

    • Authentication Code: <HSM_CryptoUser>:<password> (ex. CryptoUser:CUPassword123!)

    • AutoActivation: Checked for all but Root CAs, generally

    • Use Explicit ECC parameters: Clear

    • PKCS#11: Library: AWS CloudHSM

    • PKCS#11: Reference Type: Slot/Token Label

    • PKCS#11: Reference: hsm1

    • PKCS#11: Attribute Type: Default
  1. Click Save.

  2. The Crypto Token will be added and if any keys are available for use they will be shown.  If this a new setup it will be empty.
  3. You may now create keys in the Crypto Token:


JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.