Keyfactor Tech Days 2027, The Trust Security Conference, is heading to San Diego!   Discover what’s coming up

Definition

SSL/TLS certificate discovery is the process of automatically scanning your networks, systems, and cloud environments to locate every TLS certificate your organization is using. It produces a single, accurate inventory of certificates along with the details that matter: who issued each one of them, when each one expires, what algorithm each one uses, and where each one lives.

That inventory has never been more important. Certificate lifespans are shrinking toward roughly a month and a half by 2029, the number of machine identities keeps climbing, and organizations are beginning the long effort to move their cryptographic infrastructure toward post-quantum cryptography. None of that is possible if you cannot first answer a deceptively simple question: which certificates do we actually have, and where are they?

A quick note on terminology. This guide uses “TLS” throughout, because TLS is the modern protocol that replaced the older SSL versions. The two are technically different, but the industry still uses “SSL” and “TLS” more or less interchangeably, so you will see the terms treated as synonyms across most tools and documentation.

Why TLS certificate discovery matters

Most organizations do not have a visibility problem because they are careless. They have one because certificates accumulate quietly, in every direction, faster than any manual process can track. Certificates get issued by more than one certificate authority, deployed across both cloud and on-premises environments, and requested by different teams who each solve their own immediate problem. As a result there is no single source of truth, and no one can say with confidence how many certificates exist or when the next one expires.

This is the challenge that certificate management practitioners describe as a lack of visibility. As the certificate count grows, so does the uncertainty. You do not know how many certificates you are managing, and you do not know how many are on the verge of expiring. Discovery is the answer to that specific gap: it automates the search across the enterprise and creates an accurate record of certificates, so you can avoid the expensive and potentially damaging outages that come from losing track.

A few forces make the visibility gap especially dangerous today:

  • Shadow certificates. 
    When a business unit obtains a certificate outside of normal governance, security never sees it. Those blind spots are exactly the certificates most likely to fail quietly or to be misconfigured.
  • Certificate sprawl. 
    As lifespans shorten, the same estate has to be renewed far more often, which multiplies the operational burden and the number of chances to miss something.
  • Machine identity explosion. 
    Service meshes and workload identity frameworks now issue certificates in volumes no person requests and no person will ever touch. This is a separate and far larger estate, born and expired automatically inside large environments, that never passed through a request desk.
  • Externally imposed migration. 
    The cryptographic transitions that matter most are the ones you do not get to schedule. Without a complete inventory keyed on the full trust chain, you cannot even determine which of your live certificates are affected, and that scoping is most of the response.No foundation for policy or planning. Without a complete inventory, teams cannot enforce policy, schedule renewals, or prepare for cryptographic transitions such as post-quantum readiness. You cannot protect, migrate, or attest to what you cannot see.

That last two points connect discovery to a longer horizon. The industry is preparing to deploy quantum-resistant cryptography, to protect information and infrastructure against attacks powered by large quantum computers. pThe first step in any migration of this kind is knowing which certificates you have and what cryptography they rely on. Discovery is the groundwork beneath the entire cryptographic agility effort.

Because certificates are built on the X.509 certificates standard, a good inventory captures the structured detail that standard defines, which is what makes the record useful for both operations and audits.

How TLS certificate discovery works

Discovery is not a single technique. Mature programs combine several methods, because each one sees a different slice of the environment and no single approach finds everything on its own. The three primary approaches are network-based scanning, CA-based discovery, and agent-based or cloud discovery.

Network-based scanning

Network scanning is the most familiar method. A discovery tool reaches out across your defined networks, connects to TLS endpoints, and extracts the certificate details it finds there. In practice, you define the scope of a network in one of three ways: by network notation (CIDR), by individual IP addresses, or by individual hostnames. Each defined network becomes its own discovery job, which lets administrators segment large environments and tune performance rather than scanning everything at once.

Several controls keep scanning efficient and safe:

  • Orchestrator pools. 
    Scanning duties can be assigned to pools of orchestrators based on their location, so the right scanner reaches the right part of the network.
  • Port ranges. 
    You specify which ports to probe, focusing the scan on where TLS services actually listen.
  • Schedules. 
    Discovery jobs run on a defined cadence and touch every endpoint within the network definition.
  • Quiet hours. 
    You can define windows where scanning will not execute, which keeps scans away from sensitive time ranges and further optimizes when and how they run.

