Definition

For each in-scope client, record the termination point, baseline, intended cryptographic profile, expected application result, and rollback owner. In staging, capture the negotiated result and exercise the rollback. Repeat the relevant checks during the canary and after rollout.

Build a test matrix from real dependency paths

Start with the current profile and the exact change under review. Enumerate distinct TLS legs, such as client to edge and edge to origin, including managed gateways and partner endpoints in scope. Group clients by TLS library, version and operating policy. Give unattended clients, mTLS callers and long-lived agents explicit rows when they use a different stack.

Run the matrix on the existing configuration first. Record pre-existing failures, negotiated settings, handshake error rate and latency at a representative load. Agree on the acceptable failure rate and latency budget before introducing the candidate. NIST CSWP 39 describes the interoperability and operational trade-offs that motivate this process.

Official sourcesNIST CSWP 39, Considerations for Achieving Crypto Agility ↗

Define a pass condition for each dependency

TestEvidence to captureDecision
Expected negotiationTLS version, key exchange group and authentication evidence for a fresh connectionRequire the approved profile on paths where it is mandatory.
Approved compatibility pathActual profile and client category when an allowed alternative is selectedKeep a named owner and expiry date for each policy exception.
Application transactionSuccessful read-only synthetic operation, plus client identity and authorization result where mTLS is usedHold the rollout if the handshake works but the operation fails.
PerformanceHandshake time and failure rate by client group under comparable loadUse the agreed service thresholds for each affected path.
RecoveryRestored profile, a fresh handshake and a successful application checkConfirm the owner can restore an allowed configuration within the change window.

Worked example for a hybrid TLS key exchange

Imagine an API with a managed edge and a separate TLS connection to the origin. A current client in staging negotiates the approved hybrid group at the edge and completes a synthetic read. A legacy agent negotiates an allowed classical group and completes the same read. Record the first row as hybrid and the second as a time-limited exception. The origin leg stays unverified until the gateway-to-origin test runs.

Run fresh handshakes to capture negotiation and test the expected resumption behavior separately. Also record server authentication. A hybrid key exchange can coexist with conventional certificate signatures, so report each property independently.

Verify the canary and exercise the rollback

  1. Define stop conditions

    Assign the rollout owner and specify which negotiation, error rate or application failures pause expansion. Pre-authorize a recovery configuration that meets the applicable policy.

  2. Compare scoped observations

    Record the build or configuration version, client and target, test time, expected setting, observed setting, and application result. Capture missing client groups and untested termination points with a responsible owner.

  3. Confirm recovery

    Exercise recovery in staging and retest the original client matrix on the restored configuration. During a canary, verify that an invoked rollback restores both the intended cryptographic profile and normal application behavior.

Frequently asked questions

What does a crypto-agility test demonstrate?

It demonstrates that specified clients and services can adopt or recover from a cryptographic change within agreed limits. Coverage follows the tested client matrix and endpoint scope.

Does a successful TLS handshake pass the test?

Require the expected negotiated settings and the application-level result. Include client authentication and authorization checks when the service uses mTLS.

How can I use a public TLS scan during rollout?

Use it to retain independently observed properties of an authorized public termination point. Use client telemetry and environment-specific tests for missing negotiation fields, private legs and application transactions.