Discover Certificates in your Network

You can automatically discover all the certificates available in your network using Key Manager Plus, irrespective of the CA. You can discover the certificates anytime as needed or periodically based on scheduled tasks. The discovery options are quite flexible - you can discover certificates from a single server or multiple servers, and from multiple ports, at one go. Key Manager Plus also allows users to rediscover the expired and about-to-expire certificates from the 'Certificate Expiry' widget in the Dashboard.

  1. Discover SSL Certificates on Demand.
  2. Discover SSL Certificates Automatically through Schedules.
  3. Discover Certificates Mapped to User Accounts in Active Directory.
  4. Manage Certificates from MS Certificate Store and Local CA.
  5. Discover SSL Certificates from SMTP Servers.
  6. Discover SSL Certificates Deployed to Load Balancers.
  7. Discover SSL Certificates Deployed to FortiGate Firewall.
  8. Discover SSL Certificates from a Shared Directory Path.
  9. Discover SSL Certificates using KMP Agents.
  10. Discover SSL Certificates Hosted on AWS (ACM & IAM).
  11. Rediscover SSL Certificates.
  12. The Centralized Certificate Repository.
  13. Export Private Key / Keystore File.
  14. Update Servers with Latest Certificate Versions.

1. Discover SSL Certificates on Demand

To discover the certificates manually:

  1. Go to the Discovery tab in the GUI.
  2. Click the SSL tab.
  3. Select an option for the type of discovery.
    1. Hostname/IP address – Enter the name or IP address of the server from which the SSL certificates are to be discovered.
    2. IP address range – Specify an IP range and discover all the SSL certificates available in the servers falling under the range.
    3. From file – If you have a list of the servers in which certificates are available in your network saved as a text file, it can be loaded directly and all these certificates can be discovered.
    4. Subnet – You can also choose to discover resources from specific subnet works within an IP range using this option.
    5. In SSL Hostname discovery, if you want the host name to resolve to a specific IP address, provide the IP address after host name separated by colon (:) as shown below example.com:168.203.56. Same format can be provided in "From file" discovery as well.

Note: The file to be imported must be a text file containing the hostname or IP addresses of individual servers, entered on separate lines. Enter the ports to scan on each server separated by a space, entered on separate lines as illustrated below:

0.0.0.0 6565
test-username-10 443
192.168.20.20 7272 

If you do not specify any port, SSL certificates using the default port 443 will be discovered.

  1. For bulk discovery using IP address range and Subnet options, there is an Exclude IP Address field that allows you to exclude specific resources from being discovered. Specify the IP addresses of the resources that need to be excluded one below another.
  2. Specify values for the Time out and the Port options.
    1. Time out: Refers to the number of seconds the application tries to discover the certificates (each). The default value is 5 seconds.
    2. Port: It refers to the port on the end terminal used for SSH communication. Port 443 is used by default for SSL certificates.

    Notes:

    1. You can specify multiple ports for the discovery of SSL certificates in a single discovery instance, separated by commas.
    2. During SSL discovery or when manually adding certificates to Key Manager Plus repository, you can choose to exclude specific certificates by providing their details (common name and serial number) in the Settings >> SSL >> Excluded Certificates tab.
     
  1. Select the Bypass Proxy Settings checkbox to bypass proxy server settings if you have enabled them under Admin Settings. If this option is selected, Key Manager Plus will bypass the proxy server and directly perform online certificate discovery. The option to bypass the proxy server is available for SSL certificate discovery using Hostname/IP Address, IP Address Range, From File, and Subnet modesIn addition, you can bypass proxy server during scheduled certificate discovery as well.

Click Discover. When you click the Discover button, you will be redirected to the Discovery Audit page where the status of the current discovery instance is updated.

cert-manage-1

 2. Discover SSL Certificates Automatically through Schedules

