Re: Retrieving private key from key store to create pfx
From: Michel Gallant (neutron_at_NOSPAMistar.ca)
Date: 03/31/04
- Next message: henghuei: "Re: Microsoft Certificate Server for Win2000/XP"
- Previous message: Ohaya: "Re: Problem with IIS5 - "expired" CRLs not working?"
- In reply to: Ben SKolmoski: "Retrieving private key from key store to create pfx"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 30 Mar 2004 17:38:06 -0500
Ben,
When you receive your signed certificate from the issuing cert-server and import it via XEnroll
capability, your private key (generated automatically when you generated the PKCS #10 request)
will be linked to that cert in your cert store (via an certificate Extended Property).
To export the cert and private key to a PFX file, have a look at the PFX***** api, e.g.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/security/security/pfxexportcertstore.asp
Alternatively, CAPICOM makes export/import of PFX extremely easy.
-- Mitch Gallant
MVP Security
"Ben SKolmoski" <benjiski@hotmail.com> wrote in message
news:8B93F7F5-AE4F-4E2B-A6EB-F70F08EA909E@microsoft.com...
> I am working on an app that will generate all certificate requests, retrieve the certificates and
then push the certificate the appropriate webserver. In order to push the certificates out without
having to generate the request on the individual web server I must create a pfx file. So I need
access to the private key. I am generating the certificate requests using XEnroll, when I get my
.cer file from the ca how to i find the private associated with that certificate, and how do I then
create the pfx file.
>
> Any help would be greatly appreciated.
>
> Ben
- Next message: henghuei: "Re: Microsoft Certificate Server for Win2000/XP"
- Previous message: Ohaya: "Re: Problem with IIS5 - "expired" CRLs not working?"
- In reply to: Ben SKolmoski: "Retrieving private key from key store to create pfx"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|