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!

Where Innovation Takes Flight: The Splunk4Aviation Flight Sim Lands at .conf26

If you hear someone at .conf26 shouting "gear down, GEAR DOWN" across the show floor, you have found us.  The ...

Turn Cisco Telemetry Into Action with Cisco Data Fabric, powered by the Splunk ...

The surge in machine data is already hitting enterprise budgets, and the agentic era will only intensify it. ...

Persistent Queue at TcpOut — One of Splunk's Most Practical Features

Splunk introduced persistent queueing at the tcpout layer as one of the most practical resilience features in ...