How to check specific certificate installed on all servers

Muzammil Shamim
Muzammil Shamim used Ask the Experts™
on
Hi,

Is there an easy way to find specific certificate installed on all servers. Some script or tool can help?

Regards,

MS
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Ankit PareekOnline Marketing
Commented:
You easily view installed certificate on server here is the step you need to follow

1.

Open certificate manager click on start button and type certmgr.msc in search box

2.

If you are seen the password dialog box provide it

3.

Now you can see all install certificate here trusted, non trusted, third party or any specific
These process will be show all certificate you can directly go to run box and type certmgr.msc to view certificate
If the server is having powershell then you can using the commands :

Get-ChildItem -Path Cert:\LocalMachine\TrustedPublisher


In case you need more details please follow below link:
http://serverfault.com/questions/589481/how-to-detect-whether-a-particular-cert-has-been-installed-on-a-windows-box

If you need to do it on all servers in your domain then you can create a bat file and select output as well and save it.

Collect all server outputfile and you have all cert info for your domain servers.

BAT file:

Get-ChildItem -Path Cert:\LocalMachine\TrustedPublisher >>cert_info.txt

Author

Commented:
Thanks for your help but is there an easy way to collect this information from all the servers at once, maybe without even logging each server separately.

Cert:\LocalMachine\Personal\*.domain.com
Then you can do it in logon script.

Script1: To get output and saved in local disk.
Script2: To get output rename and copied  to the central location.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial