Discovering Certificates in Key Manager Plus

Key Manager Plus enables comprehensive discovery of SSL certificates deployed across your network, regardless of the issuing Certificate Authority (CA). This functionality allows IT administrators to gain centralized visibility and maintain control over all certificates in use, helping to prevent outages caused by untracked deployments or unexpected expiries.

SSL certificate discovery can be performed manually at any time or configured to run automatically through scheduled tasks. The discovery process is highly flexible. You can scan a single server or multiple servers at once, and target one or more ports in a single operation. In addition, Key Manager Plus allows quick rediscovery of expired or near-expiry certificates directly from the Certificate Expiry widget on the dashboard.

Key Manager Plus supports various methods to discover SSL certificates, including the following:

  1. Configuring Discovery Settings
  2. Viewing the Discovered Certificates
  3. Discovering Certificates Manually
  4. Discovering Certificates Automatically through Schedules
  5. Discovering Certificates Mapped to the User Accounts in Active Directory
  6. Managing Certificates from the MS Certificate Store and Microsoft Certificate Authority (MS CA)
  7. Discovering Certificates from the SMTP Servers
  8. Discovering Certificates Deployed on Load Balancers
  9. Discovering Certificates from a Shared Directory Path
  10. Discovering Certificates using the Key Manager Plus Agent
  11. Discovering Certificates Hosted on AWS
  12. Rediscovering Certificates

These discovery options ensure that your organization can maintain complete visibility into all SSL certificates and effectively manage their lifecycle with confidence.

Additional Details

  • To discover certificates from the ManageEngine MDM server, refer to this help document.
  • To discover certificates from Azure Key Vault, refer to this help document. For Azure Application, refer to this document.

1. Configuring Discovery Settings

Key Manager Plus automatically discovers SSL certificates using default discovery settings. However, you can customize these settings to optimize efficiency and performance based on their specific requirements. To configure the SSL discovery settings, perform the following actions:

  1. Navigate to the Discovery tab and select SSL.
  2. Click Discovery Settings at the top-right corner to access the discovery settings.
  3. Configure the following parameters as needed:
    cert-discovery-1
    1. Thread Count - Define the number of concurrent discovery processes to enhance efficiency.
    2. DNS/IP Resolve Timeout - Specify the duration for resolving domain names or IP addresses.

      Additional Detail

      • It is recommended to set the Thread Count value to 20.
      • The DNS/IP Resolve Timeout is the timeout to resolve IP to DNS. Setting this value to '0' will skip resolving IP to DNS.
  4. Click Save to apply the changes.

Setting the thread count above 20, may lead to performance issues when executing large operations alongside the SSL discovery in Key Manager Plus. In such cases, we recommend increasing the application memory for Key Manager Plus by performing the following actions:

  1. Navigate to the <Key-Manager-Plus-Installation-Directory>/conf folder and open the wrapper.conf file.
  2. Increase the allocated memory by editing the default values of initmemory and maxmemory as shown below:
    # Initial Java Heap Size (in MB)
    wrapper.java.initmemory=1024
    #Maximum Java Heap Size (in MB)
    wrapper.java.maxmemory=1024
  3. Save the wrapper.conf and restart the Key Manager Plus application.
    cert-discovery-2

Customizing these settings allows you to optimize SSL discovery based on network conditions and performance requirements.

2. Viewing the Discovered Certificates

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.

You can search certificates using Common Name, DNS Name, Issuer, Key Size, Signature Algorithm, Description, additional fields, etc., To search a certificate, navigate to SSL >> Certificates and click the search icon present on top menu. Enter the search phrase in the text box that appears and press Enter.
cert-discovery-3

3. Manual Discovery of Certificates

Key Manager Plus allows discovering SSL certificates manually from the Discovery tab. This enables administrators to locate SSL certificates from one or more servers on demand. Also, this method is useful for ad-hoc discovery or when only a small number of systems need to be scanned. You can specify servers by hostname or IP address, and also upload a list of servers for bulk discovery.

