Key archival and smartcard CSP
From: dot (Stephane)
Date: 01/28/04
- Next message: Marco: "Re: impersonation of a user process with Admin rights"
- Previous message: dot: "Re: Requesting a Key Archival Certificate"
- Next in thread: Vishal Agarwal[MSFT]: "Re: Key archival and smartcard CSP"
- Reply: Vishal Agarwal[MSFT]: "Re: Key archival and smartcard CSP"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 28 Jan 2004 01:31:07 -0800
Hi,
I'm generating 3 certificates for my smartcard :
- 1 for authentication,
- 1 for signature,
- 1 for encryption with key archival on my Win2K3 entreprise server.
Using xenroll, i managed to create the first two certificates, but can't generate the 3rd because the Smartcard CSP (here Schlumberger) doesn't allow key export.
So i think of a solution like:
- create the certirficate with key archival using a software CSP (MS_ENHANCED_PROV) following the MSDN sample "Requesting a Key Archival Certificate"
- When the certificate has been issued, i get the container name and the private key from the software CSP and reimport all that in the smartcard CSP,
- i import then the issued certificate in the smartcard using CryptSetKeyParam(KP_CERTIFICATE)
My questions are:
* Is that a good solution or should i find something else ? Maybe there's something simpler my modifying the certificate properties ?
* I dont know the format of the certificate i must provide to CryptSetKeyParam, and even the CSPDK documentation doesn't mention it. How can i convert my certificate recovered using CertRequest->GetCertificate or CertRequest->GetFullResponseProperty to something usable by KP_CERTIFICATE parameter ?
Thanks a lot for any help.
Stephane
- Next message: Marco: "Re: impersonation of a user process with Admin rights"
- Previous message: dot: "Re: Requesting a Key Archival Certificate"
- Next in thread: Vishal Agarwal[MSFT]: "Re: Key archival and smartcard CSP"
- Reply: Vishal Agarwal[MSFT]: "Re: Key archival and smartcard CSP"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|