T2D drill runbook: a TLS service

The four places a service trusts an algorithm family, the switch for each on common stacks, and the probe that proves each switch took.

Part of the T2D drill kit.

Use it for: one service that terminates TLS (a web app, an API, a gateway), one algorithm family, on a staging copy.
You leave with: a Time to Distrust with a date, the list of what broke and who fixed it, and a change record an auditor can read.
Time box: half a working day for the first run. Stop when the box ends and write "not reached".

Every command below carries one of two marks:

  • Run by QRAMM: we ran it in our lab on 3 December 2026 and the output is in the lab results. Versions: OpenSSL 4.1.0, Go 1.27.4, Node 26.13.1, Python 3.15.2, Java 27.0.1.1, OpenSSH 10.5p1.
  • From the vendor's documentation: we read it there and link it. We haven't run it. Try it in staging before you rely on it.

1. A family is trusted in four places

"Turn RSA off" isn't one switch. A TLS service trusts a family in four places, and each has a different owner. Write down which of the four your drill covers. A drill that covers one of them has measured a quarter of the job.

#PlaceWhat it means for RSA signaturesUsual owner
1What the service presentsThe certificate and chain the listener hands outPlatform or PKI team
2What the service accepts from callersClient certificates in mutual TLSPlatform or identity team
3What each caller acceptsThe signature algorithms a client offers, and the authorities in its trust storeEvery team that calls the service, and partners
4How the session key is agreedKey exchange groups. Elliptic curves live here (X25519, P-256), and so do the hybrid groups that add ML-KEMPlatform team

Tokens signed by the service (JWT) and the signing of what you deploy are separate drills. Name them under "not tested".

2. Before the day

Open a change in the process you already use, as a planned change in staging. Fill these in on the change itself, so the record lives where your auditors already look.

FieldWhat to write
Service and environmentThe service, and how its staging copy differs from production (data, traffic, integrations that are stubbed)
Family and placesFor example "RSA signatures, places 1 and 3"
Callers in scopeEvery caller by name: other services, partners, monitors, health checks, load balancer probes, the pipeline. This list is the hard part and most of the value
"Works again" checksThe probe in section 5 for each caller, and the service's own smoke tests
Way backThe commit or flag that reverts it, and how long the revert took when you rehearsed it
Time boxStart and latest end
Who is toldOn-call, the owners of the callers, the change board if yours wants it

3. Baseline: read what is negotiated today

Ten minutes. Don't skip it: you can't say what a switch changed if you didn't read the state before.

# What the service presents to a default client, and the key exchange it picks (Run by QRAMM)
openssl s_client -connect HOST:443 -servername HOST -brief </dev/null

# Does it hold an RSA certificate? Offer RSA only.
openssl s_client -connect HOST:443 -servername HOST -brief \
  -sigalgs rsa_pss_rsae_sha256:rsa_pkcs1_sha256 </dev/null

# Does it hold an elliptic-curve certificate? Refuse RSA.
openssl s_client -connect HOST:443 -servername HOST -brief \
  -sigalgs ecdsa_secp256r1_sha256:ecdsa_secp384r1_sha384:ed25519 </dev/null

# Which key exchange groups will it take? One at a time.
openssl s_client -connect HOST:443 -servername HOST -brief -groups X25519MLKEM768 </dev/null
openssl s_client -connect HOST:443 -servername HOST -brief -groups x25519 </dev/null

Read two lines in each answer: Signature type and Negotiated TLS1.3 group. Put them in the record.

One thing our lab showed that changes how you read a baseline: a service with two certificates hands each caller the one that caller prefers. Against the same listener, the OpenSSL, Node, Python and Java clients were given the elliptic-curve certificate, and the Go client and the system curl were given the RSA one. So "our service has an elliptic-curve certificate" doesn't tell you which callers use it. Probe as each caller.

4. The switches

Start the clock at the first switch. Change one place at a time and probe after each.

Place 1: the service stops presenting the family

Remove that certificate from the listener and reload. Keep the other one.

StackHowMark
nginxA server block can carry several ssl_certificate and ssl_certificate_key pairs "to load certificates of different types, for example, RSA and ECDSA" (since 1.11.0). Remove the pair for the family you refuseVendor documentation
OpenSSL s_server (lab)Start with the elliptic-curve certificate onlyRun by QRAMM, phase B
A load balancer or gateway you rentThe family is set by which certificate the listener holds. Replace it thereNot run by us. Ask the provider which certificate types a listener can hold together

Place 3: callers refuse the family

Two parts: the algorithms the caller offers, and the authorities it trusts. Do both. Removing an authority is what a browser does when it distrusts one (the Symantec case on the prepare page). In our lab, removing the authority alone broke two callers that would have been fine if the service had handed them its other certificate (phase C).

