Programmatically add certificate to store

From: Diego Barros (me_at_someplace+_!com)
Date: 11/29/04


Date: Sun, 28 Nov 2004 18:42:40 -0800

Hi all,

I have create a self-signed x.509 certificate using the makecert.exe
and pvkimprt.exe tools. Manually I was able to add the resulting
cert.pfx file using the MMC Certificate admin tools.

How can I programmatically add a self-signed x.509 certificate
(including a private key) to the certificate store?

Any help would be greatly appreciated.

Regards,
Diego



Relevant Pages

  • Re: Autoenrollment of Computer Certificates not working as expected.
    ... Make sure that the computers are within the scope of influence of the policy. ... machine certificate from the mmc certificate snapin for computer. ... --- Steve ...
    (microsoft.public.win2000.security)
  • Programmatically add certificate to store
    ... I have create a self-signed x.509 certificate using the makecert.exe ... cert.pfx file using the MMC Certificate admin tools. ... to the certificate store? ... Regards, ...
    (microsoft.public.dotnet.framework.webservices.enhancements)
  • Re: KEYSET DOESNOT EXIST
    ... Where did you request the certificate from? ... examine it's properties in the machine store of the computer via mmc certificate ... > I was thingking assigning certificate to web site in 5 ...
    (microsoft.public.win2000.security)
  • Re: SSL bind to LDAP for password change
    ... I'm not sure what the problem is with your PKI, but in regards to the subject of your post, you don't really need to use SSL with LDAP for AD password change. ... I am unable to create a SSL certificate using the DomainController ... Domain Controller does not show up ...
    (microsoft.public.platformsdk.security)
  • Re: Obtaining X.509 Certifcates
    ... Certmgr.exe works with two types of certificate stores: ... and CRLs from your disk to a certificate store. ... Also by default, the ASP.NET service runs under the ASPNET account, ... Set the userName attribute of the element to specify ...
    (microsoft.public.dotnet.framework.webservices.enhancements)