I am trying to generate private key on SmartCard-HSM but its showing that it
is unsupported.
1st i tried to generate the private key through PKCS11
module(sc-hsm-pkcs11-2.7.0.msi) provided on SC-HSM website but it doesn't
support key generation. Link of that zip file was
http://www.cardcontact.de/download/sc-hsm-starterkit.zip
C:\Program Files\OpenSC Project\OpenSC\tools>pkcs11-tool -l --pin 12345678
--key
pairgen --key-type rsa:2048 --id 10 -label "KEY" --module "C:\Program
Files\Card
Contact\sc-hsm-pkcs11\lib\sc-hsm-pkcs11.dll"
Using slot 0 with a present token (0x0)
error: PKCS11 function C_GenerateKeyPair failed: rv =
CKR_FUNCTION_NOT_SUPPORTED
(0x54)
Aborting.
C:\Program Files\OpenSC Project\OpenSC\tools>pkcs11-tool -l --pin 12345678
--key
pairgen --key-type rsa:1024 --id 10 -label "KEY" --module "C:\Program
Files\Open
SC Project\OpenSC\tools\sc-hsm-pkcs11.dll"
Using slot 0 with a present token (0x0)
error: PKCS11 function C_GenerateKeyPair failed: rv =
CKR_FUNCTION_NOT_SUPPORTED
(0x54)
Aborting.
What's this issue, can't we generate a key on SmartCard-HSM ?????
--
View this message in context: http://opensc.1086184.n5.nabble.com/SmartCard-HSM-Error-Generating-Private-Key-on-Smart-card-through-SC-HSM-PKCS11-Module-tp15599.html
Sent from the Developer mailing list archive at Nabble.com.
|