Make Cert using Command Prompt RRS feed

  • Question

  • Hi, I have successfully installed the certificate using the following command below by going to Start > All programs > Microsoft Visual Studio 2010 > Visual Studio Tools > Then click on “Visual Studio Command Prompt (2010)”.


    makecert -r -pe -n "CN=MyServiceCert" -b 01/01/2000 -e 01/01/2036 -eku -ss my -sr CurrentUser -sky exchange -sp "Microsoft RSA SChannel Cryptographic Provider" -sy 12.

    This was installed in my local machine running under Window 7. However, I having problem installing this sample certificate in our development machine running under Windows Server 2003 since I could not find any trace of the Visual Studio Command Prompt (2010).

    Are there any ways to install the sample certificate without using the VS 2010 command prompt?


    Any help is highly appreciated. Thanks!

    Tuesday, August 2, 2011 11:53 AM


All replies

  • You can export the certificate on the development machine and copy it to the server and install it there.

    This should help you to export it.


    Import is usually easy if explorer recognizes the file format, double click the file(s).


    • Marked as answer by Paul Zhou Wednesday, August 24, 2011 5:40 AM
    Wednesday, August 3, 2011 12:08 PM



    Has your issue been resolved? Would you mind letting us know the result of the suggestions?


    Now I will mark an answer, you can mark others that you think to be so useful to your issue.

    If you still have any questions about this issue, please feel free to let me know. We will continue to work with you on this issue.


    Have a nice day!

    Paul Zhou [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Wednesday, August 24, 2011 5:40 AM