Double Sign: a second, independent signature for the server itself

Abstract

A valid TLS certificate proves that someone controlled a domain name when the certificate was issued. It does not prove that the machine answering is one the operator authorized. Anyone who controls the domain’s DNS, its registrar account or a certificate authority can obtain a valid certificate and impersonate the server. Double Sign (Double Certificate Authority, DCA) adds a second check that shares none of those dependencies: a node credential, issued under an offline, threshold-signed root, that binds the server’s key to its authorized addresses and services. The server proves it holds that key by signing values unique to the current TLS session. A client accepts the connection only when both checks pass. This paper describes the design, the verification algorithm, the threats it addresses and the ones it does not. A reference implementation and language-neutral test vectors exist; neither has been independently audited.

1. The problem

Web PKI answers one question: may this certificate represent example.com? Clients then treat a yes as the answer to a different question: is this the operator’s real server? The two come apart whenever the domain path fails.

  • A DNS hijack or poisoned resolver sends clients to an attacker’s host, which then passes domain validation and receives a genuine certificate.
  • A compromised registrar or TLD account gives the attacker the same power, permanently.
  • A rogue or compromised certificate authority can issue a valid certificate for any name.

In each case the client sees a valid certificate, and nothing in the connection tells it that the server is not one the operator runs. Certificate Transparency can reveal misissuance after the fact, but it does not stop the connection.

2. Design

Double Sign separates the two questions and answers the second one through a trust hierarchy that deliberately shares no dependency with DNS, registrars or TLD registries. An attacker who controls the whole domain path still has to defeat a second, independently governed boundary.

The hierarchy has four layers, and each layer can only authorize the one directly below it:

  • Root metadata, kept offline and signed by k of n custodians. It names the keys for every other role. A separate recovery role, with keys that must be disjoint from the root keys, can approve a successor root if root keys are lost.
  • Monthly epochs, signed by the epoch role. An epoch lists the node authorities allowed to issue credentials that month, each limited to named domains and network ranges.
  • Node credentials, issued by a node authority. A credential binds one server’s key to its addresses and services for one epoch.
  • Attestations, signed by the server’s node key for a single TLS connection.

A separate revocation role signs short-lived revocation lists, so a stolen node key or authority key can be cut off between epochs. Root keys are never needed for routine operation. The root, role and threshold model, root rotation that needs both old and new keys, and version watermarks all follow The Update Framework (TUF).

Every document is a signed envelope over a canonical, domain-separated JSON encoding. Keys use ML-DSA-65 (FIPS 204) signatures by default, with Ed25519 also supported. Node credentials can also be carried as X.509 certificates.

3. How a connection is verified

  • TLS 1.3 handshake. The client validates the domain certificate as usual. This is the first signature.
  • Attestation frame. The server immediately sends its node credential and an attestation signed by its node key, optionally with fresh trust metadata attached. Attached metadata is applied only if it verifies, and can only move the client’s trust store forward.
  • Node credential checks. The root is unexpired; the credential’s epoch is currently accepted; its authority is listed in that epoch with a threshold of valid signatures; the credential is inside its validity window and inside the authority’s constraints; nothing in the chain is revoked; the hostname and port match one of its services; and the peer’s IP address is one of its addresses.
  • Proof of possession. The attestation must be signed by the credential’s node key and must name this credential, this hostname, the SHA-256 of this certificate and this session’s TLS exporter secret (RFC 8446 §7.5). Only the two ends of this TLS session know that secret, so the attestation cannot be replayed, relayed into another session or moved to another certificate.
  • Result. If every check passes, the connection is handed to the application. If any check fails, it is closed before any application data is exchanged.

Clients fail closed everywhere: a missing frame, stale metadata or an unknown authority is a rejection, never a fallback to plain TLS. Only TLS 1.3 is accepted, and the client does not resume sessions, so every connection gets a full certificate and hostname check.

4. Threats addressed

Each scenario below has at least one automated test in the reference implementation.