SSL Certificate discovery can also be scheduled to occur at periodic intervals.

  1. Click the Schedule tab in the GUI.
  2. Click the Add Schedule button.
  3. In the Add Schedule window, enter a Name for the schedule and select the Schedule Type as SSL Discovery.
  4. Specify the Start and End IP addresses and the Port on the end terminal to check for SSL certificates.
  5. Select the Recurrence Type – hourly, daily, weekly, monthly, or once only. Set the Starting Time, Date or Day corresponding to the option chosen.
  6. Enter the email addresses of the users to be notified. The email settings can be configured from the Settings >> Mail Server Settings tab.
  7. Click the Save button.

You will get a message confirming addition of a new schedule.

The result of the schedule execution will get updated in the Schedule audit and the Discovery audit tabs.

3. Discover Certificates Mapped to User Accounts in Active Directory

Key Manager Plus helps you discover and manage the certificates mapped to user accounts in Active Directory.

To perform AD user certificate discovery,

  1. Navigate to Discovery >> AD User Certificate.
  2. Select the required Domain Name, which forms part of the AD from the drop-down.
  3. Specify the DNS name of the domain controller. This domain controller will be the Primary Domain Controller.
  4. In case, the Primary Domain Controller is down, Secondary Domain Controllers can be used. If you have Secondary Domain Controllers, specify their DNS names in comma separated form. One of the available secondary domain controllers will be used. When you use SSL mode, make sure the DNS name specified here matches the CN (common name) specified in the SSL certificate for the domain controller.
  5. Enter a valid user credential (User Name and Password) of an user account within the particular domain. Then enter the users / user groups / OUs in which you want to perform the certificate discovery and click Import. To perform certificate discovery for groups/OUs as a whole, choose Groups/OU tree import type and select the required groups from the drop down list.
  6. Key Manager Plus also provides an option to import AD users while performing the certificate discovery. Enable the check box Import AD users to import those AD user accounts into Key Manager Plus for which the certificate discovery is done.
  7. The discovered certificates automatically get added to the certificate repository of Key Manager Plus.

cert-manage-2

4. Manage Certificates from MS Certificate Store and Local CA

Key Manager Plus helps you request, acquire, discover, consolidate, track and manage certificates from MS Certificate Store and those issued by Local certificate authority. To begin managing certificates from Microsoft Certificate Store and Local Certificate Authority, start Key Manager Plus service using your domain administrator account. If you are using a domain service account to run Key Manager Plus, make sure you have configured the account in your local admin group beforehand.

To import certificates from Microsoft Certificate Store and certificates issued by Local CA,

  1. Navigate to Discovery >> MS Certificate Store.
  2. To discover and import certificates issued by Microsoft CA alone, select Local Certificate Authority option from the drop down.
  3. To discover all the certificates from MS certificates store, choose Certificate Store as the Type. You can discover certificates from the Certificate Store in three ways:
    1. Using Server Name - Enter the name of the Server where you require Key Manager Plus to scan for certificates
    2. Using IP Address Range - Enter the Start and End IP addresses to scan the IP range specified
    3. From File - Click Browse and import a text file with a list of hostnames/IP addresses. To achieve this, upload a text file (in the .txt format) with the hostnames or IP addresses of the devices to be scanned. Ensure that the hostnames/IP addresses are listed line-by-line as shown below:
      242.209.75.62
      123.243.229.41
  4. Select the checkbox to Use Key Manager Plus service account credentials for authentication or you can specify the other details such as the Name of the Windows domain controller machine and domain admin credentials.

  1. If you choose to Use Key Manager Plus service account credentials for authentication, you can select IP Address Range to mention the Start IP and End IP to discover the certificates.
  2. Specify the certificate Store Name from which the certificates are to be discovered and imported. Following format to be used while specifying the certificate store name:\\server_name\store_name
    • e.g., server_name\Root (To discover certificates from trusted root certification authorities)
    • e.g., server_name\My (To discover personal certificates)
  3. Or you can also click Get Stores to fetch the list of stores available in the Windows Domain Controller and choose the required certificate store that you want to discover.
  4. Click Discover.
  5. You can view the discovered certificates in SSL >> Certificates Tab.
  6. To discover certificates issued by a particular MSCA, select Type as Microsoft Certificate Authority from the drop-down, enter the Server Name, required credentials, and enter an MSCA name in the Microsoft Certificate Authority text box. Please note that this text box will be visible only if your Key Manager Plus server is installed in a Windows Server machine.
  7. During discovery, you can choose to include expired, revoked certificates by selecting the respective check boxes. Select Date Filter and enter a date range to filter the discovered certificates as per the given range. Select the Template Name / OID option to choose certificate templates. You can add upto five certificate templates for each discovery operation. This option is available during scheduled discovery of certificates issued by a particular MSCA as well.

