Re: Create self-signed X.509 Certificate programmatically

From: Softwaremaker (msdn_at_removethis.softwaremaker.net)
Date: 11/29/04

  • Next message: richlm: "Re: Wrong Username with System.Environment.UserName"
    Date: Mon, 29 Nov 2004 16:22:44 +0800
    
    

    Will this help ?

    http://www.softwaremaker.net/blog/PermaLink,guid,9e8cff20-4bd5-46cc-bb98-7f6019a1dc46.aspx

    -- 
    Thank you.
    Regards,
    Softwaremaker
    ==================================
    "Diego Barros" <me@someplace+_!com> wrote in message
    news:eGh1ghb1EHA.3336@TK2MSFTNGP11.phx.gbl...
    > Hi all,
    >
    > I was wondering if it was possible to programmatically create a
    > self-signed X.509 Certificate using the .NET framework?
    >
    > After playing around with certificates for a bit, I ended up installing
    > the Web Service Enhancements 2 which provides support for access the
    > certificate store. But I have not been able to find any code/classes
    > which facilitate certificate creation.
    >
    > For the moment I have used makecert.exe and pvkimprt.exe to create a
    > PVK file with a self-signed certificate, which includes a private key,
    > and imported that in to the store.
    >
    > Any help or pointers on how I can go about doing this would be greatly
    > appreciated.
    >
    > Regards,
    > Diego
    

  • Next message: richlm: "Re: Wrong Username with System.Environment.UserName"

    Relevant Pages

    • 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)
    • Re: Obtaining X.509 Certifcates
      ... > Certmgr.exe works with two types of certificate stores: ... > and CRLs from your disk to a certificate store. ... > In order for WSE to obtain the X.509 private key from the local ... > Also by default, the ASP.NET service runs under the ASPNET account, ...
      (microsoft.public.dotnet.framework.webservices.enhancements)
    • Re: Deploying Root Cert via GPO
      ... certificate store, and by mmc, you are accessing current computer's ... Windows Server - Directory Services ... > certificate issued by the above root cert. ...
      (microsoft.public.windows.group_policy)
    • Re: Shared Certificate Store in Active Directory
      ... the case, how do you set up a "Shared Certificate Store", ... When configuring Active Directory based IPSec policy to ...
      (microsoft.public.win2000.security)
    • Re: Publishing Versus Mail for CSR on SBS 2003 Premium
      ... publishing rule in ISA, not in IIS like in the blog post. ... install a third party certificate. ... AddressBook // The X.509 certificate store for other users. ... TrustedPublisher // The X.509 certificate store for directly trusted ...
      (microsoft.public.windows.server.sbs)