← All articles

How to Configure a PRTG SSL Certificate Expiry Sensor

Key takeaways

  • The PRTG SSL Certificate sensor reports days until a TLS certificate expires, plus issuer and common name, but it cannot see API keys, tokens, or vault-stored secrets.
  • Set the target host, port, and SNI explicitly, because a wrong SNI value silently monitors a certificate nobody owns.
  • Match warning periods to certificate lifetime: 30/14 days for 90-day Let's Encrypt certs, 45/21 for one-year commercial certs, 60/30 for internal or self-signed.
  • Notification triggers fire on state change, so escalate with separate 30, 14, and 7-day thresholds routed to team channels and then the owner directly.
  • PRTG monitors continuously while Nessus, Tenable, and Nmap scan point-in-time, so small teams benefit from running both.

The prtg ssl certificate expiry sensor watches a TLS endpoint and reports the days remaining until its certificate expires, with warning and down thresholds you set in days. This walkthrough covers adding the sensor, setting those warning periods, wiring notification triggers, and reading the output. It closes by comparing PRTG against Nessus, Nmap, and Tenable for expiry scanning.

What does the PRTG SSL certificate sensor actually monitor?

What the sensor reads from the certificate

The PRTG SSL Certificate sensor connects to a TLS endpoint and reads the certificate itself. It reports days until expiry as its primary channel, plus the issuer, common name, and the warning period that determines when the sensor shifts from OK to warning status. Default warning behavior and channel details are documented in the Paessler SSL Certificate sensor manual. In practice it answers one question per host: how long until this certificate stops working.

What it does not cover: keys, tokens, and non-TLS credentials

The sensor sees only the certificate, not the private key handling behind it. It has no view of AWS access keys, Stripe API keys, GitHub tokens, or anything stored in Secrets Manager or a vault. TLS expiry is one credential type with a public, self-announcing deadline; most of your credential sprawl has neither. That is why certificate expiry monitoring pairs with a lifecycle layer that tracks ownership and rotation deadlines for the rest, such as KeyGuardRail's brief on TLS certificate lifetimes.

How do you add and configure an SSL certificate expiry sensor in PRTG?

Adding the sensor to a device

In PRTG, certificates are monitored through a device object, not a standalone sensor. Create a device with the FQDN of the endpoint you care about, for example api.stripe.com or github.com, then use Add Sensor and search for "SSL Certificate". The SSL Certificate sensor appears under the SSL/TLS category. Place it on an existing device if one already covers that host, or create a dedicated device per hostname so ownership is obvious at a glance.

Setting the target hostname, port, and SNI

The sensor's settings carry three fields that decide whether you monitor the right certificate: target host, port, and SNI. Port 443 covers most HTTPS endpoints, but Stripe's API and GitHub's web endpoints both answer there while internal services often sit on custom ports. If the hostname and the SNI value differ, set SNI explicitly, because the server will otherwise return the default certificate from its IP.

The reason these fields matter more than they look: a sensor pointed at the right IP but the wrong SNI silently monitors a certificate nobody owns. That is exactly the "who owns this key" problem in credential sprawl, just for TLS. Name the device after the owning team, such as "Payments platform" or "Platform engineering", so the expiry alert routes to a human rather than a shared inbox. Tracking that ownership alongside rotation deadlines is what a credential lifecycle layer like KeyGuardRail adds on top of vault tooling; for a snapshot of current trust and access issues, see https://keyguardrail.com/brief/trust-and-access-october-2026.

Sensor settings that matter for TLS 1.3 and SNI-only hosts

TLS 1.3 requires SNI for most modern CDNs and load balancers, so leave the SNI field populated rather than blank. Set the warning period in days under the sensor's expiration settings; the sensor turns into warning state once the remaining validity drops below that number. Keep the check interval at the default of a few hours, since certificate expiry is a slow-moving deadline and polling every minute buys nothing.

Which warning period and expiration thresholds should you set?

The PRTG SSL certificate sensor ships with a default warning period of 30 days and an expiration threshold of 14 days, so the sensor flips to warning state a month out and down state two weeks before expiry. That default made sense when certificates lived for a year; it is too slow for what you run now.

Default warning period vs. recommended values

Match your thresholds to your rotation policy. If you already enforce 30/60/90 day rotation for long-lived credentials, your certificate alerting should fire earlier than the rotation deadline, not after it. A workable baseline:

