Import certificate and private key into Smart Card

5/26/2014 11:14:53 AM
Gravatar
Total Posts 1

Import certificate and private key into Smart Card

Hello everyone!

I'm working to a thesis project and I need to create and import certificate and private key into an empty Smart Card that I want to use for Digital Signature.

I create certificate and key with Keytool and I signed both with OpenSSL Demo CA. After, I use OpenSSl to create the PKCS#12 certificate for the smart card, but the format isn't correct and the application for the signature return CKR_DEVICE_ERROR.

Could you help me? 

6/4/2014 4:05:44 PM
Gravatar
Total Posts 300
Ugo Chirico http://www.ugochirico.com

Re: Import certificate and private key into Smart Card

PKCS#12 contains the private key and the Certificate.

You should separate them and then import the two pieces in the card.รน

See this page on our wiki:

http://wiki.ncryptoki.com/How-to-import-a-pfx-or-a-p12-file.ashx