Key Manager Plus automatically identifies and displays the Web Server Type for discovered certificates, if the information is available in the server response header. This helps you determine the web server type from which a certificate was discovered or imported. You can also edit the Web Server Type for the certificates that are discovered and deployed to a server.

To discover the certificates manually in Key Manager Plus, follow the steps below:

  1. Navigate to the Discovery tab and click SSL from the left pane.
  2. On the SSL Discovery page, select the discovery method for discovering the certificates:
    • Hostname/IP address - Enter the name or IP address of the server from which the SSL certificates are to be discovered. If you want the hostname 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 the From File discovery method as well.
    • IP address range - Specify an IP address range in the Start IP and End IP fields to discover all the SSL certificates falling under the specified IP address range.
    • From File - Upload a text file containing the list of servers where certificates are stored in your network. Click Browse beside the File Location field, select the text file from your machine, and click Open. Key Manager Plus will discover the certificates on the listed servers and onboard them into its repository.

      Additional Detail

      When discovering certificates from a file, ensure the file contains the hostname or IP addresses of individual servers, entered on separate lines. Also, make sure you 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

    • Subnet - You can also choose to discover resources from specific sub-networks within an IP range using this option. Enter the IP subnet in the IPAddress(CIDR Format) field. To leave specific IP addresses out of the discovery, enter them in the Exclude IP Address field, with each IP address on a separate line.
      cert-discovery-4cert-discovery-5cert-discovery-6
  3. Specify the Timeout interval and Port number for certificate discovery:
    1. Timeout - The duration for which Key Manager Plus should attempt to discover the certificates based on the discovery method. This value is 5 seconds by default.
    2. Port - The port used to communicate with the target endpoint via SSH. Port 443 is used by default. If no values are specified, the application will use the default settings for certificate discovery.
  4. Select the Bypass Proxy Settings checkbox if you have configured a proxy server under Admin Settings and want Key Manager Plus to skip it. When this option is selected, Key Manager Plus connects directly to the target endpoints to perform online certificate discovery instead of routing the request through the proxy server. This option is available for the following discovery modes: Hostname/IP Address, IP Address Range, From File, and Subnet. You can also bypass the proxy server for scheduled certificate discovery.
  5. Click Discover to discover the SSL certificates.

You will be redirected to the Discovery Audit page where the status of the current discovery instance is updated.

Additional Details

  • You can specify multiple ports for the discovery of SSL certificates in a single discovery instance, separated by commas.
  • During SSL discovery or when manually adding certificates, you can choose to exclude specific certificates by providing their details (common name and serial number) in the Settings >> SSL >> Excluded Certificates tab.

4. Automated Certificate Discovery through Schedules

Scheduled discovery is ideal for maintaining continuous visibility over SSL certificates without manual intervention. You can configure when, where, and how the SSL certificate discovery should occur, and define recipients to be notified upon completion.

Key Manager Plus automatically identifies and displays the Web Server Type for the certificates discovered through schedules, if the information is available in the server response header. This helps you determine the web server type from which a certificate was discovered. You can also edit the Web Server Type for the certificates that are discovered and deployed to a server.

