how to read softhsm keys

1k views Asked by At

I am using softhsm2 to generate keys/tokens, and I don't know how I can read my keys value. I am using this command to get the hsm content but it doesn't give a lot of details :

pkcs11-tool --module /usr/lib64/pkcs11/libsofthsm2.so -l -t

is there any other tools to manage sofhsm ?

Thank you!

1

There are 1 answers

0
Akash Maharana On

I hope you have not installed the pkcs11-tool in your machine and probably your HSM is hosted in a remote machine. If this the case plesae check Expose SoftHSM library to the code running in host machine or https://github.com/rbroggi/softhsm-daemon