The strength of network scanning is that it finds certificates in active use at the endpoints you can reach. Its limitation is the mirror image: it only sees what is listening on a network you control, which is why it works best alongside the other two methods.

CA-based discovery

CA-based discovery flips the logic. Instead of going to the endpoint (the leaves in the PKI hierarchy), you go to the issuer, on the principle that the authority that minted a certificate keeps an authoritative record of it. This splits cleanly into private and public.

For internal PKI, you integrate directly with the issuing certificate authority and enumerate the certificates it has issued. With Microsoft AD CS that means querying the CA database through its management interfaces or command-line tooling; with EJBCA it means using the REST or SOAP API. You get every certificate the CA issued, along with request metadata such as the requester, the template or profile used, and the revocation state. Crucially, depending on the discovery tool’s schedule, it can learn about each certificate at birth, before the certificate is ever deployed anywhere.

For publicly trusted certificates, the mechanism is Certificate Transparency. Browsers now require that publicly trusted certificates be logged to append-only CT logs before they are accepted, so querying CT aggregators (such as crt.sh or Censys) or the logs directly for your own domains returns certificates issued for you by any public CA. This is the method that catches shadow certificates: the ones a team obtained without telling security, deployed on infrastructure you do not scan, plus any misissuance impersonating your domains. A scan of your own ranges would never see those.

The strength of CA-based discovery is authoritativeness and completeness for a given issuer, independent of where the certificate ends up. The limitation is the reverse of network scanning: a CA record tells you a certificate was issued, not where it lives or whether it is in use. CT covers only public certificates, and internal enumeration covers only the CAs you can reach, so the two are complementary rather than redundant. To close the loop, you correlate issuance data against deployment data.

Agent-based and cloud discovery

Agents attack the blind spot the previous two methods share: certificates at rest. You install a lightweight local process on each host that inspects the machine from the inside. It walks the filesystem for certificate and key files (such as .pem, .crt, .pfx, and .jks), reads platform stores like the Windows certificate store and Java keystores, and parses service configuration to learn which certificate is bound to which service. Because it runs with local privilege, it sees what the network cannot: certificates bound to no open port, the exact file location and service binding, and the state of the private key. It can also report a newly installed certificate the moment it appears rather than at the next scan window, and because the same agent can write to keystores and restart services, discovery and remediation can collapse into a single channel. The tradeoff is fleet management: you have to deploy and maintain agents across many operating systems, and there will always be appliances and third-party systems where you cannot install one.

Cloud discovery generalizes the same idea to infrastructure that has no host to put an agent on. Modern certificates increasingly live inside provider services rather than on servers, so you grant a discovery tool read-only API credentials and enumerate across accounts, subscriptions, projects, and regions. In practice that covers certificate services and secrets managers, load balancer and CDN listener configurations, API gateways, Kubernetes TLS secrets, and service-mesh identity. These certificates are often ephemeral, auto-provisioned, and numerous, and they are effectively invisible to on-premises network scanning and to host agents. The weakness is coverage sprawl: every account and region is a separate integration, and the moment someone spins up an account nobody onboarded, that slice goes dark.

Discovery vs. monitoring: understanding the difference

Discovery and monitoring are often mentioned in the same breath, but they do different jobs, and a healthy program needs both.

Discovery jobs search for new certificates. They touch every endpoint within a defined network and pull previously unknown certificates into your inventory. Monitoring jobs, by contrast, look only at existing certificates that have been marked for tracking, and they alert based on a configured expiration threshold. In other words, discovery finds; monitoring watches.

Here is how they fit together:

  • Discovery builds the inventory.
    It answers “what do we have and where is it.”
  • Monitoring keeps the inventory healthy. 
    It answers “what is about to expire or drift out of policy.”
  • Both run continuously. 
    Discovery should run on a recurring schedule so new certificates are caught quickly, while monitoring runs alongside it to raise alerts before anything lapses.

A useful pattern is to let discovery automatically enroll newly found certificates into monitoring, so nothing sits in the inventory unwatched. That way, the moment a certificate is discovered, it is already on the clock for expiration alerting.

The risks of not discovering your certificates

The case for discovery becomes concrete when you look at what goes wrong without it. Each risk maps to a gap that discovery is designed to close.

Unexpected outages from expired certificates