To schedule automatic certificate discovery, follow the steps below:

  1. Navigate to the Schedule tab and click Add Schedule from the top pane.
  2. On the Add Schedule page that appears, enter a Schedule Name for the schedule and select the Schedule Type as SSL Discovery.
    cert-discovery-7
  3. Enable the Agent checkbox and choose the desired agent from the dropdown to discover and include the certificates available on the agent-installed server. Using agent, you can discover certificates by IP Address Range or Shared Path.
  4. From the Discover by dropdown, select any of the following options for the discovery:
    1. IP Address Range - Specify an IP address range in the Start IP and End IP fields to discover all the SSL certificates falling under the specified IP address range.
    2. From File - Upload a text file containing the list of servers where certificates are stored in your network. Click Browse beside the File Location field, select the text file from your machine, and click Open. Key Manager Plus will discover the certificates on the listed servers and onboard them into its repository.
      You can also enable the Use Default Discovery Settings checkbox to use default values for the Thread Count, Time out, and DNS/IP Resolve Timeout settings.
    3. Subnet - You can also choose to discover resources from specific sub-networks within an IP range using this option. Enter the IP subnet in the IPAddress(CIDR Format) field. To leave specific IP addresses out of the discovery, enter them in the Exclude IP Address field, with each IP address on a separate line.
    4. Load Balancer - Enter the Server Name, User Name, and Password of the load balancer to discover its certificates. Select either Password or Select Key as your Credential Type.
      cert-discovery-8
    5. Shared Path - Windows - Specify the Server Name, User Name, Password, and Path of the Windows server to discover its certificates. Select the Use Key Manager Plus service account credentials for authentication checkbox to use the service account credentials for authentication. Click Discover certificate list beside the Selected Files field to fetch the certificates from the specified Windows server.
    6. Shared Path - Linux/Mac OS - Specify the Server Name, Port, User Name, and Password or Key of the Linux/Mac OS server to discover its certificates. By default, port number 22 will be used for authentication. Click Discover certificate list beside the Selected Files field to fetch the certificates from the specified Linux server.
      • If you have selected Password for the authentication, enter the password in the respective field.
      • If you have chosen the Select Key option, browse and upload the user private key and its passphrase.
        cert-discovery-9
      Select the load balancer Type from the dropdown. You can select BIG-IP F5, Citrix, and Fortigate Firewall other than General load balancers. Then, specify the Path and select Assigned Passwords List from the dropdown. For more details on load balancer discovery, refer to the section 7.
  5. Choose how often the schedule should run in the Recurrence Type field. Select Hourly to repeat the task every few hours, Daily to repeat it every day, Weekly to run it once every week, and Monthly to run it once every month.
    1. Start Time - Specify the time at which the task should be executed on the selected date.
    2. Start Date - Specify the date on which the task should begin or the date on which it should be executed, depending on the schedule recurrence.
  6. Enter the email addresses of the users who should receive notifications about the scheduled task in the Send Email Notification field. Multiple email addresses can be specified as a comma-separated list. Enter the email subject, message content, and signature in the Subject, Content, and Signature fields, respectively.
  7. Select the desired Report Format and click Save. Key Manager Plus supports both PDF and CSV formats.

You will get a message confirming the addition of a new schedule. The result of the schedule execution will get updated in the Schedule Audit and the Discovery Audit tabs.

5. Discovering Certificates Mapped to the User Accounts in the Active Directory

Key Manager Plus allows you to discover and manage the certificates mapped to the user accounts in the Active Directory (AD). To perform AD user certificate discovery, follow the steps below:

  1. Navigate to the Discovery tab and click AD User Certificate from the left pane.
    cert-discovery-10
  2. In the form that appears, select the domain name from the dropdown. If no domain is available or you want to discover certificates from a new domain, follow the steps below:
    1. Click New Domain beside the Select Domain Name field.
    2. In the New Domain Name field, enter your AD domain name (FQDN). This represents the logical identity of your AD environment, not a specific server. It is used to identify and connect to the correct domain for certificate discovery. For example, zykler.com corp.zykler.local. Click Add to add the domain name.
    3. Select the newly added domain from the Select Domain Name dropdown.
  3. In the Primary Domain Controller field, enter the DNS name (FQDN) of the primary Domain Controller server. This is the main server Key Manager Plus connects to for discovering user certificates. Always use the DNS name, especially when SSL mode is enabled, to ensure proper certificate validation. For example: dc1.zykler.com, adserver01.corp.zykler.local.
  4. Optionally, in the Secondary Domain Controller field, enter the DNS names of backup Domain Controllers in the comma-separated format. These servers are used if the primary Domain Controller is unavailable. One of the available secondary controllers will be automatically used. For example, dc2.example.com, dc3.example.com, backupdc.corp.company.local.

    Caution

    When using SSL mode, ensure that the DNS names specified match the Common Name in the SSL certificate of the respective Domain Controllers. Otherwise, SSL validation may fail.

  5. Specify whether the connection should be established over an encrypted channel, SSL or Non-SSL. To enable SSL mode, ensure the domain controller is configured to serve over SSL on port 636, and import the domain controller's root certificate into the Key Manager Plus server machine's certificate store.

    Best Practices

    SSL is recommended for secure communication.

  6. Enter valid user account credentials in the User Name and Password fields. The account should belong to the specified domain and have sufficient privileges to query user and certificate details.
  7. Specify the Users, User Groups, or Organizational Units (OUs) for which you want to perform certificate discovery.
  8. To discover certificates for entire groups or OUs, select the Groups/OU Tree import type and choose the required entries from the dropdown.
  9. Click Import to initiate the certificate discovery process.

