Generating Key on Utimaco HSM

  1. Generate the key pair using the below p11tool2 command.

./p11tool2  Slot=0 LoginUser=Cloud123 PubKeyAttr=CKA_LABEL="rsa_public_key",CKA_MODULUS_BITS=2048,CKA_ID="01" PrvKeyAttr=CKA_LABEL="rsa_private_key",CKA_EXTRACTABLE=CK_FALSE,CKA_ID="01" GenerateKeyPair=RSA
  1. Verify that the keys are generated.

./p11tool2 Slot=0 LoginUser=Cloud123 ListObjects 
image-20260609-101407.png

Viewing keys in HSM slot using p11tool