Skip to content
FR Version françaiseBook a demo

Certificates: the certificates plugin and its providers

The TLS certificates an organisation depends on, watched by an agent: what expires, what is expired or broken, why a renewal is stuck, and which certificates nobody manages. The work is split in two kinds of plugins:

  • certificates, the profile plugin. It declares the profile certificates/certificates@1 (what any certificate source must serve) and carries everything that does not depend on the source: the agent, its skill, the template and the evals. It runs no server and reaches no system on its own.
  • A provider plugin per kind of source. Three exist, and they see different things, so they are meant to be installed together: certificates-probe (what endpoints serve), certificates-cert-manager (what cert-manager renews in a cluster) and certificates-ct (what public certificate authorities logged for your domains).

Read-only. No tool of the profile writes: the agent proposes every fix as text for a person to apply.

Part Name What it does
Profile certificates/certificates@1 4 read tools: get_provider (the source, its kind and what it can see), list_certificates, get_certificate and list_findings (expired, expiring, renewal failing, not trusted, chain incomplete, name not covered, unreachable)
Agent cert-watch reads every instance, get_provider first, and reports what expires or is broken soon, and names issued that no inventory knows
Skill certificate-renewal-triage following the renewal chain, HTTP-01, DNS-01, rate limits, what a probe adds
Template cert-review a scheduled review (the agent), read by the people of platform-team, done
Evals evals/cert-watch.yaml instruction checks, and live cases on the providers’ fakes
Conformance suite conformance/ the tests a provider’s server runs against itself to prove it serves the profile
Provider Plugin What it serves Setup
TLS endpoints certificates-probe the certificate each listed host serves, read over a TLS connection; no credential Install the certificates-probe connector
cert-manager certificates-cert-manager the certificates cert-manager holds and renews in a Kubernetes cluster, in the listed namespaces Connect certificates-cert-manager to a cluster
Certificate Transparency certificates-ct the certificates a public log’s index records for the listed domains; no credential Install the certificates-ct connector

A certificate that the log shows and that no probe serves and no manager holds is the agent’s “undeclared certificate”: finding one needs at least the log and one of the two others.

Install the certificates plugin and its providers

Section titled “Install the certificates plugin and its providers”
  1. Install certificates in your organisation, from the console’s Plugins page. It brings the agent, the skill, the template and the evals. The installer plays the evals before it writes anything.
  2. Install the provider plugins you need, for example certificates-probe and certificates-ct. Each one requires certificates: the installer refuses it while certificates is not installed. Each brings a server, so each install waits for a second administrator’s approval in Plugins. The installer checks that the server serves the profile: every tool, the same access, compatible schemas.
  3. Configure each connector. Each install creates the server’s default instance: a connector named after the server (certificates-probe, …), unconfigured until its form is filled. Follow each provider’s setup page.
  4. Create a project from the template plugin:certificates/cert-review, and add the weekly schedule its README gives to the project’s configuration (a template cannot ship a cron).
  • Several providers. The agent names the profile certificates/certificates@1, not a connector: when a run starts, the platform opens every connector whose server implements the profile and that the project may use, each under its own name (certificates-probe__list_findings, certificates-ct__list_certificates, …). The agent reads them all and tells what each source cannot see.
  • Two instances of one provider, for example a second cluster for cert-manager: on Library → Plugins, the server’s Add instance creates another connector of the same server, for example certificates-cert-manager-staging (a name of 2 to 48 characters, lowercase letters, digits and dashes, unique among the organisation’s connectors), with its own configuration, secrets and egress. The default instance cannot be deleted alone; uninstalling the plugin removes every instance.
  • A limit. One run opens at most 16 instances for one profile by default; the ones left out are named in the run.