In addition to AD user certificate discovery, Key Manager Plus also provides an option to import AD users during the certificate discovery. To perform this user import, tick the Import AD user(s) checkbox. The discovered certificates will be added automatically to the certificate repository.

6. Managing Certificates from the Microsoft Certificate Store and Microsoft Certificate Authority (MS CA)

Key Manager Plus facilitates you to request, acquire, discover, consolidate, track, and manage certificates from the Microsoft Certificate Store and certificates issued by a Microsoft internal CA. The below sections explain how to discover certificates using those two methods.

Caution

Ensure that the Key Manager Plus service is running with a domain administrator account. If a domain service account is used, ensure that the account is added to the local administrator group of the server.

6.1 Discovering Certificates from the MS Certificate Store

To discover certificates from the Microsoft Certificate Store, follow the steps below:

  1. Navigate to Discovery >> MS Certificate Store.
  2. Select the Certificate Store option from the Type dropdown.
    cert-discovery-11
  3. Select any of the following methods for the certificate discovery by enabling the radio button:
    1. Server Name - Select Server Name and specify the hostname or DNS name of the server from which certificates are to be discovered (for example, server01.zykler.com).
    2. IP Address Range - Specify an IP address range in the Start IP and End IP fields to discover all the SSL certificates falling under the specified IP address range. This allows Key Manager Plus to scan all machines within the specified range.
    3. From File - Upload a text file containing the list of servers where certificates are stored in your network. Click Browse beside the File Location field, select the text file from your machine, and click Open. Key Manager Plus will discover the certificates on the listed servers and onboard them into its repository.

      Additional Details

      • When discovering certificates from a file, ensure the file contains the hostname or IP addresses of individual servers, entered on separate lines. Also, make sure you 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
      • For agent-based discovery, prefix entries with Agent: (for example, Agent:webserver-01).
  4. Select the Use Key Manager Plus service account credentials for authentication checkbox to use the service account credentials configured for Key Manager Plus. Alternatively, you can specify the domain administrator credentials in the User Name and Password fields to access the target machines for the certificate discovery.
  5. Specify the certificate Store Name from which the certificates are to be discovered. Use the following format: \\<server_name>\<store_name>
    Examples:
    • server_name\Root - To discover certificates from trusted root certification authorities.
    • server_name\My - To discover personal certificates. Alternatively, click Get Stores to fetch and select from the list of available certificate stores.
  6. Click Discover to initiate the discovery process. The discovered certificates will be available in the SSL >> Certificates tab.

6.2 Discovering Certificates from the Microsoft Certificate Authority (MS CA)

Additional Details

  • Ensure that the target systems are reachable and accessible from the Key Manager Plus server.
  • For large environments, using IP Address Range or From File helps automate bulk discovery.
  • Using the Get Stores option is recommended to avoid manual errors in specifying store names.