Certificate lifetimeWarning periodExpiry threshold
90 days (Let's Encrypt)30 days14 days
1 year (commercial CA)45 days21 days
Internal/self-signed60 days30 days

The warning state fires when remaining validity drops below the warning period; the down state fires at the expiry threshold, which is what triggers notifications. Paessler's documentation covers how sensor states map to notification triggers and delivery methods: PRTG manual.

Adjusting thresholds for short-lived certificates

With Let's Encrypt's 90-day certificates, a 30-day warning gives you one renewal cycle of headroom, not two. Set warning to 21 days and expiry to 7 days if your renewal automation runs weekly, and treat a down-state alert as an incident, not a reminder. The same expiry-awareness logic applies beyond TLS: tracking API key expiry on Stripe, GitHub, and AWS keys follows the identical pattern of deadline, warning window, and owner escalation (https://keyguardrail.com/blog/how-to-track-api-key-expiry).

How do you wire SSL certificate expiry alerts to email or webhook notifications?

Creating a notification trigger on the sensor

Open the sensor's Settings, scroll to Notification Triggers, and click Add Notification Trigger. Name it something searchable like "cert-expiry-warning", set the State to "Down" (or "Warning" if you use lookup-based thresholds), and attach a notification delivery method. The trigger fires on state change, so a certificate that stays in a warning state does not re-notify until the state changes again.

Escalating alerts at 30/14/7 days

Run the same escalation ladder you use for API key rotation. Set the sensor's warning period to 30 days, then add a second trigger at 14 days and a third at 7 days using separate sensors or lookup states. Each trigger points at a different notification: the 30-day alert goes to the team channel, the 7-day alert pages the owner directly. This mirrors the 30/60/90 day rotation policy most teams already apply to long-lived creds, and the same reasoning applies to any expiring credential, not just TLS certs (https://keyguardrail.com/blog/api-key-expiration-policy-examples).

Webhook delivery into Slack or PagerDuty

For webhooks, create a Notification Delivery method of type Webhook and paste your Slack or PagerDuty Events API endpoint. PRTG sends a JSON payload containing the sensor name, state, and timestamp, which is enough for a Slack bot to post a formatted message or for PagerDuty to open an incident. Name the sensor after the credential owner, for example "stripe-api-cert - Payments platform", so the alert routes to whoever owns the rotation.

How do you interpret the sensor's output for certificate lifecycle monitoring?

Reading the days-to-expiry channel and status messages

The sensor exposes one primary channel, days remaining, plus status messages that tell you whether the certificate was reachable and parsed. A "certificate is about to expire" warning fires once you cross the warning threshold; "certificate has expired" is the down state. If the sensor shows unknown or connection errors, that is a discovery problem, not an expiry one, and it needs a different fix than a renewal. Cross-check the reported expiry date against the certificate itself using Nmap's ssl-cert NSE script documentation if you suspect stale output.

From sensor output to a renewal runbook

Days-to-expiry is metadata, not ownership. Turn each warning into a ticket that names the owner, the system, and the rotation deadline, the same 30/60/90 day policy you apply to long-lived secrets. PRTG tells you what expires; it does not tell you who owns the key or whether renewal actually happened. Pair the sensor with a credential lifecycle layer that tracks ownership and expiry across AWS, Stripe, and GitHub, as covered in credential expiration reminder tools for IT teams.

Can PRTG act as an SSL certificate expiry tracker across many hosts?

For TLS certificates on hosts you control, yes. PRTG's auto-discovery can apply a sensor template to every device it finds, so adding a new VM with an HTTPS endpoint gets an SSL certificate sensor without manual work. On a fleet of dozens or hundreds of endpoints, that covers expiry tracking for the certificates themselves.

Sensor templates and auto-discovery for bulk deployment

Create one sensor template with your warning periods and thresholds, then attach it to device templates or use auto-discovery on your subnets. New endpoints inherit the same 30/60/90-day settings, so no one hand-configures sensors per host. The audit trail stays in PRTG: one place shows every certificate, its expiry, and when each alert fired.

Where host-by-host tracking breaks down: SaaS and API credentials

The sensor only sees certificates presented by hosts you point it at. It says nothing about your Stripe API keys, GitHub tokens, or AWS Secrets Manager entries, which have their own expiry and rotation deadlines and no TLS handshake to probe. For those, you need a credential lifecycle layer that tracks ownership and rotation dates from metadata, not secret values. PRTG handles the certificate half; the keys humans keep mishandling need their own tracker.

How does PRTG compare to Nessus, Nmap, or Tenable for certificate expiry scanning?

Nmap: the ssl-cert script for one-off checks

Nmap's ssl-cert script pulls certificate details, including expiry dates, from any TLS endpoint you point it at. It is ideal for ad-hoc audits: verify a newly issued cert, sweep a subnet during an incident, or confirm a rotation landed. But it only reports what exists at the moment you run it, so a 45-day-old scan tells you nothing about a cert expiring tomorrow.

Nessus/Tenable: certificate expiry as a vulnerability finding

Nessus and Tenable treat expiring certificates as vulnerability findings within a scheduled scan. Tenable's plugin documentation covers SSL certificate checks, including expiration, as part of credentialed and uncredentialed scan policies (Tenable plugin documentation). You get a severity-rated result on each scan cycle, which works well if Nessus is already your compliance backbone.

PRTG vs. scanners: continuous vs. point-in-time

The real difference is cadence and ownership. Scanners answer "what is expired right now?" on whatever interval you scan; PRTG's SSL certificate sensor watches continuously and fires warnings at your configured thresholds, so a cert that expires between scan runs still triggers an alert. For a small team, the practical setup is both: scan quarterly for breadth, monitor continuously for the handful of endpoints that page someone at 2 a.m.

What is the impact of a missed certificate expiry, and how does PRTG help prevent it?

What actually breaks when a certificate lapses

Browsers block the site with a full-page warning, so customer-facing traffic stops before any backend fails. API clients and SDKs that validate TLS reject the endpoint too, so integrations break even when the service itself is healthy. The trust cost lingers: a visible expiry incident tells customers your lifecycle tracking has no owner.

A PRTG SSL certificate expiry sensor with warning periods at 30/60/90 days gives you those deadlines in advance, with notification triggers routed to whoever owns the certificate. That closes the TLS expiry problem for the hosts it monitors.

The gap PRTG cannot close: API keys and secret rotation deadlines

Certificates are only one credential class. Your Stripe keys, GitHub tokens, and AWS Secrets Manager entries have rotation deadlines and ownership questions that a TLS sensor never sees. The same "who owns this key" gap applies: metadata-only credential lifecycle monitoring, tracking expiry and rotation deadlines without taking custody of secret values, is a separate layer from certificate scanning. Run both, and each covers what the other cannot.

FAQ

Does the PRTG SSL certificate sensor check certificates behind SNI or on non-standard ports?

Yes to both, provided you configure it. The sensor's settings include target host, port, and SNI fields. Port 443 covers most HTTPS endpoints, but you can point it at any custom port an internal service uses. If the SNI value differs from the hostname, set it explicitly, otherwise the server returns the default certificate from its IP.

How often does PRTG check certificate expiry, and can I change the interval?

The sensor polls on your configured check interval, and the default of a few hours is the right choice. Certificate expiry is a slow-moving deadline, so polling every minute buys nothing. Because the sensor watches continuously rather than on a scan schedule, a cert that crosses a threshold between polls still triggers an alert at your configured warning period.

Can PRTG monitor certificate expiry for internal CA certificates?

Yes, as long as the endpoint presents the certificate over TLS and the sensor can reach it. The sensor reads whatever certificate the server hands back, regardless of issuing CA. For internal or self-signed certs, the recommended settings are a 60-day warning period and a 30-day expiry threshold, since internal rotation processes tend to be slower than automated ones.

Why does my PRTG SSL certificate sensor show a warning even though the certificate is valid?

A warning state means remaining validity has dropped below your warning period, not that the certificate is broken. A 90-day Let's Encrypt cert with a 30-day warning period sits in warning state for most of its life. If you see unknown or connection errors instead, that is a discovery problem, such as a wrong SNI value, not an expiry one.

Is an expired certificate a security vulnerability or just an outage risk?

Primarily an outage risk, but with a trust cost. Browsers block the site with a full-page warning, and API clients that validate TLS reject the endpoint, so integrations break even when the service is healthy. An expired cert also fails vulnerability scans, so Nessus and Tenable report it as a finding. The bigger damage is customer confidence after a visible lapse.