Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Powershell script for Certificate Discovery

wildturkey07
Tera Contributor

My company recently began using the Certificate Management Module. We have discovered certificates that are either have a hostname or a port. However, we have a few machines where the certificates do not belong to a CA, assigned a port, or associated with a hostname. These certificates are stored on the server. When discovery runs, it shows there are no certificates on one of the servers. But when I run the Powershell command dir Cert:\LocalMachine\My, I can see there are around 60 certificates on the server. My question is can I make a pattern design that runs that Powershell command  on servers during discovery? If so, how do I set it up? 

1 REPLY 1

Niklas Peterson
Mega Sage

Hi,

Starting in version 1.1.7 of Certificate Inventory Management there is a pattern to import certificate files.

Pattern: Import SSL Certificate

 

Regards,
Niklas