To discover certificates issued by an internal MSCA, follow the steps below:

  1. Select Microsoft Certificate Authority from the Type dropdown.
    cert-discovery-12
  2. In the Server Name field, specify the hostname or DNS name of the server from which certificates are to be discovered (for example, server01.zykler.com).
  3. Select the Use Key Manager Plus service account credentials for authentication checkbox to use the service account credentials configured for Key Manager Plus. Alternatively, you can specify the domain administrator credentials in the User Name and Password fields to access the target machines for the certificate discovery.
  4. Enter an MSCA name in the Microsoft Certificate Authority text box. Please note that this text box will be visible only if the Key Manager Plus server is installed on a Windows Server machine.
  5. During the discovery, you can refine the results using the following options beside the Include field:
    1. Expired - Selecting this option includes expired certificates in the discovery results.
    2. Revoked - Selecting this option includes revoked certificates in the discovery results.
    3. Date Filter - Specify a date range in the From and To fields to filter certificates.
    4. Template Name / OID - Enter the Template Name / OID in the field or click Get Templates to fetch and select certificate templates. Key Manager Plus allows you to add a maximum of five certificate templates for each discovery operation.

These options are also available during scheduled discovery of certificates issued by an MS CA.

7. Discovering Certificates from the SMTP Servers

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

  1. Navigate to Discovery >> Mail Server Certificate.
    cert-discovery-13
  2. Provide the Hostname or IP Address from which the certificate is to be discovered and specify the Time out (in seconds) and Port number. You can specify multiple port values by separating them with commas.
  3. Click Discover to discover the certificates from your network.

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

8. Discovering Certificates Deployed on Load Balancers

Key Manager Plus allows you to discover SSL certificates deployed to load balancers (i.e., Citrix and FortiGate Firewall) within your network and consolidate them in its secure, centralized repository. To perform load balancer certificate discovery, follow the steps below:

  1. Navigate to the Discovery tab and click Load Balancer from the left pane.
    cert-discovery-14
  2. Select a load balancer type from the Type dropdown. Key Manager Plus supports four types of Load Balancer discovery: General, BIG IP-F5, Citrix, and FortiGate Firewall.
  3. If you have selected the Load Balancer Type as General or BIG IP-F5, perform the following actions:
    1. Enter the Server Name, Port, and User Name details of the load balancer.
    2. Select any one of the Credential Type options:
      • Password - If you have selected Password as your credential type, enter the password of the load balancer in the Password field. This should be the password of the User Name you have specified previously.
      • Select Key - If you have chosen the Select Key option as your credential type, browse and upload the user private key and enter the Passphrase to access the keystore file.
    3. Enter the Path in the server from which certificates have to be discovered. Alternatively, click Discover certificate list beside the Path field to fetch all the certificates available in the specified path.
    4. Click Assign Passwords to add load balancer passwords using keystore files. Refer to this section to learn how this Assign Passwords works.
    5. Click Discover to discover the certificates and import them into the Key Manager Plus centralized certificate repository.
  4. If you have selected the Load Balancer Type as Citrix, perform the following actions:

    Additional Detail

    You can perform Citrix type discovery in two ways: using CLI commands and using REST API. By default Key Manager Plus uses CLI commands for discovery and fetching certificates.

    1. Select a Citrix credential from the Citrix Credentials List dropdown. If you have not added any credential, click the Manage Credentials next to the dropdown. In the pop-up window that appears:
      cert-discovery-15
    2. Specify the Port number. By default, port number 22 will be used for the authentication.
    3. Enter the Path in the server from which certificates have to be discovered. You can also click Discover certificate list beside the Path field to fetch all the certificates available in the specified path.
    4. Click Assign Passwords to add load balancer passwords using keystore files. Refer to this section to learn how this Assign Passwords works.
    5. Click Discover to discover the certificates and import them into the Key Manager Plus centralized certificate repository.
    6. If the above discovery method fails, perform the following steps:
      • Enable the Use REST API checkbox to fetch the certificates from Citrix load balancer using RESTful APIs.
      • Select the Discover as Vault Data checkbox to discover only the certificate details instead of a certificate.
      • Enable the Bypass Proxy Settings checkbox to directly bypass the proxy server if you have enabled it in Settings to perform the discovery.
      • Click Add and enter Credential Name, Server Name, Citrix Username, and Citrix Password.
      • Click Test Login to validate the credentials and then click Save Credentials.
      • If you want to delete a Citrix load balancer credential, select the required credential and click Delete. In the confirmation pop-up, click OK to delete the selected credential.

