Generating HSM Key using GUI

  1. Open the P11CAT.

  2. Select the appropriate Slot and log in as User.

  3. Click Object Management.

  4. Click Generate -> Generate Key.

  5. Chose Mechanism: AES.

  6. In the Create Attribute List write: CKA_LABEL=<key_label>,CKA_ID=<key_ID>,CKA_EXTRACTABLE=CK_TRUE.

  7. Click Generate.

tmpxvrt0byh.jpg

Generating key using p11CAT tool