ScenarioWhy it fails for the attacker
DNS hijack with a valid domain certificateThe attacker has no node credential. Replaying the real one fails, because the attestation must be signed by the node key.
Fraudulent certificate plus relay of the genuine server’s attestationThe attestation is bound to the TLS exporter secret and the certificate hash, so a relayed frame belongs to another session.
Registrar or TLD compromiseThe node trust anchor is outside DNS, and authorities do not issue on DNS evidence. An authority the attacker creates is not listed in any epoch.
IP route hijackOwning the address proves nothing; the attacker still cannot produce a session-bound signature.
Stolen node keyAn emergency revocation list cuts it off immediately, and any server can attach that list for its clients. Monthly re-keying bounds exposure.
Stolen node authority keyRevoking the authority key invalidates all of its credentials. Its domain and network constraints limit what it could issue in the meantime, and clients re-check them.
Rollback, replay or withheld updatesVersion watermarks reject older metadata; expiry times make clients fail closed rather than trust stale metadata indefinitely.
Another tenant on a shared IPCredentials are scoped to named services, and the attestation is bound to the requested hostname.
Downgrade to plain TLSThe client requires the attestation frame. A missing or malformed frame, or a timeout, aborts the connection.

5. Beyond a single TLS connection

Three extensions apply the same model where the basic TLS binding does not fit.

  • Delegated agents. A node can enroll agents of its own (root → node → agent), within a ceiling the root sets in each epoch. Agents verify each other locally, with no online service, and a maximum offline trust window makes stale trust fail closed.
  • Websites. A site certificate under the same root signs a manifest of the site’s files, published at /.well-known/dca.json. A client that has pinned the root can tell the real site from one served after a DNS hijack, even when a CDN terminates TLS, because the files are signed rather than the session.
  • Any program. An HTTP binding lets clients in any language request a nonce-bound proof, and a command-line proxy adds verification in front of programs that cannot be changed, such as a database client or SSH.

6. What it does not protect

  • A compromised threshold of root keys can authorize anything. Custody separation, the independent recovery role and monitoring of published metadata are the controls, and recovery means re-provisioning clients out of band.
  • A stolen node key and credential, used from inside the authorized address range, works until it is revoked or the credential expires.
  • Denial of service remains possible. Double Sign trades availability for authenticity by design: when in doubt, clients refuse to connect.
  • If the same people or systems control both the domain’s DNS and the node authority’s issuance, the second signature adds little. The independence has to be organizational, not only cryptographic.
  • Ordinary browsers do not enforce Double Sign. Protection applies only to clients that implement it.
  • Signatures are post-quantum by default, but the TLS key exchange is still classical, so recorded traffic could be decrypted later by a sufficiently capable attacker.
  • If the server application itself is compromised, no authentication scheme helps.

8. Status and next steps

A TypeScript reference implementation covers the TLS, X.509, web and HTTP bindings and the delegated agent hierarchy, with 102 automated tests that include the threat scenarios above over real TLS 1.3 sockets. Language-neutral conformance vectors define the exact outcome, success or a specific failure code, that any other implementation must produce.

It is a research prototype. The protocol and the implementation have not been formally verified or independently audited, it has not been publicly released, and it is not part of Vigilhold. It should not be the only protection for a production system until both reviews have happened.

Next steps under consideration:

  • Transparency logging for node credentials and trust metadata, so misissuance is detectable.
  • Carrying the attestation in a TLS or certificate extension instead of an application-layer frame, which would make browser support feasible.
  • Post-quantum TLS key exchange (X25519MLKEM768).

References

  1. E. Rescorla, The Transport Layer Security (TLS) Protocol Version 1.3, RFC 8446, §7.5 Exporters (2018)
  2. NIST, FIPS 204: Module-Lattice-Based Digital Signature Standard (ML-DSA) (2024)
  3. The Update Framework (TUF) specification
  4. P. Hoffman, J. Schlyter, The DNS-Based Authentication of Named Entities (DANE) TLS Protocol: TLSA, RFC 6698 (2012)
  5. M. Lepinski, S. Kent, An Infrastructure to Support Secure Internet Routing (RPKI), RFC 6480 (2012)
  6. B. Laurie, E. Messeri, R. Stradling, Certificate Transparency Version 2.0, RFC 9162 (2021)

Cite this paper

Al's-Ops LLC. “Double Sign: a second, independent signature for the server itself.” Working paper, October 21, 2026. https://alsopss.com/research/double-sign

Shorter version on the blog: Domain trust alone is not enough.