Search code examples
wcfsecurityssl

certmgr.exe command utility location


I'am trying to add certificate to CurrentUser location using certmgr in script:

certmgr.exe -add -r LocalMachine -s My -c -n %SERVER_NAME% -r CurrentUser -s TrustedPeople

But certmgr.exe command utility is not available in Win 7, VS2008 env.
Please tell me where and how to get.


Solution

  • You can find certmgr.exe by opening your visualstudio command prompt and typing in certmgr or just search for certmgr.exe in your windows explorer to know its location and use it in your script.

    The location would generally be as follows:

    c:\Program Files (x86)\MicrosoftSDKs\Windows\v7.0A\bin
    

    The above location is when you have installed VS.NET 2010 using hte default location during installation.