.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal

Home >> Articles >> .Net Framework >> Post New Resource Bookmark and Share   

 Subscribe to Articles


Posted By:Meetu Choudhary       Posted Date: May 15, 2009    Points: 25    Category: .Net Framework    URL: http://www.dotnetspark.com  

makecer.exe is te tool which omes with the visual studio using this tool we can create self signed certificates.

steps once have to follow to create the self signned document

1. open the visual studio command promt

2. type the foolowing command to check the makecer.exe is installed on your system or not 99.9% it is instaled in your system as it is the tool hich vs provieds you




3. If the above command works then use the following command to create a certificate.


makecert -sk "MyContainer" -ss MY -r -n "CN=YourCommonName" mycer.cer


this will creates an RSA key-pair and a matching certificate in the CurrentUser "MY" certificate store, and also give the output as a public certificate to the file mycer.cer.

The matching private key is placed in the CryptoAPI keycontainer named "MyContainer"(which contains the encrypted private key for this certificate).

The cert is self-signed (-r) and is exportable with private key (-pe).

You can use that keycontainer name (MyContainer) to instantiate a .NET CSP instance too.
For Details and other articles visit My Blog: http://aspnetbymeetu.blogspot.com/2009/04/makecerexe.html

Thanks and Regards
Meetu Choudhary

 Subscribe to Articles


Further Readings:


    No response found. Be the first to respond this post

    Post Comment

    You must Sign In To post reply
    Find More Articles on C#, ASP.Net, Vb.Net, SQL Server and more Here

    Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend