Is there a way to add a certificate to the Local Computer's Trusted Root Certification Authority using command line?
I tried using certmgr.exe, it shows success, but when I check root CA, i don't see my certificate there.
I followed the guide here: http://msdn.microsoft.com/en-us/library/ms172241.aspx
Basically trying this command:
certmgr.exe -add -c mycertificate.cer -s -r localMachine root
The command works and shows success on command line, but I can not see the certificate in actual trusted root store through MMC.
Is it the procedure for self signed certificate is different?
I have setup an IIS server with SSL Binding to this certificate, which is originally placed in "MY" store.
But I'm doing everything through automated scripts, so i want to know how can I add this certificate to trusted root CA using a cmd line option?