Import trusted certificates

Hi Everybody

Is there a quick way to import a group of certificates in to windows rather than to import them seperatly and click on browse and select “Show Physical Stores” and
select “Trusted Root Certification Authorities” -> “Local Computer”?

I need to be doing this on LOTS of 2008R2 servers.

Thanks
LVL 1
George-Asked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
George-Connect With a Mentor Author Commented:
Hi

Created a batch file and copied certmgr.exe with the certs.

@echo off
d:
cd\
cd cert
certmgr.exe -add -c *********.cer -s -r localMachine root
certmgr.exe -add -c /////////////.cer -s -r localMachine root
certmgr.exe -add -c ----------------.cer -s -r localMachine root
certmgr.exe -add -c ++++++++++.cer -s -r localMachine root
certmgr.exe -add -c """""""""""""".crt -s -r localMachine root

Thanks for your inputs.
0
 
HaslerctCommented:
Hi,

If all your server is joined to domain, then you can use GPO to do this:

To add a trusted root certification authority to a Group Policy object

1. Open the Group Policy object (GPO) that you want to edit.


2. In the console tree, click Trusted Root Certification Authorities.

¿Policy Object Name/Computer Configuration/Windows Settings/Security Settings/Public Key Policies/Trusted Root Certification Authorities



3. On the Action menu, point to All Tasks, and then click Import.

 This starts the Certificate Import Wizard, which guides you through the process of importing a root certificate and installing it as a trusted root certification authority (CA) for this GPO.


Details:
http://technet.microsoft.com/en-us/library/cc738131(v=ws.10).aspx
0
 
George-Author Commented:
Hi

It is going to be for many different domains so GPO will be more work than just importing them.

Fastest/easiest I have so far is to save a MMC for certs / Local cimputer and import/browse to them.
0
 
George-Author Commented:
Fixed myself
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.