5. Discover SSL Certificates from SMTP Servers

You can discover SSL certificates used by mail servers present in your network and consolidate them in Key Manager Plus' centralized certificate repository. To perform mail server certificate discovery,

  1. Navigate to Discovery >> Mail Server Certificate.
  2. Provide the Host Name or IP Address from which the certificate is to be discovered and specify the Port number. You can specify multiple port values by separating them with commas.
  3. Click Discover.

On successful discovery, the certificates are fetched from the specified resources and added to Key Manager Plus' repository.

6. Discover SSL Certificates from Load Balancers

Key Manager Plus also allows you to discover SSL certificates deployed to load balancers within your network and consolidate them in its secure, centralized repository. Key Manager Plus currently supports certificate discovery from Linux-based load balancers only (i.e., Nginx, F5, Citrix etc.,) and the process is tunnelled via SSH. To perform load balancer certificate discovery, 

  1. Navigate to Discovery >> Load Balancer.
  2. Specify the Server Name, Port number, User Name and Password.
  3. You can opt for a key-based authentication for password-less resources by choosing the Select Key option. Upload the private key associated with the required user account and specify the key passphrase.
  4. Select a load balancer type from the drop-down. Key Manager Plus supports three types of Load Balancer discovery: General, BIG-IP F5,  and Citrix. You can perform Citrix type discovery in two ways: using CLI commands and using REST API. 
  5. Once you have provided the user credentials, specify the Path in the server from which certificates have to be discovered.
  6. The Discover certificate list option fetches all the certificates available in the specified path and helps you choose certificates that you wish to discover and import.
  7. To discover Citrix load balancers, do the following:
    1. Choose the type as General, enter the Citrix load balancer path, and click Discover.

    2. In case that does not work, choose the type as Citrix, enter the path, and try again.  

    3. If both the above methods fail, choose the type as Citrix, select the checkbox Use REST API (By default KMP uses CLI commands for discovery and fetching certificates).
    4. Select a Citrix Credential from the dropdown. 
    5. Click Manage Credentials to add or delete a credential.
      1. In the pop-up that appears, click to Add and mention the Credential Name, Server IP, Citrix Username and Citrix Password.
      2. Click Test Login to test the credential and click Save Credentials.
      3. To Delete a credential, select a credential you want to delete and click Delete and in the pop-up that appears click Ok.
    6. Enter the path, and click Discover.
    7. During Citrix load balancer discovery using REST API, you can choose to bypass your proxy server settings by selecting the Bypass Proxy Settings checkbox. This option is allows you to bypass the proxy server you have enabled under Admin Settings directly perform Citrix load balancer discovery through the internet.
    8. Please note that you can choose to bypass proxy server settings for Citrix load balancer discovery only if you select the Use REST API (By default KMP uses CLI commands for discovery and fetching certificates) option. The bypass proxy server option is also available during scheduled Citrix load balancer discovery.
  1. The certificates are successfully discovered and imported into Key Manager Plus' centralized certificate repository. You can view them from the SSL >> Certificates tab.
  2. Certificate files with extensions .keystore and .pfx require their passphrases to be provided in order to be imported into Key Manager Plus.
  3. These types of certificate files are not automatically imported into the certificate repository but are grouped separately under JKS / PKCS section (present in the top-right corner of the window).
  4. To import these certificates, click JKS / PKCS, and in the window that opens, choose the certificate file(s) that you wish to import and click Import from the top menu. In the pop up that opens, provide the file passphrase(s) and click Import.

