To create a MLDSA key pair, the following command can be used:
/opt/utimaco/bin/qptool2 -lib "/opt/utimaco/lib/libcs_pkcs11_R3.so" -s SLOT_ID -p PIN -token -mldsa -keytype 2 -label KEY_LABEL -gen -count 1
To be used by OpenSSL, the private and public parts of the key must share their CKA_ID. This can be checked using the p11CAT tool from Utimaco.
-
Verify that the keys are generated on the HSM using the following command:
|
›_ Console |
|
The PKCS#11 PIN can be directly introduced in the LoginUser parameter, but this will be stored in plain text in the command history.