dotnetspider.com
Login Login    Register      

TutorialsForumCareer DevelopmentResourcesReviewsJobsInterviewCommunitiesProjectsTraining

Subscribe to Subscribers
Talk to Webmaster
Tony John

Facebook
Google+
Twitter
LinkedIn
Online Memberstarunkumar
More...
Join our online Google+ community for Bloggers, Content Writers and Webmasters




Resources » .NET programming » General

Create self-signed certificate with Makecer.exe


Posted Date:     Category: General    
Author: Member Level: Gold    Points: 15



 


makecer.exe

makecer.exe is the tool comes with Visual Studio, using this tool we can create self-signed certificates.

Steps to create the self signed certificate

1. Open the visual studio command promt

2. Type the following command to check the makecer.exe is installed on your system or not 99.9% it is installed in your system as it is the tool comes with Visual Studio.


makecer


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.

++
Thanks and Regards
Meetu Choudhary
http://msdotnetmentor.com





Did you like this resource? Share it with your friends and show your love!


Responses to "Create self-signed certificate with Makecer.exe"
Author: Gaurav Arora    07 Apr 2009Member Level: Gold   Points : 3
Hi Meetu,

Its a very good and informative article.

I need code can you please post full code.



Author: Deepika Haridas    11 Apr 2009Member Level: Gold   Points : 1
Hi,

Great Article..
Must try..

Are there any other steps to follow for this..
Then please do let me know..



Author: Dharmaraj Nagarajan    11 Apr 2009Member Level: Gold   Points : 1
Hi Meetu,
Very useful information. Thanks for sharing with us. Please rate the answer If it helps you.
Regards,
Dharma



Author: PHANI HARSHITHA MADALA    16 Apr 2009Member Level: Gold   Points : 1
Hi,

Really a nice article but i have a doubt where this certificates are used.It would have been more helpfull if you have given brief introduction about these certificates for a novice like me in this subject.



Feedbacks      

Post Comment:




  • Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
  • No HTML formatting and links to other web sites are allowed.
  • This is a strictly moderated site. Absolutely no spam allowed.
  • Name:   Sign In to fill automatically.
    Email: (Will not be published, but required to validate comment)



    Type the numbers and letters shown on the left.


    Next Resource: Compiled Sql Statements
    Previous Resource: Technical Problems In Computers and Solutions.docx
    Return to Resources
    Post New Resource
    Category: General


    Post resources and earn money!
     
    More Resources
    Popular Tags   Tag posting guidelines   Search Tags  
    Makecer.exe  .  Makecer  .  Self-signed certificate with Makecer.exe  .  Create self-signed certificate  .  



    Follow us on Twitter: https://twitter.com/dotnetspider

    Active Members
    TodayLast 7 Daysmore...

    Awards & Gifts
    Email subscription
  • .NET Jobs
  • .NET Articles
  • .NET Forums
  • Articles Rss Feeds
    Forum Rss Feeds


    About Us    Contact Us    Copyright    Privacy Policy    Terms Of Use    Revenue Sharing sites   Advertise   Talk to Tony John
    Copyright © SpiderWorks Technologies Pvt Ltd., Kochi, India
    2005 - 2012 All Rights Reserved.
    .NET and other trademarks mentioned in this site belong to Microsoft and other respective trademark owners.
    Articles, tutorials and all other content offered here is for educational purpose only.
    We are not associated with Microsoft or its partners.