Expiring certificates are the enemy of uptime. It only takes one missed expiration to trigger a wave of failures: an application stops responding, a dependent service errors out, and the disruption cascades into customer-facing downtime. These outages are especially frustrating because they are entirely preventable. The certificate did not fail; it was simply forgotten. Discovery removes the “forgotten” category by ensuring every certificate is known and, through monitoring, tracked toward its renewal date well before it becomes a problem.

Security vulnerabilities and compliance failures

Undiscovered certificates tend to be the least well maintained. They may rely on deprecated protocol versions or weak algorithms, chain to trust anchors you no longer control, or carry configurations that quietly violate policy. Because no one is watching them, they become the soft spots an attacker looks for. Older SSL and TLS versions (TLS 1.0 and 1.1) in particular should be disabled in favor of modern TLS (TLS 1.3), but you can only enforce that if you know where the outdated configurations are.

There is a regulatory dimension too. Frameworks that govern data in transit expect encryption to be applied and managed. For example,

  • PCI DSS Requirement 4 addresses encrypting the transmission of cardholder data,
  • the HIPAA Security Rule transmission security provisions cover protected health information in transit, and
  • GDPR Article 32 calls for encryption as part of the security of processing.

An unmanaged, misconfigured certificate can put you out of step with any of these, and you cannot demonstrate compliance for certificates you cannot even list.

Inability to prepare for cryptographic transitions

Two shifts are already reshaping certificate management: the move to much shorter lifespans and the eventual migration to post-quantum cryptography. Both require you to know what you have. You cannot plan a migration to quantum-resistant algorithms if you do not know which certificates use which cryptography, and you cannot adapt to shorter lifespans if you do not know the full population that needs faster renewal. Discovery, paired with a rich inventory, is the prerequisite for certificate lifecycle management that carries certificates safely from issuance through expiration.

What to look for in a TLS certificate discovery tool

Not all discovery tools are equal. Use the checklist below to evaluate any solution against the demands of a modern, high-velocity certificate estate.

  • Comprehensive scanning. 
    The tool should support network-based, CA-based, and cloud-native discovery. Any single method leaves blind spots, so breadth of coverage is the first thing to confirm.
  • Depth per certificate. 
    Finding a certificate is just the start; but the value is in the attributes attached to it. Look for full chain resolution, the complete set of subject alternative names, validity dates, key type and size, and both the subject key algorithm and the signature algorithm used by the issuer. That two-algorithm distinction matters for cryptographic agility, because the authentication strength of a certificate is only as strong as the weakest signature in its chain.
  • Automated scheduling. 
    Discovery should run on recurring schedules without manual intervention, with controls like quiet hours to manage timing.
  • Centralized inventory.
     A single repository should aggregate every discovered certificate regardless of how it was found, so there is one place to search and report from.
  • Expiration alerting. 
    Configurable notifications should fire when certificates approach their expiration thresholds.
  • Integration with lifecycle management. 
    Discovery should feed directly into renewal, provisioning, and revocation workflows rather than being a standalone report.
  • Scalability. 
    Support for segmenting large networks into scan zones, using orchestrator pools, keeps performance manageable as the estate grows.
  • Reporting and compliance. 
    The tool should generate audit-ready reports and, ideally, store point-in-time history so you can answer retrospective questions such as which certificates were live during a given window.

The deeper the per-certificate record, the more the inventory can do later, and management also becomes more thorough and detailed. Attributes like private key posture (where the key lives and whether it is exportable), deployment bindings (every place a certificate is installed, not just one), and issuance provenance (which CA, which template, which requester) are what turn a flat list into something you can audit from and migrate with. Skimping on depth at collection time quietly caps what the inventory can ever support downstream.

The impact of shorter certificate lifespans on discovery

The single biggest reason discovery is moving from a periodic project to a continuous practice is the industry decision to shorten certificate lifespans. The CA/Browser Forum has approved a phased reduction, ballot SC-081v3, that steps the maximum validity down over several years, culminating at roughly a month and a half (47 days) by early 2029. Per DigiCert’s summary of the schedule, the intermediate milestones cap validity at 200 days in early 2026 and 100 days in early 2027 before the final step.

The operational math is unforgiving. A certificate that once needed attention roughly once a year will need renewal many times a year. Multiply that across an entire estate and the burden becomes clear:

  • Manual tracking stops scaling. 
    At these lifespans, spreadsheets and calendar reminders cannot keep up. Manual tracking and renewal is not just inefficient at this point; it is a liability.
  • Discovery has to be continuous. 
    A one-time audit is obsolete almost immediately when certificates turn over this quickly. Discovery must run on an automated, recurring basis so the inventory never drifts far from reality.
  • Early investment pays off. 
    Organizations that build automated discovery now will absorb each shorter-lifespan milestone smoothly, while those that wait will feel every reduction as a new fire drill.