Caution

During the Citrix REST API-based load balancer discovery, the user credentials you provide should 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 a user account with the super admin role.

  1. If you opt to discover certificates from FortiGate Firewall load balancer, follow these steps:
    1. Select a FortiGate credential from the FortiGate Credential dropdown. If you have not added any credential, click the Manage Credentials next to the dropdown. In the pop-up window that appears:
      cert-discovery-16
    2. Specify the Port number. By default, port number 22 will be used for the authentication.
    3. Enter the Path in the server from which certificates have to be discovered. You can also click Discover certificate list beside the Path field to fetch all the certificates available in the specified path.
    4. Click Assign Passwords to add load balancer passwords using keystore files. Refer to this section to learn how this Assign Passwords works.
    5. Tick the Bypass Proxy Settings checkbox. This option allows you to directly bypass the proxy server that you have enabled in Settings, to perform the Fortigate firewall discovery.
    6. Click Discover to discover and import the certificates into the centralized certificate repository of Key Manager Plus.
      • Click Add and enter the Credential Name, Server IP, and API Key to add a credential.
      • Click Save Credentials to add a new FortiGate Firewall credential.
      • To delete a credential, select a credential that you want to delete and click Delete. If prompted for confirmation, click OK to delete the selected credential.

The certificate files discovered with extensions .keystore and .pfx requires passphrases while importing the certificates. These types of certificate files are grouped separately under the JKS/PKCS section (located at the top-right corner of the page).

8.1 Manual Import of Certificates from JKS/PKCS Files

To import the certificates, click JKS/PKCS at the top-right corner of the page, and in the window that appears, choose the certificate file from which you wish to import the certificates and click Import from the top menu. In the pop-up that appears, provide the passphrase of the certificate file and click Import. The selected file will be verified with the provided password, and the relevant certificates will be successfully imported and added to the Key Manager Plus certificate repository.
cert-discovery-17

8.2 Automatic Import of Certificates from JKS/PKCS Files

