what password i need while pushing private key to hsm.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

what password i need while pushing private key to hsm.

705 Views
pawar_123_y
Contributor II

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
Enter PIN:
Enter password:
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.

please guide me which password i need here.

0 Kudos
1 Reply

695 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport
0 Kudos