-
Open the P11CAT.
-
Select the appropriate Slot and log in as User.
-
Click Object Management.
-
Click Generate -> Generate Key.
-
Chose Mechanism: AES.
-
In the Create Attribute List write: CKA_LABEL=<key_label>,CKA_ID=<key_ID>,CKA_EXTRACTABLE=CK_TRUE.
-
Click Generate.
Generating key using p11CAT tool