Thanks Yuri for replay. i solved that problem with sudo access.
I am trying to "Push certificate & key to HSM" using "p11tool --provider /usr/lib/softhsm/libsofthsm2.so --login --write " pkcs11:model=SoftHSM%20v2;manufacturer=SoftHSM%20project;serial=1e28cce1f77ad0c7;token=CST-HSM-1234" --load-privkey keys/CSF1_1_sha256_2048_65537_v3_usr_key.pem --label CSF1_1_sha256_2048_65537_v3_usr --id 1000 " this command.
it ask for PIN : accepted pin which i have set.
it ask for Password : I have not set any password here,so i was not getting which password it need.i tried with my system password but it didn't work.
Log is as follows:
Token '' with URL 'key:' requires user PIN
importing --load-privkey: keys/CSF1_1_sha256_2048_65537_v3_usr_key.pem: Decryption has failed.
can you please help me with this.
For pushing certificate it didn't ask for password. it needed PIN only.