The chosen certificate files are successfully imported and added to Key Manager Plus' certificate repository.

Note: During the Citrix REST API-based load balancer discovery, the user credentials you provide must have sufficient permissions to read files and for REST API access. Therefore, to ensure success of the discovery, it is recommended that you supply the credentials of an account which has the superadmin role.

7. Discover SSL Certificates from FortiGate Firewall

You can discover SSL certificates deployed to the FortiGate Firewalls within your network and consolidate them in a secure, centralized repository of Key Manager Plus. Do the steps that follow to perform FortiGate Firewall certificate discovery:

  1. Navigate to Discovery >> Load Balancer.
  2. Select FortiGate Firewall from the Type drop-down.
  3. Select a FortiGate Credential from the FortiGate Credentials List drop-down. 
    FortiGate Firewall Discovery
  4. Click Manage Credentials to add or delete a credential. In the pop-up that appears:
    1. To add a credential, click Add and enter the Credential Name, Server IP, and API Key.
    2. Click Save Credentials to add a new FortiGate Firewall credential.
    3. To delete a credential, select a credential that you want to delete and click Delete.
    4. In the pop-up that appears, click Ok to delete the selected credential.
  5. Specify the Port number. By default, the port number will be 22
  6. Enter the path, and click the Discover certificate list. From the list that opens, select the required certificates to be added to the centralized certificate repository of Key Manager Plus.
  7. In addition, you can bypass your proxy server settings by enabling the Bypass Proxy Settings checkbox. This option allows you to bypass the proxy server that you have enabled under Admin Settings directly, to perform the FortiGate Firewall discovery through the internet.
  8. Now click Discover.
  9. The certificates are successfully discovered and imported into the centralized certificate repository of Key Manager Plus. 

Now, you can view the discovered certificates deployed to FortiGate Firewall from the SSL >> Certificates tab.

8. Discover SSL Certificates from a Shared Directory Path

Key Manager Plus allows you to discover SSL certificates that are saved in a shared directory path within your network and consolidate them in its secure, centralized repository. Using this option, you can discover all the certificate files saved in a particular folder and then, either add all the certificates to the repository or choose the ones you want to import. During the discovery process, Key Manager Plus will scan only the folder specified in the path and nowhere else in the target machine.

Follow the below steps to discover and import SSL certificates from a shared directory path:

  1. Navigate to Discovery >> Shared Path. Choose Windows or Linux/Mac OS from the Type drop-down.
  2. For Windows:
    1. Enter the Server Name of the target machine where the shared path resides; leave this field empty if you are entering a directory path from your local machine. 
    2. Select the checkbox to Use Key Manager Plus service account credentials for authentication or provide a username and password.
    3. Specify the directory path of the target machine. Example: D:\sharedpath\subsharedpath.
  3. For Linux/Mac OS:
    1. Enter the Server Name of the target machine where the shared path resides, the port, and the username. 
    2. For authentication, either choose the Password option and enter the password directly or choose the Select Key option and upload a private key with its passphrase for SSH key-based authentication.
    3. Specify the directory path of the target machine. Example: \home\test\shared.
  4. Click the Discover certificate list option to fetch all the certificates available in the specified path. From this list, choose certificates that you require and click Discover. If you don't choose any specific files, all certificate files found in the shared path will be imported.
  5. Certificate files with extensions .keystore and .pfx are grouped separately under the JKS / PKCS option in the top right corner. To import these certificates, click JKS / PKCS, choose the certificate files that you wish to import, provide the file passphrase, and click Import.

To check the status of the discovery, click the Discovery Audit tab.

Note: Certificate files that are over 30 KB in size will not be imported during this discovery operation.

9. Discover SSL Certificates using KMP Agents

