| Internet-Draft | Certificate Observation Records | November 2026 |
| Soteras | Expires 27 May 2027 | [Page] |
Operators need to know which X.509 certificates are installed where, when they expire, and whether a renewed certificate has actually reached the service that uses it. This information is produced by many different parties: network observers, local agents, configuration management systems, and certificate issuers. Each currently uses its own format, and many endpoints cannot be reached by a central monitoring system at all.¶
This document defines the Certificate Observation Record: a transport-independent information model describing one certificate as seen at one location by one reporter, together with a JSON encoding, an HTTP-based exchange mechanism, and a file-based handoff. The record distinguishes the reporter from the subject it describes, so that one system can report on behalf of endpoints that a collector cannot reach, and it labels each record with the kind of evidence it carries, so that a collector can detect when issuance, deployment and actual service diverge.¶
This note is to be removed before publishing as an RFC.¶
Discussion of this document is expected to take place on the Operations and Management Area Working Group mailing list (opsawg@ietf.org). Feedback on the ACME and LAMPS lists is also welcome where relevant.¶
This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.¶
Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet-Drafts is at https://datatracker.ietf.org/drafts/current/.¶
Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress."¶
This Internet-Draft will expire on 27 May 2027.¶
Copyright (c) 2026 IETF Trust and the persons identified as the document authors. All rights reserved.¶
This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Revised BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Revised BSD License.¶
The maximum validity of publicly trusted TLS server certificates is being reduced in stages, reaching 47 days in 2029 [SC-081]. Many organisations apply similar or shorter lifetimes to certificates from private certification authorities. As lifetimes shrink, certificate renewal must be automated, and the failure modes move: issuance usually succeeds, but the new certificate is not installed on every endpoint, is installed but not loaded by the service, or is installed on a system that no monitoring tool examines.¶
Automated issuance protocols such as ACME [RFC8555] and ACME Renewal Information [RFC9773] tell a client when to renew. They do not tell an operator whether the result reached every place where it is needed. Certificate Transparency [RFC9162] records publicly trusted issuance but not deployment, and does not cover private certification authorities.¶
In practice, knowledge about certificates is spread across several systems:¶
Each of these uses its own data format, so correlating them requires custom integration for every pair of tools. In addition, a large class of certificates is invisible to network observation: endpoints in isolated network segments, services that only accept mutually authenticated TLS, intermittently connected devices, and certificates that are never presented on a listening port at all, such as client certificates, signing certificates and certificates waiting on disk to be loaded.¶
This document defines a common record format so that any of these parties can describe what it knows about a certificate, and any collector can consume and correlate those descriptions. It specifies:¶
The information model is intended to be bound to other transports in the future, including a YANG data model and an SNMP notification profile; see Section 8.¶
This document covers X.509 certificates [RFC5280] used by any protocol, not only TLS. It does not define how certificates are requested, issued, renewed or installed, and it does not define alerting policy. A record describes a certificate; it never carries private key material.¶
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all capitals, as shown here.¶
A network observer periodically connects to known services, completes a TLS handshake, and records the presented certificate and chain. This is the most common form of certificate monitoring today. It shows what clients actually receive, but only for services the observer can reach and authenticate to.¶
Many endpoints cannot be reached by a central observer: systems in isolated or perimeter network segments, services listening only on local interfaces, services that require client authentication, intermittently connected devices, and remote sites. A local agent on such an endpoint reads its certificates and sends records outbound to a Collector, or places them where an existing agent forwards them. Only one outbound path from the endpoint is required.¶
A configuration management system often has access to endpoints that the Collector cannot reach, and knows which certificate each endpoint is supposed to hold. It can report, on behalf of each managed endpoint, what it declared and what it deployed, and it can run collection tasks on the endpoint and report the observed result. The Collector files these records under the managed endpoint, not under the configuration management system.¶
An issuer system reports each certificate it issues, with its validity period and, where available, the renewal window suggested by ACME Renewal Information [RFC9773]. This gives the Collector the expected state against which deployments can be compared.¶
By comparing records about the same Subject and Location that carry different evidence types, a Collector can detect common failures: a certificate issued but never deployed, deployed to disk but not loaded by the service, or loaded on one node of a cluster but not on the others.¶
Client certificates, signing certificates, certification authority certificates, and certificates used only inside an application are never seen by a network observer. Local agents and configuration management systems can report them with the same record format.¶
Many network appliances, printers and management controllers cannot run an issuance client or a local agent and expose only limited management interfaces. The information model is designed so that it can be mapped to such interfaces in the future (see Section 8), while proxy reporting by a configuration management system covers these devices in the meantime.¶
A Certificate Observation Record contains the following elements. Element names here are abstract; their JSON names are given in Section 5.¶
The evidence type allows a Collector to weigh and compare records. This document defines the following values:¶
A Reporter MUST use the evidence type that reflects how it actually obtained the information, and MUST NOT report "observed-store" or "observed-wire" for information derived only from configuration or deployment results. Additional values can be registered (Section 12.2).¶
A Reporter MAY include one or more of the following status values. Their absence does not imply that the certificate is valid.¶
Thresholds such as "expiring soon" are policy decisions and are left to the Collector.¶
Records are encoded as JSON [RFC8259] objects. One or more records are carried in a record set. Timestamps are RFC 3339 [RFC3339] date-time values in UTC. Fingerprints are lowercase hexadecimal SHA-256 digests of the DER-encoded certificate. The structure is defined by the following CDDL [RFC8610]:¶
cert-observation-set = {
version: 1,
records: [+ cert-observation-record]
}
cert-observation-record = {
version: 1,
? record-id: tstr,
reporter: tstr,
subject: subject,
location: location,
evidence: evidence-type,
observed-at: timestamp,
? valid-for: uint,
? certificate: certificate-info,
? chain: chain-info,
? expected-sha256: fingerprint,
? renewal-window: renewal-window,
? status: [+ status-value],
? extensions: { * tstr => any }
}
subject = {
? host: tstr,
? service: tstr,
? id: tstr
}
location = {
? address: tstr,
? port: uint .le 65535,
? sni: tstr,
? path: tstr,
? store: tstr,
? label: tstr,
? config-item: tstr
}
evidence-type = "issued" / "declared" / "deployed" /
"observed-store" / "observed-wire" / tstr
certificate-info = {
sha256: fingerprint,
? subject-dn: tstr,
? san: [* tstr],
? issuer-dn: tstr,
? serial: tstr,
? not-before: timestamp,
not-after: timestamp,
? public-key-algorithm: tstr,
? public-key-size: uint,
? signature-algorithm: tstr,
? der: tstr
}
chain-info = {
? certificates: [* fingerprint],
validation: "valid" / "invalid" / "incomplete" / "not-checked",
? trust-anchor: tstr
}
renewal-window = {
start: timestamp,
end: timestamp
}
status-value = "not-found" / "expired" / "not-yet-valid" /
"chain-invalid" / "name-mismatch" /
"unexpected-certificate" / tstr
timestamp = tstr ; RFC 3339 date-time, UTC
fingerprint = tstr .regexp "[0-9a-f]{64}"
¶
The "der" member, when present, contains the base64 encoding [RFC4648] of the DER-encoded certificate. The "public-key-algorithm" and "signature-algorithm" members contain human-readable algorithm names; a future revision may reference an algorithm registry instead.¶
{
"version": 1,
"records": [
{
"version": 1,
"record-id": "obs-7f3a2c",
"reporter": "observer1.example.net",
"subject": { "host": "www.example.net", "service": "https" },
"location": { "address": "192.0.2.10", "port": 443,
"sni": "www.example.net" },
"evidence": "observed-wire",
"observed-at": "2026-11-23T08:00:00Z",
"valid-for": 3600,
"certificate": {
"sha256":
"9f2c6b1e0d4a5f8e7c3b2a1908f7e6d5c4b3a2918f7e6d5c4b3a291807f6e5d4",
"subject-dn": "CN=www.example.net",
"san": ["www.example.net", "example.net"],
"issuer-dn": "CN=Example Issuing CA, O=Example",
"not-before": "2026-11-01T00:00:00Z",
"not-after": "2027-05-19T23:59:59Z",
"public-key-algorithm": "ECDSA P-256",
"signature-algorithm": "ecdsa-with-SHA384"
},
"chain": { "validation": "valid" }
}
]
}
¶
A configuration management system reports, on behalf of a printer that the Collector cannot reach, that it deployed a certificate. A second record, produced by a collection task the system ran on the printer's management interface, reports that the old certificate is still being served.¶
{
"version": 1,
"records": [
{
"version": 1,
"reporter": "cms.example.net",
"subject": { "host": "printer-2.example.net" },
"location": { "port": 443,
"config-item": "web-ui-certificate" },
"evidence": "deployed",
"observed-at": "2026-11-23T07:55:12Z",
"valid-for": 86400,
"certificate": {
"sha256":
"1b7d1c0e9f8a7b6c5d4e3f2a1b0c9d8e7f6a5b4c3d2e1f0a9b8c7d6e5f4a3b2c",
"not-after": "2027-02-20T12:00:00Z"
}
},
{
"version": 1,
"reporter": "cms.example.net",
"subject": { "host": "printer-2.example.net" },
"location": { "port": 443 },
"evidence": "observed-wire",
"observed-at": "2026-11-23T07:58:40Z",
"valid-for": 86400,
"certificate": {
"sha256":
"e4d3c2b1a0f9e8d7c6b5a4f3e2d1c0b9a8f7e6d5c4b3a2f1e0d9c8b7a6f5e4d3",
"not-after": "2026-12-02T12:00:00Z"
},
"expected-sha256":
"1b7d1c0e9f8a7b6c5d4e3f2a1b0c9d8e7f6a5b4c3d2e1f0a9b8c7d6e5f4a3b2c",
"status": ["unexpected-certificate"]
}
]
}
¶
A Reporter sends a record set to a Collector using an HTTP [RFC9110] POST request to a URI configured by the operator. The request content MUST be a cert-observation-set with media type "application/cert-observation+json" (Section 12.1). HTTPS MUST be used.¶
The Collector responds as follows:¶
A Collector MAY accept part of a record set and reject records for Subjects the Reporter is not authorised to report on; it then SHOULD return 202 and indicate the rejected records using a problem details object [RFC9457]. Reporters SHOULD retry failed deliveries with exponential back-off and SHOULD include record identifiers so that retries do not create duplicates.¶
A Reporter MAY instead publish its current record set at an HTTPS URI, which a Collector retrieves with GET. The Reporter SHOULD provide an entity tag so that the Collector can use conditional requests. Pull requires the Collector to reach the Reporter and is therefore not suitable for the use case in Section 3.2; push or file handoff should be used there.¶
Many endpoints already run a monitoring or log forwarding agent that transports local files to a central system. A Reporter MAY write record sets as files to a directory configured for such an agent. Each file contains one cert-observation-set and SHOULD use the file name extension ".cor.json". Reporters MUST write files atomically, for example by writing to a temporary name and renaming, so that a partially written file is never forwarded.¶
A Collector groups records by Subject and Location. Within a group, it compares certificate fingerprints across evidence types. The following comparisons are useful; the resulting alerts are a matter of local policy:¶
Location elements can be described differently by different Reporters. Collectors SHOULD allow operators to define equivalences, for example between a file path and the network port that serves it.¶
A record whose observed-at plus valid-for is in the past is stale. A Collector MUST NOT treat a stale record as evidence that a certificate is currently present, and SHOULD alert when a Subject that previously reported stops reporting. This prevents a failed Reporter, for example a configuration management run that no longer executes, from hiding an expiring certificate behind its last successful report.¶
When valid-for is absent, the Collector applies a locally configured default.¶
The information model in Section 4 is independent of transport. Future documents may define:¶
The relationship to cryptographic inventories of software artifacts, which describe algorithms and keys embedded in software rather than certificates observed in operation, is also for further study.¶
[RFC Editor: please remove this section before publication, together with the reference to RFC 7942.]¶
This section records the status of known implementations of the protocol defined by this specification at the time of posting of this Internet-Draft, and is based on a proposal described in [RFC7942].¶
No implementations are known at the time of writing. The author plans a prototype consisting of a local agent and a configuration management task that produce records, and an exporter for an open-source monitoring system that consumes them.¶
A false record can hide a problem: a forged "observed-wire" record with a valid certificate could suppress an expiry alert until the service fails. Collectors MUST authenticate Reporters, for example using TLS client certificates or bearer tokens over HTTPS, and MUST maintain an authorisation policy that states which Subjects each Reporter may report on. By default, a Reporter SHOULD only be authorised to report on itself; proxy reporting SHOULD require explicit configuration.¶
Where records pass through intermediaries such as file-forwarding agents, the Collector authenticates the agent rather than the Reporter. Deployments that need end-to-end integrity MAY sign record sets using JSON Web Signature [RFC7515]; the details are left for a future revision.¶
An attacker who can replay old records could make a Collector believe a certificate is still in place. The freshness rules in Section 7.2 limit the effect of replay. Collectors SHOULD reject records whose observed-at lies significantly in the future and SHOULD discard duplicate record identifiers from the same Reporter.¶
A collection of records is a detailed map of an organisation's services, internal names, certification authorities and weak algorithms, which is valuable to an attacker. Records MUST be transmitted only over authenticated, encrypted channels, and Collectors SHOULD protect stored records accordingly. Files written for file-based handoff SHOULD be readable only by the forwarding agent.¶
Records describe certificates only. A Reporter MUST NOT include private keys or any secret key material in a record, including in extensions.¶
Client certificates and some server certificates contain personal data such as names and email addresses. Reporters SHOULD omit the subject distinguished name, subject alternative names and DER encoding of certificates that identify individuals unless the operator needs them, and rely on the fingerprint for correlation.¶
IANA is requested to register the following media type in the "Media Types" registry [RFC6838]:¶
IANA is requested to create a registry titled "Certificate Observation Evidence Types". The registration policy is Specification Required [RFC8126]. Each entry has a name, a description and a reference. The initial contents are:¶
| Name | Description | Reference |
|---|---|---|
| issued | Issued by an issuer system | This document |
| declared | Stated by configuration | This document |
| deployed | Placed by a deployment action | This document |
| observed-store | Read from a file or store | This document |
| observed-wire | Obtained from a protocol exchange | This document |
IANA is requested to create a registry titled "Certificate Observation Status Values", with registration policy Specification Required [RFC8126], containing the values defined in Section 4.2 with this document as reference.¶
This section is to be removed before publishing as an RFC.¶
TBD.¶