Discovery of local certificates on a specific folder

lior grinberg2
Tera Expert

Hi,
I'm running a discovery process for certificates.
I read this article: https://docs.servicenow.com/bundle/sandiego-it-operations-management/page/product/discovery/concept/run-cert-discovery.html#run-cert-inventory-mgmt-import  

My goal is to discover certificates that are located on a specific folder. based on the article it is possible:
"The Import certificates are discovered using the pattern Import SSL Certificate, which uses the following:
Server: Host name or IP address on which the certificates are hosted. If certificates are being imported from the MID Server, you can specify localhost as the server input parameter and can leave “temp_certificate_folder” empty.
server_certificate_folder: Folder path on the server in which certificates are present.

Procedure

  1. Create a Discovery schedule with the following fields. See Schedule a horizontal discovery for more information on setting up your Discovery schedules.
    1. Select DiscoveryImport Certificates
    2. Select Certificate Discovery TypeImport Certificates.
    3. Select MID Server selection methodSpecific MID Server.
    4. Select MID Server: Choose the desired MID Server.
    5. Add the Credentials for the Windows or Linux host machine where certificates are present.
    6. Fill out the necessary fields and then Save.
  2. From the Serverless Execution pattern tab, click New to add the Import SSL Certificate pattern and then click Submit."

The problem is that in the "Procedure" part it does not explain where to enter the folder path.
Can someone please assist?
Thanks,
Lior grinberg

1 ACCEPTED SOLUTION

User511834
Tera Expert

See screenshots below for an example:

find_real_file.png

find_real_file.png

View solution in original post

6 REPLIES 6

Rishi20
Tera Expert

Discovery Pattern Launcher Parameters are set in the "Serverless Execution Pattern" record added in step 2. See attached screenshot for reference.

User511834
Tera Expert

See screenshots below for an example:

find_real_file.png

find_real_file.png

Hi,

Do we have to create the schedule for each server that has certificates locally stored?
Is there a way to create one schedule for multiple servers which have certificates stored locally ?

Regards
Suresh

Community Alums
Not applicable

Were looking to see if there is a way to discover certificates that are locally stored on a server. For example, when I run a discovery on a certain server it shows that there are no certificates on the machine. But if I run the PowerShell command :

 

dir Cert:\LocalMachine\My

 

It shows that there are 30+ certificates stored on that server