Key Manager Plus provides IT administrators the option to discover SSL certificates deployed across their network through agents. This functionality enables them to download and deploy Key Manager Plus agents to target systems, discover, and import certificates from those systems into a centralized certificate repository directly from the Key Manager Plus web interface. The connection between the Key Manager Plus server and the server(s) in which the agent is deployed is over HTTPS and is completely secure. Currently, Key Manager Plus agents are available only for Windows servers.

Performing certificate discovery through agents is helpful in the following scenarios:

  • When the administrative credentials of the target server(s)—required to perform the discovery operation—are not available in the Key Manager Plus server.
  • When certificates have to be discovered from servers that Key Manager Plus doesn't have direct access to—for instance, servers in demilitarized zone (DMZ). In such cases, the agent is usually installed in an intermediate jump server that has the permission to access the remote servers and pass on the required information to the Key Manager Plus server.

Steps to perform SSL certificate discovery through Key Manager Plus agent:

  1. Navigate to Discovery >> Agent.
  2. Choose the type of discovery you want to perform—domain based, Certificate Store or certificates issued by Microsoft Certificate Authority.
  3. Select the required agent from the drop down to perform the operation.
  4. If the agent is busy, wait and try again after sometime.
  5. For Microsoft CA discovery, you can choose to exclude expired / revoked certificates or perform discovery based on issue date or certificate template using the filters provided. Select the Template Name / OID option to choose certificate templates. This option is available during scheduled discovery of certificates issued by Microsoft Certificate Authority as well.
  6. Click Discover

The certificates are discovered from the servers in which the agent is installed and imported into Key Manager Plus' certificate repository.

9.1 Discover SSL Certificates from a Directory Path in a Remote Machine

Key Manager Plus allows you to discover SSL certificates that are saved in a directory path in a remote machine that is not directly accessible by the Key Manager Plus server—this is achieved through the Key Manager Plus agent. Once the certificates are discovered, you can consolidate them into Key Manager Plus's centralized repository. Using this option, you can discover all the certificate files saved in a particular folder and either add all the certificates to the repository or select only the ones you require. During the discovery process, the Key Manager Plus agent will scan only the folder specified in the path and nowhere else in the target machine.

Follow the below steps to discover and import SSL certificates from a directory path in remote machine:

  1. Navigate to Discovery >> Agent and choose Directory as the type of discovery.
  2. Select an agent from the drop-down menu.
  3. Specify the directory path of the target machine, eg: D:\sharedpath\subsharedpath.
  4. Click the Discover certificate list option to fetch all the certificates available in the specified path.
  5. From this list, choose certificates that you require and click Discover.
  6. Enter a time out interval in seconds.
  7. Certificate files with extensions .keystore and .pfx are grouped separately under the JKS / PKCS option in the top right corner. To import these certificates, click JKS / PKCS, choose the certificate files that you wish to import, provide the file passphrase, and click Import.

To check the status of discovery, click the Discovery Audit tab.

Notes:

  • This feature will work with Key Manager Plus agent build 5960 and above only.
  • Certificate files that are over 30 KB in size will not be imported during this discovery operation.

10. Discover SSL Certificates Hosted on AWS (ACM & IAM)

Key Manager Plus enables you to discover, import, and configure expiry notifications for SSL certificates hosted in the following Amazon Web Services: AWS Certificate Manager (ACM) and AWS Identity and Access Management (IAM).

Follow the steps below to discover and import SSL certificates from ACM / IAM into Key Manager Plus.

Step 1: Configure AWS credentials in Key Manager Plus

To add your AWS credentials in Key Manager Plus,

  1. Navigate to Discovery >> AWS >> Manage AWS Credential and click Add.
  2. In the Create AWS Credentials window that opens, provide the Credential Name, Access Key and Secret Key.
  3. Use the Test Login option and check if the login is successful. You will be notified if the login is successful
  4. Then click Save. The credentials are successfully saved in Key Manager Plus.