StackHowMark
Anything that reads OpenSSL's configuration file (Python, many C and C++ services, the openssl tool)A configuration file with SignatureAlgorithms = listing only what you keep, loaded with the OPENSSL_CONF environment variable. Our file is in the lab as switches/openssl-no-rsa.cnfRun by QRAMM
JavaA properties file that adds RSA to jdk.certpath.disabledAlgorithms and RSA, RSASSA-PSS to jdk.tls.disabledAlgorithms, loaded with -Djava.security.properties=FILE. One = adds to the JDK's own file. Copy the JDK's current default lines first, they change between releasesRun by QRAMM on JDK 27
Node.jsThe sigalgs option of tls.connectRun by QRAMM
Gocrypto/tls has no setting for the signature algorithms a client accepts (we checked the package documentation of Go 1.27). A client can refuse in VerifyConnection, but it can't ask the service for the other certificate: with a two-certificate service our Go client still failed. For Go callers the fix is on the service side, place 1Run by QRAMM
HAProxy toward its back endsssl-default-server-sigalgs in global, or sigalgs on a server lineVendor documentation
Envoysignature_algorithms in TlsParameters: "If specified, the TLS connection will only support the specified signature algorithms"Vendor documentation
Trust storesRemove the family's authorities from the caller's trust store. In the lab: a bundle without the RSA authorityRun by QRAMM, phases C and D

Place 2: the service refuses the family from callers (mutual TLS)

StackHowMark
OpenSSL-based serversClientSignatureAlgorithms in the configuration file, or -client_sigalgsFrom OpenSSL's manual (SSL_CONF_cmd). Not run by us
HAProxyssl-default-bind-client-sigalgs in global, or client-sigalgs on a bind lineVendor documentation
AnyRemove the family's authority from the list the service uses to verify callersNot run by us

Place 4: key exchange

StackHowMark
OpenSSL-based servers and clientsGroups = in the configuration file, or -groupsRun by QRAMM, phases E, F, G
nginxssl_ecdh_curve takes a list of groups; ssl_conf_command Groups ... passes the OpenSSL setting through (since 1.19.4). The documentation warns that "configuring OpenSSL directly might result in unexpected behavior"Vendor documentation
HAProxyssl-default-bind-curves in global, or curves on a bind lineVendor documentation
Envoyecdh_curves in TlsParametersVendor documentation
AWS Application Load BalancerThe listener's security policy. Policies "with PQ in their names offer hybrid post-quantum key exchange" and keep classical groups "for compatibility". Hybrid key exchange is "available on TLS 1.3 connections only"Vendor documentation
Windows Server (Schannel)The "ECC Curve Order" Group Policy setting. "New curve priority lists become active on the next reboot." Plan the reboot into your time boxVendor documentation

5. The probe that proves a switch took

A changed configuration file proves nothing. After each switch, connect as each caller and read the answer.

You switchedProbeIt took when
Place 1, RSAopenssl s_client -connect HOST:443 -servername HOST -sigalgs rsa_pss_rsae_sha256:rsa_pkcs1_sha256 </dev/nullThe handshake fails. In our lab: tls alert handshake failure
Place 3, RSAPoint the caller at a test endpoint that has only an RSA certificateThe caller refuses to connect. All four of our switched clients did
Place 4, classical curvesopenssl s_client -connect HOST:443 -servername HOST -groups x25519:secp256r1 </dev/nullThe handshake fails
AnyThe baseline probes of section 3, as every callerEach caller still works, on a family you kept

6. What broke in our lab, so you know where to look first

Lab numbers describe our lab on one day. They tell you where to look, not what you'll find. Full output: the lab results.

  1. Stopping RSA at the service (phase B) broke only the caller that could do nothing but RSA. That caller is the one to find in your list: old appliances, pinned partner integrations, monitors.
  2. Removing the RSA authority from callers while the service kept both certificates (phase C) broke the Go client and the system curl, besides the RSA-only caller. The service had been handing them the RSA certificate all along.
  3. A hybrid-only key exchange (phase F) broke the system curl on our machine (curl 8.7.1 on LibreSSL 3.3.6). The OpenSSL, Go, Node and Python clients were already using the hybrid group at their defaults, and the Java client kept working.
  4. ML-KEM alone, no elliptic curve at all (phase G) broke every client at its defaults, the newest included. If elliptic curves were distrusted tomorrow, key exchange is where our lab had no ready way out.
  5. A service that presents only an ML-DSA certificate (phase H) worked for three of our clients (OpenSSL, Node, Python on OpenSSL) and failed for three (Go, Java, the system curl).

7. Stop the clock and write it down

Stop when every "works again" check passes, or when the time box ends.

  • The result, in the form the Time to Distrust page gives: T2D (family, service): time, measured on date. Add the places covered, for example "places 1 and 3".
  • One row in the register.
  • For each thing that broke: what, who fixed it, how long, and what they needed and didn't have. Each becomes a ticket with an owner and a date.
  • "Not tested": the places you left out, tokens, deploy signing, production-only integrations, and every product you buy.
  • Close the change with the result line in it.

8. Three rules that keep the number honest

  1. The clock runs from the first switch to the last passing check. Preparation isn't in it, and neither is a fix you made last week because you knew the drill was coming. Note those separately; they're worth having.
  2. A caller you exempted is a caller you didn't test. Name it.
  3. If you reverted before it worked, the result is "not reached", with how far you got. That's a result.

Time to Distrust (T2D) is QRAMM's term, not a standard metric.