Skip to content

7. Domain Discovery

Section 7 of draft-laget-pdf-pqs-00.

A signing domain publishes a JSON policy document specifying the certification authorities authorized to issue PDF-PQS certificates for that domain, together with an optional effective date after which all signatures from the domain are expected to carry a PDF-PQS signature.

7.1. Location

The policy document for a signing domain <domain> is retrieved from:

https://pdfpqs.<domain>/.well-known/pdfpqs.json

Following the model of MTA-STS [RFC8461], the policy is hosted on a fixed subdomain. This allows a domain operator to delegate hosting to a signing provider via a single DNS CNAME record without granting that provider control over the apex domain. The pdfpqs label intentionally omits a leading underscore so that public certification authorities can issue TLS certificates for the host.

The server MUST serve the policy document over HTTPS using a TLS certificate valid for pdfpqs.<domain>. Clients MUST NOT follow HTTP redirects to a different host.

Verifiers MUST query the exact signing domain extracted from the certificate and MUST NOT fall back to a parent domain’s policy document. A signing subdomain publishes its own policy document, and its pdfpqs host may point via CNAME to the same provider.

7.2. Availability

Fetching the policy document for a signing domain D yields one of three states:

  • Available: The server responds with HTTP status 200, and the response body is a syntactically valid policy document: a JSON object with version equal to 1, domain equal to D, and an issuers array conforming to Section 7.3.

  • Not published: DNS resolution for pdfpqs.<D> returns NXDOMAIN, or the server responds with HTTP status 404 or 410. In this state, domain D is treated as publishing no policy document.

  • Unavailable: Any other outcome, including DNS resolution errors other than NXDOMAIN, TLS handshake or certificate validation failures, timeouts, cross-host redirects, other HTTP status codes, malformed JSON, a version value other than 1, or a domain value that does not match D.

Verifiers SHOULD cache the most recent available policy document for each domain and use the cached copy if a subsequent fetch returns Unavailable. If a newly retrieved policy document removes pqcRequiredFrom or shifts its timestamp to a later time, the verifier SHOULD alert the user. When a policy document is Unavailable and no cached copy exists, the verifier applies the fallback behavior defined in steps 7 and 11 of Section 9.

7.3. Format

A policy document is a JSON object containing the following members:

  • version: REQUIRED. The integer 1.

  • domain: REQUIRED. The signing domain name, which MUST match the <domain> component of the request URI.

  • pqcRequiredFrom: OPTIONAL. An RFC 3339 timestamp indicating the point in time at or after which every signature issued by this domain is expected to be accompanied by a PDF-PQS signature.

  • issuers: REQUIRED. A JSON array of objects, each containing a certificate member (an HTTPS URI referencing a DER-encoded CA certificate) and a crl member (an HTTPS URI referencing a DER-encoded CRL).

  • policies: OPTIONAL. A JSON array of objects, each containing oid, label, and cps URI members describing a certificate policy OID asserted by the listed issuers.

Verifiers MUST ignore unrecognized JSON members to allow forward-compatible extensions.

{
  "version": 1,
  "domain": "example.com",
  "pqcRequiredFrom": "2027-01-01T00:00:00Z",
  "issuers": [
    {
      "certificate": "https://pki.example.net/certs/example-com.der",
      "crl": "https://pki.example.net/crl/example-com.crl"
    }
  ],
  "policies": [
    {
      "oid": "1.3.6.1.4.1.99999.2.2.2",
      "label": "Organization validated",
      "cps": "https://pki.example.net/cps"
    }
  ]
}

7.4. Domain Membership

A certificate is considered a member of signing domain D if and only if both of the following conditions hold:

  • D is one of the certificate’s signing domains (subdomains of D are distinct signing domains).
  • A valid certification path connects the certificate to a CA certificate listed in the issuers array of D’s policy document.

Verifiers use domain membership in step 7 (Section 9): if a PDF-PQS signer certificate does not chain to a locally configured trust anchor, the verifier evaluates paths terminating at the issuers listed in the signer’s domain policy document to produce a “Valid, domain only” outcome. If the domain’s policy document is not available, its issuers cannot serve as trust anchors.

Type to search…

↑↓ navigate↵ selectEsc close