Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

certmgr.exe command utility location

Tags:

security

ssl

wcf

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.

like image 916
Sanjay Sanjay Avatar asked Dec 17 '22 07:12

Sanjay Sanjay


1 Answers

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.

like image 190
Rajesh Avatar answered Dec 28 '22 11:12

Rajesh