Step 2: Discovery and Import

  1. Switch to Discovery >> AWS tab.
  2. Choose the appropriate AWS Credentials from among the ones configured in Key Manager Plus or provide your Access Key and Secret Key.
  3. Choose the required AWS Service from which certificates need to be imported: ACM or IAM.
  4. To import certificates from ACM, select ACM under AWS service and choose the service Region.
  5. Click Discover.
  6. Certificates are discovered from resources in the selected region and imported into Key Manager Plus.
  7. To import certificates from IAM, specify the required AWS User Name(s) or use the List AWSUser Names option to retrieve the usernames. Choose the required usernames and click Discover.
  8. You can also choose to import server certificates for the corresponding AWS users by checking the Include Server Certificate option.

User certificates are imported into Key Manager Plus.

11. Rediscover SSL Certificates

From KMP build 6000 onwards, Key Manager Plus allows you to rediscover SSL certificates from the same source using the server details entered during the previous discovery operation. Follow the below steps to perform certificate rediscovery:

  1. Navigate to the SSL tab.
  2. Select the required certificates and click More >> Re Discover.

The rediscovery operation begins immediately. You can track the discovery status in the Discovery Audit page. Please note that for agent-based discovery to work properly, upgrade Key Manager Plus Agent to version 6000 before commencing the discovery operation.

12. The Centralized Certificate Repository

All the discovered SSL certificates, those that are discovered manually as well as those discovered through scheduled discovery operations are automatically added to the centralized repository of Key Manager Plus. You can view these certificates from the SSL >> Certificates tab in the user interface.

12.1 Search SSL Certificates

KMP allows you to search certificates using Common Name, DNS Name, Issuer, Key Size, Signature Algorithm, Description, additional fields, etc.

  1. Navigate to SSL >> Certificates.
  2. Click the search icon present on the right corner of the table header and mention the search phrase(s) in the text box(es) that appears.

13. Export Private Key / Keystore File

Key Manager Plus allows you to identify and export the private keys / Keystore files of SSL certificates stored in the certificate repository. You can also export certificates in other formats such as PKCS12/PFX or PEM format. Click the Keystore icon ( keystore ) enabled beside the certificates for which the private keys are managed using Key Manager Plus.

To export the private key or the certificate file:

  1. Navigate to SSL >> Certificates.
  2. Click the Keystore icon ( keystore ) beside the certificate for which you need to export the private key.
  3. From the dropdown, choose from the following options as per your requirement:
    1. Export Keystore / JKS: The Keystore file of the selected certificate will be downloaded.
    2. Export PKCS12/PFX: The selected certificate will be downloaded in the PFX format.
    3. Export PEM: The selected certificate will be downloaded in the PEM (Privacy Enhanced Mail) format.
    4. Export Private Key: The private key of the selected certificate will be downloaded.
  4. The corresponding certificate is downloaded in the selected format.

14. Update Servers with Latest Certificate Versions

In case of wildcard certificates or single SSL certificate deployed to multiple servers, it is necessary to keep track of servers in which the certificate is deployed and also check if the latest certificate version is in use. Key Manager Plus helps you ensure this.

  1. Navigate to SSL >> Certificates tab and click multiple servers icon ( multiple-server ) corresponding to the required certificate.
  2. A window opens listing the servers in which the certificate is deployed along with other information such as IP address, port and certificate validity.
  3. If any of the servers listed has an older / expired version of the certificate, update it with the latest version immediately. Select the server and then click Deploy. Refer to the detailed deployment procedure here.
  4. Click Add to add a new server. 
  5. In the pop-up that appears, mention the DNS Name, IP Address and Port. 
  6. Click Save.
  7. Click edit icon corresponding to the required server to modify the server details and click Save.
  8. Select a certificate and click Check Status to check the sync status of the certificate. To know more about Certificate sync status, click here.

multiple-servers

Also, you can edit details pertaining to a particular certificate or delete irrelevant certificates by selecting the certificate and clicking the More dropdown.

Top