WellingtonIS
asked on
Script to install a .cer
Is there a script or a way to remotely install a .cer self signed. I know you can via a GPO but I have so many I really would rather make this a one time install.
If you are using multiple internal self-signed certs, consider implementing a Certificate Authority. Properly implemented, clients will automatically trust most certs issued from the CA (code signing certs is one example where this is not the case, they still have to be imported to the local trust store on clients).
I have done this before with a batch file. It is very simple command is below.
certmgr.exe -add C:\test.cer -s -r localMachine root
Certmgr.exe is not installed by default on XP machines so you will need to have it on the machine before you can use it.
certmgr.exe -add C:\test.cer -s -r localMachine root
Certmgr.exe is not installed by default on XP machines so you will need to have it on the machine before you can use it.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thx. I tweeked a little but it worked. Much appreciated.
Glad to hear. good luck.
http://msdn.microsoft.com/en-us/library/e78byta0(v=vs.80).aspx
//WebFooL Untangle.com Evangelist