Getting Data In

How to query a Windows server for a list of computer certificates and forward this to an index?

msudhindra
Path Finder

Hello!

Our environment has a large number of Windows servers, and each of those servers gets a Computer certificate from an Enterprise PKI infrastructure.

Is there a way we can query the computer certificate stored on a Windows computer for a list of certificates issued, along with the expiration date for the certificate, and pull the data into an index?

Our Windows servers already have Universal forwarders installed on them.

Thanks in advance
Madan Sudhindra

0 Karma

woodcock
Esteemed Legend

You can use one of the methods to query your certificates here:

http://blogs.technet.com/b/heyscriptingguy/archive/2013/03/05/use-powershell-to-find-certificates-th...

Once you settle on a powershell command string, you can install this app that allows you to use any powershell command string as a Scripted Input as the Powershell Modular Input:

https://splunkbase.splunk.com/app/1477/

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...

Design, Compete, Win: Submit Your Best Splunk Dashboards for a .conf26 Pass

Hello Splunkers,  We’re excited to kick off a Splunk Dashboard contest! We know that dashboards are a primary ...

May 2026 Splunk Expert Sessions: Security & Observability

Level Up Your Operations: May 2026 Splunk Expert Sessions Whether you are refining your security posture or ...