Certificate Discovery

Certificate Discovery helps you continuously locate and inventory certificates across your environments by scanning targets such as individual IPs, CIDR ranges, and DNS names. You can configure discovery to probe specific ports or port ranges, enabling coverage for both standard and custom TLS deployments.

When a certificate is found, Akeyless automatically creates a corresponding certificate record with all available metadata, including where it was discovered (target and endpoint details) and the certificate’s key attributes. You can also predefined expiration event settings so newly discovered certificates are immediately tracked and monitored without manual onboarding.

👍

Early Access & Gateway version requirement

This feature is Early Access and is available only when using a Gateway running version 4.46.0 or later.

Running a Certificate Discovery with the CLI

In order to run a certificate discovery using the CLI, run the following command:

akeyless certificate-discovery \ 
--hosts <IPs, CIDR ranges, or DNS names> \
--port-ranges[=443] <80,8080-8085> \
--target-location 'Discovery-Folder' \
--gateway-url 'https://<Your-Akeyless-GW-URL:8000>'

Where:

  • hosts: Required, A comma separated list of IPs, CIDR ranges, or DNS names to scan.

  • port-ranges[=443]: A comma separated list of port ranges. Example: 80, 8080-8085.

  • target-location: Required, The folder the certificates that were found in the scan will be saved at.

  • expiration-event-in: How many days before the expiration of the certificate would you like to be notified. To specify multiple events, use argument multiple times: --expiration-event-in 1 --expiration-event-in 5.

Setting a Certificate Discovery in the Akeyless Console

  1. Log in to the Akeyless Console, and go to Discovery & Migration > New > Certificate Discovery.
  2. Define a Name for the certificate discovery, and specify the Target Location as a path to the virtual folder where you want the scanned certificates to be saved in. If the folder does not exist, it will be created together with the scanned certificates.
  3. Add the Sources of the scan, such as: IPs, CIDR ranges, or DNS names
  4. Add the relevant ports, the default value is 443.
  5. Press Finish.

Run the Certificate Discovery

To run the discovery, select the discovery item and choose Action Menu > Start Scan. If the scan completes successfully, a new folder will appear under Items containing all the certificates that were found.



Footer Section