To automate the import of certificates from the JKS/PKCS files after the discovery process, follow these steps:

  1. Click Assign Passwords from the Load Balancer Certificate Discovery page.
  2. In the pop-up that opens, click Add to input the passwords of the JKS/PKCS files.
    cert-discovery-18
  3. In the new pop-up that appears, enter the Server Name and upload a file containing the available JKS/PKCS filenames and passwords.
    cert-discovery-19
  4. If there are multiple filenames and passwords, enter the corresponding passwords on consecutive lines in a comma-separated format (e.g., test.keystore, P@ss#123).
  5. Click Save to store the list of JKS/PKCS file passwords.

8.3 How Does this Assign Passwords Work During the Discovery Process?

In a load balancer certificate discovery process, after filling in all the required fields as mentioned in the above sections, click Assign Passwords. This will open the Load Balancer Passwords window. Here, you can add load balancer passwords by following the below steps:

  1. In the Load Balancer Passwords window, click Add in the top menu. Then, enter Server Name, browse and upload a file containing the list of filenames and their corresponding passwords in a comma-separated format (for example, test.keystore,P@ss#123). If there are multiple filename-password pairs, add each pair on consecutive lines.
  2. Click Save to add the load balancer password.
  3. Now, select the password and click Use Passwords to use the password from the load balancer for the certificate discovery.

Additional Detail

In addition to using load balancer passwords, you can export and import passwords from the Load Balancer Passwords window.

Upon certificate discovery from the load balancer, the discovered JKS/PKCS files will be matched with the file names provided in the uploaded file. If the file name matches, it will verify the password, and the respective certificates will be automatically imported into the Key Manager Plus certificate repository.

9. Discovering Certificates from a Shared Directory Path

Key Manager Plus allows you to discover SSL certificates stored in a shared directory path within your network and consolidate them into a secure, centralized repository. During discovery, Key Manager Plus scans only the specified folder and does not access other locations on the target machine. To discover the SSL certificates from a shared directory path, follow the steps below:

  1. Navigate to Discovery >> Shared Path. Choose Windows or Linux/Mac OS from the Type dropdown.
    cert-discovery-20
  2. If you have selected Windows, perform the following actions:
    1. In the Server Name field, specify the hostname or DNS name of the target machine where the shared directory resides. Leave this field empty if the directory path belongs to the local machine.
    2. Select the Use Key Manager Plus service account credentials for authentication checkbox to use the service account credentials configured for Key Manager Plus. Alternatively, you can specify the administrator credentials in the User Name and Password fields to access the target machines for the certificate discovery.
    3. Specify the directory path of the target machine in the Path field. For example, D:\sharedpath\subsharedpath. Alternatively, click Discover certificate list beside the Path field to fetch all the certificates available in the specified path.
  3. If you have selected Linux/Mac OS, perform the following actions:
    cert-discovery-21
    1. In the Server Name field, specify the hostname or DNS name of the target machine where the shared directory resides. Then, enter the SSH port number in the Port field and specify a valid user account with access permissions in the User Name field.
    2. For authentication, choose one of the following methods:
      • Password - Enter the user account password.
      • Select Key - Upload a private key and provide the passphrase for SSH key-based authentication.
    3. Specify the directory path of the target machine in the Path field. For example, D:\sharedpath\subsharedpath. Alternatively, click Discover certificate list beside the Path field to fetch all the certificates available in the specified path.
  4. Select the required certificates from the list and click Discover. If no certificates are selected, all discovered certificate files will be imported by default.
  5. Certificate files with extensions such as .keystore and .pfx are grouped under the JKS / PKCS option. To import these certificates, click JKS / PKCS, select the required files, provide the file passphrase, and click Import.

    Caution

    Certificate files larger than 30 KB will not be imported during this discovery operation.

  6. To check the status of the certificate discovery operation, click Discovery Audit at the top-right corner of the page.

Additional Details

  • Key Manager Plus scans only the specified directory path during discovery.
  • Ensure that the provided credentials have sufficient permissions to access the directory.
  • For Linux/Mac OS, ensure that SSH connectivity to the target machine is properly configured.

10. Discovering Certificates using the Key Manager Plus Agent

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 the Key Manager Plus agent 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 Key Manager Plus and the servers in which the agent is deployed is over HTTPS and is completely secure. Currently, Key Manager Plus agent is available only for Windows Operating Systems.

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

  • When the administrative credentials of the target endpoints required to perform the discovery operation are not available in the Key Manager Plus.
  • When certificates have to be discovered from servers that Key Manager Plus does not have direct access to—for instance, servers in the 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 Key Manager Plus.

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

  1. Navigate to the Discovery tab and click Agent from the left pane.
    cert-discovery-22
  2. Choose the discovery type from where you want to perform the discovery—DMZ, Certificate Store, Microsoft Certificate Authority, or Directory.
  3. If you have selected DMZ as the discovery type, perform the following actions:
    1. Select the required agent from the dropdown to perform the operation. If the agent is busy, wait and try again after sometime.
    2. Select either Hostname / IP Address or IP Address Range as the discovery method from the Discovery by field and follow the steps below:
      • If you have selected Hostname / IP Address as your discovery method, enter the hostname or IP address of the server the agent to be communicated with.
      • If you have selected IP Address Range as your discovery method, specify the IP addresses in the Start IP and End IP fields to discover all the SSL certificates falling under the specified IP address range.
    3. Specify the Time out (in seconds) for the agent communication.
    4. Enter the Port number and click Discover to perform the certificate discovery from the DMZ using agent.
  4. If you have selected Certificate Store as the discovery type, perform the following actions:
    1. Select the required agent from the dropdown.
    2. Specify the certificate Store Name from which the certificates are to be discovered. Use the following format: \\<server_name>\<store_name>
      Examples:
      • server_name\Root - To discover certificates from trusted root certification authorities.
      • server_name\My - To discover personal certificates. Alternatively, click Get Stores to fetch and select from the list of available certificate stores.
    3. Click Discover to discover the certificates from the Microsoft Certificate Store.
  5. If you have selected Microsoft Certificate Authority as the discovery type, perform the following actions:
    1. Select the required agent from the dropdown.
    2. Specify the Server Name of the server the agent to be communicated with.
    3. Specify the CA name in the Certificate Authority field.
    4. Choose to exclude expired/revoked certificates or perform discovery based on issue date or certificate template using the filters provided.
    5. To choose certificate templates, select the Template Name / OID option. This option is available during scheduled discovery of certificates issued by Microsoft Certificate Authority as well.
    6. Click Discover to discover the SSL certificates.

      Additional Details

      Starting from build 6680, the Key Manager Plus agent can be installed on any server that has network access to the Microsoft CA server. During the certificate discovery operation, you can specify the Microsoft CA server name in the Server Name field.

  6. If you have selected Directory as the discovery type, perform the following actions:
    1. Select an agent from the drop-down menu.
    2. Specify the directory path of the target machine. For example: D:\sharedpath\subsharedpath.
    3. Click the Discover certificate list option to fetch all the certificates available in the specified path. From this list, choose certificates that are required.
    4. Enter a Time out interval in seconds.
    5. Click Discover to discover the certificates from the specified directory.

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.

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

11. Discovering Certificates Hosted on AWS

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 in the below sections to discover and import SSL certificates from ACM/IAM into Key Manager Plus. To configure the AWS credentials, perform the following steps:

  1. Navigate to Discovery >> AWS >> Manage AWS Credential.
    cert-discovery-23
  2. Click Add on the AWS Credentials page.
  3. In the Add AWS Credentials window that opens, provide the Credential Name, Description, Access Key, and Secret Key.
    cert-discovery-24
  4. Click the Test Login button to validate the credentials. You will be notified if the login is successful.
  5. Click Save to save the AWS credentials in Key Manager Plus.

To discover and import certificates, perform the following actions:

  1. Switch to the Discovery >> AWS tab.
  2. Choose the appropriate AWS Credentials from among the ones configured in Key Manager Plus or click Manage AWS Credential and add a new AWS credential by providing your Access Key and Secret Key.
  3. Choose the required AWS Service from which the certificates need to be imported: ACM or IAM.
    cert-discovery-25
  4. To import certificates from ACM, select ACM from the AWS Service dropdown, choose the service Region, and click Discover. The certificates are discovered from resources in the selected region and imported into Key Manager Plus.
  5. To import certificates from IAM, select IAM from the AWS Service dropdown and specify the required AWS User Names or use the List AWS User Names option to retrieve the usernames. Choose the required usernames and click Discover. You can also choose to import server certificates for the corresponding AWS users by checking the Include Server Certificates checkbox.

Now, the SSL certificates are imported into Key Manager Plus.

12. Rediscovering Certificates

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. In the Key Manager Plus GUI, navigate to the SSL >> Certificates tab.
  2. Select the required certificates and click More >> Rediscover.
    cert-discovery-26

The rediscovery operation begins immediately. You can track the discovery status in the Discovery Audit page.




Top