Shorter lifespans do not change what discovery is. They change how often it has to run, and they close the door on doing it by hand.

How Keyfactor can help

Keyfactor is built to solve exactly the discovery challenges described above. Its SSL Discovery capability scans defined networks to find every TLS endpoint and import the certificate details into a centralized inventory, giving you the accurate record that manual processes cannot maintain.

The workflow maps directly to the evaluation criteria covered earlier:

  • Flexible, segmented discovery. 
    Agilesec executes discovery jobs that are organized by network, and can be segmented for performance, assigned to orchestrator pools by location, scheduled on flexible intervals, and tuned with quiet hours.
  • Automatic monitoring enrollment. 
    Certificates found through discovery can be automatically added to monitoring, with configurable expiration alerts, so nothing enters the inventory unwatched.
  • Lifecycle Automation and beyond. 
    Keyfactor Command integrates with AgileSec, bringing inventory, lifecycle automation, and compliance reporting together, so finding a certificate flows straight into renewing, provisioning, and revoking it.
  • Ready for what is next. 
    The platform supports preparation for shorter lifespans and post-quantum transitions through cryptographic agility, giving you the inventory and automation foundation those shifts require.

Keyfactor’s broader portfolio, including Cryptographic Discovery & Inventory and Certificate Lifecycle Automation, is designed so discovery is not an isolated task but the front end of a complete certificate management program.

Key takeaways

  • TLS certificate discovery is the process of automatically finding every certificate across your environment and recording its key details.
  • Without discovery, organizations face avoidable outages, security gaps, and compliance failures.
  • Discovery and monitoring are complementary: discovery finds new certificates, monitoring tracks known ones toward expiration.
  • Network scanning, CA-based discovery, and agent or cloud discovery each see a different slice of the estate, so strong programs combine all three.
  • The shift toward roughly 47-day lifespans by 2029 makes continuous, automated discovery essential rather than optional.
  • A strong discovery tool offers comprehensive scanning, deep per-certificate detail, automated scheduling, centralized inventory, and integration with lifecycle management.
  • Keyfactor provides end-to-end discovery, monitoring, and certificate lifecycle automation on a single platform.

Got TLS certificate discovery questions? We’ve got answers.

What is TLS certificate discovery?

TLS certificate discovery is the automated process of scanning networks, systems, and cloud environments to locate every TLS certificate deployed across an organization. It builds a complete inventory that captures details like issuer, expiration date, key algorithm, and deployment location.

Why do organizations need SSL certificate discovery?

Most organizations have certificates scattered across multiple environments, issued by different authorities, and managed by different teams. Without automated discovery, certificates can expire unnoticed and cause outages, security vulnerabilities, and compliance violations.

How does TLS certificate discovery differ from certificate monitoring?

Discovery scans for new or unknown certificates across your infrastructure, while monitoring tracks certificates already in your inventory and alerts you as they approach expiration. Both are essential parts of a mature certificate management program.

How often should I run TLS certificate discovery?

Discovery should run on a recurring schedule rather than as a one-time project. With lifespans shrinking toward roughly 47 days by 2029, continuous or frequent discovery keeps your inventory current so no certificate goes untracked.

What types of certificates can discovery tools find?

A comprehensive tool can find certificates across TLS endpoints, web servers, load balancers, cloud services, internal applications, and connected devices. The best tools also draw on certificate authority databases and Certificate Transparency logs to catch certificates a network scan would miss.

Can TLS certificate discovery help with post-quantum readiness?

Yes. Discovery produces a complete inventory of every certificate and its cryptographic algorithm, which is the essential first step in identifying which certificates need to migrate to quantum-resistant algorithms as post-quantum standards mature.

What happens if I skip TLS certificate discovery?

Skipping discovery leaves you exposed to unexpected outages from expired certificates, security gaps from unmanaged or misconfigured certificates, and an inability to plan for cryptographic transitions like shorter lifespans or post-quantum migration.

What should I look for in an TLS certificate discovery tool?

Prioritize network-based, CA-based, and cloud-native scanning, deep per-certificate detail, automated scheduling, centralized inventory, configurable expiration alerts, integration with lifecycle management, and compliance reporting.