Hi,
I generated an EC Key on another support (before getting an HSM Key).
I try to import this EC Key in Nitrokey HSM.
Steps so far :
- I initialize the key
- added a DKEK share
- converted my EC Key to PKCS#12.
- Importing using Smart Card Shell
When i import the key, i got this error
GPError: KeyStore (OBJECT_NOT_FOUND/0) - "Certificate not found" in C:\tools\smartcardshell\scsh3\keymanager\keymanager.js#2097
at C:\tools\smartcardshell\scsh3\keymanager\keymanager.js#2097
at C:\tools\smartcardshell\scsh3\keymanager\keymanager.js#2272
I converted EC Key using OpenSSL with option -nocerts : openssl pkcs12 -export -nocerts -inkey privatekey.pem -out privatekey.p12
.