
Replace cryptographic relationships in controlled waves, and prove that the new security properties survive failure and recovery.
By Paul Bryant | Digital Thought Disruption | The Post-Quantum Multi-Cloud, Part XI of XII

TL;DR
Post-quantum cryptography (PQC) migration is an engineering program, not a configuration campaign. Establish the actual cryptographic relationships supporting each service. Select supported target profiles for specific producers and consumers.
Use infrastructure as code (IaC) to control changes, but require observations of negotiation, signature verification, data access and failure recovery before advancing each wave. A local OpenSSL 3.5.5 experiment in this article demonstrates hybrid TLS negotiation, rejection of incompatible clients and modified ML-DSA-signed data. It is deliberately not a production qualification.
Prepare verifiers and recovery systems before changing issuers, key providers and production endpoints.
Introduction
The fictional financial services enterprise intends to protect its highest-priority information first and align later work with supported refresh cycles. Some clients cannot use hybrid key agreement, some recovery appliances cannot verify new signatures, and approved software and historical records must remain usable. The team needs to qualify each dependency before changing the relationships around it.
NIST finalized IR 8547 in October 2026 and updated its crypto-agility guidance in June 2026. [1][2] The UK National Cyber Security Centre (NCSC) recommends discovery and initial planning by 2028, high-priority work by 2031 and completion by 2035. [3] Use these as planning references alongside the service’s own deadlines. Only the explicitly identified loopback cases were executed.
Establish a versioned migration contract
Start with a business service and its mandatory security properties. Use the relationship discovery records from Part II rather than assigning a readiness rating to the provider. The NIST National Cybersecurity Center of Excellence (NCCoE) migration project separates discovery and interoperability work. Its earlier SP 1800-38B and 38C publications are preliminary drafts, not final normative requirements. [4]
A CycloneDX cryptography bill of materials (CBOM) describes algorithms, keys, certificates and relationships to software. [5] Combine this with the software bill of materials (SBOM), deployed versions, runtime negotiation, supplier evidence and recovery inventory. Do not assume that a library embedded in an image is the implementation actually selected by an application.

For the example, the architecture board establishes the following initial scope. These are target requirements, not claims about installed product capabilities.
| ID | Relationship | Proposed transition | Prerequisite |
|---|---|---|---|
| R01 | Client to gateway | TLS 1.3 hybrid key agreement | Supported client and listener |
| R02 | Gateway to application | Independent hybrid TLS profile | Supported origin and gateway |
| R03 | Application authentication | ML-DSA certificates in a bounded domain | Compatible chain and verifiers |
| R04 | Release to deployment | Approved ML-DSA signature | Trusted signer and receiving verifier |
| R05 | Backup key access | Supported target key envelope | Old and new readers qualified |
| R06 | Recovery administration | Current approved identity and trust policy | Independent access and key recovery |
Transport Layer Security (TLS) hybrid key agreement is not a signature mechanism. RFC 9846 specifies TLS 1.3; RFC 10024 defines its three ML-KEM hybrid groups. NIST SP 800-227 describes appropriate key encapsulation mechanism (KEM) usage; FIPS 204 defines ML-DSA signatures. [6][7][8][9] Use the supported protocol construction and applicable module evidence rather than inventing an algorithm combiner.
Record a stable relationship ID for each operation, security property, peer or boundary, profile version, deployment and required scenario. Record current approved and proposed target profiles separately, including source and destination versions, peer identity, exact algorithm, key identifier, verification policy, owner and rollback limit. Record shared dependencies once and evaluate mandatory joint combinations separately. A failed candidate does not revoke an independently approved current profile. Add the confidentiality horizon, dependency IDs, test procedure and expiry of any exception. A profile approved for a laboratory cannot be reused for a production region or appliance build without checking applicability.
The six records are only the initial scope. If discovery finds another gateway or dormant recovery reader, add it rather than silently narrowing the denominator. The acceptance authority should be able to determine which required relationships remain unknown even after an apparently successful migration.
Prove interoperability before opening a migration wave
A cryptographic capability must survive the actual protocol. Test both endpoints, middleboxes, certificate parsing, authentication and application behavior. Record a failure’s cause: a client that cannot start is not evidence that the receiving policy rejected a prohibited group.
I ran a bounded loopback experiment using the installed OpenSSL 3.5.5 command-line client and server with the default provider, on the same host. It used newly generated disposable RSA-2048 certificate authority (CA) and leaf keys, an unrelated test CA, and a separate ML-DSA-65 signing key. The server listened only on 127.0.0.1; no enterprise endpoints or keys were used. RSA authentication was intentional so that the key-agreement test could isolate the hybrid exchange from post-quantum signatures.
OpenSSL 3.5 documents the hybrid groups and the s_client verification options. It can continue after certificate verification errors unless the appropriate failure option is used. [10][11] The lab explicitly enforced verification and recorded the selected group rather than interpreting a cipher suite as evidence of key agreement.

The following command illustrates the positive TLS probe. Use a temporary certificate authority and a local listener in an isolated test environment. [10][11][12]
# Set the local listener port and CA file for your isolated test.
printf 'GET / HTTP/1.0\r\nHost: lab.example.test\r\n\r\n' | \
openssl s_client -connect 127.0.0.1:8443 \
-servername lab.example.test -verify_hostname lab.example.test \
-CAfile ca.pem -no-CApath -no-CAstore -verify_return_error \
-tls1_3 -groups X25519MLKEM768 -brief -trace -ign_eof
Port 8443 is illustrative. The experiment used a dynamically selected loopback port. Retain only the diagnostics needed to substantiate the result and protect raw traces.
| Test | Expected | Observed | Exit |
|---|---|---|---|
| T01 Hybrid-only listener, hybrid client | Accept | Hybrid, verified peer, HTTP 200 | 0 |
| T02 Hybrid-only listener, X25519 client | Reject | Handshake failure alert | 1 |
| T03 Hybrid client, wrong verification name | Reject | Hostname mismatch, no HTTP 200 | 1 |
| T04 Hybrid client, unrelated trust CA | Reject | Issuer verification failed, no HTTP 200 | 1 |
| T05 Compatibility listener, X25519 client | Accept classical | X25519, verified peer, HTTP 200 | 0 |
| S01 ML-DSA-65 signature, original artifact | Verify | Signature Verified Successfully | 0 |
| S02 Same signature, modified artifact | Reject | Signature Verification Failure | 1 |
All seven recorded final-run expectations matched. The recorded results contain selected diagnostics from the original loopback run. The harness positive predicate checks exit status, HTTP 200 and a matching ServerHello group; TLS version and verified peer name are separately visible in the positive-case diagnostics, not independently asserted by that predicate. The signature predicates check exit status and expected diagnostic. A future revision should explicitly assert final group after any retry, verified identity, protocol, transaction and robust listener readiness, and record the operating system, build, provider and observation time. For T01 the observed diagnostics included Negotiated TLS1.3 group: X25519MLKEM768, Signature type: rsa_pss_rsae_sha256 and Verification: OK. T05 required the ServerHello key-share trace because the brief output did not identify the classical group. Its observed group was ecdh_x25519 (group 29). The detached signature occupied 3,309 bytes. The harness uses OpenSSL’s documented raw-message ML-DSA signing and verification interface. [13]
T05 is a successful compatibility test, not a pass against a mandatory hybrid policy. T03 and T04 demonstrate that selection of a hybrid group in ServerHello is insufficient when authentication fails; neither handshake completed. The experiment did not test vendor-to-vendor interoperability, certificate revocation, ML-DSA TLS authentication, mutual TLS, a certified cryptographic module, resumption, performance, failover, key-service recovery, historical decryption or application recovery. The detached signature test establishes verification of the selected bytes and rejection of modified bytes under the disposable public key, not a trusted release identity, timestamp, certificate chain or long-term validation policy. Those remain required wherever applicable.
For a production pilot, add tests for incompatible peers, certificate chain and revocation handling, wrong audience, revoked signer, altered release digest, large messages and header limits. Exercise fresh connections and resumption, tunnel rekey where relevant, realistic concurrency, standby promotion and a degraded path. Capture the exact versions, policy revision, observed group, signature scheme, validated identity, transaction outcome, observation time and test scope. Negative tests must reject for the intended reason.
Deliver through dependency-ordered migration waves
A wave is a set of relationships that can be changed and recovered together. It need not match a product family or organizational department. Define entry, exit and stop conditions before the change starts. The following is the proposed sequence for the example; timing is conditional on actual qualification and supplier lead times.
| Wave | Work | Exit evidence |
|---|---|---|
| W0 Baseline | Discover and reconcile all required relationships; fund early protection | Owned inventory, exact versions, deadline and dependencies |
| W1 Foundation | Qualify libraries, firmware, HSM interfaces, recovery access and verifiers | Supported peer combinations; representative recovery |
| W2 Transport | Protect highest-priority new flows; canary client and origin separately | Negotiation, identity, transaction and failover evidence |
| W3 Identity/release | Prepare parallel CA and signing paths; move selected issuers | Chains, revocation, token and artifact acceptance |
| W4 Data/recovery | Qualify new key envelopes and recovery readers; migrate retained copies as required | Inventory reconciliation and old/new restore evidence |
| W5 Retire | Close exceptions and disable obsolete mechanisms where safe | Historical verification and retained decryption accounted for; current recovery proven |
HSM means hardware security module. W2 may advance for an independently qualified transport relationship while W3 is still held. It cannot declare the identity or data transitions complete. The dependency graph, not the table order alone, determines which work can overlap.

For certificate transitions, prepare consumers before producers. Microsoft’s Windows Server 2025 AD CS guidance documents ML-DSA issuance with the May 2026 security update KB5087539 or later and requires new CAs rather than in-place conversion. Network Device Enrollment Service (NDES) enrollment is not available for that mechanism. [14] In the applicable scope, install a parallel hierarchy, qualify the client and verifier, distribute the intended trust anchors and revocation paths, issue a canary certificate, then expand. Record the exact issuing CA, client and verifier release, operation and chain, and qualify downstream CAs, revocation and recovery separately. Windows Server 2025 CA support requires KB5087539 or later; Microsoft documents Windows 11 24H2/25H2 with KB5067036 or later as its client minimum. Issuance does not establish PKINIT, JOSE/JWT, SPIFFE SVID, federation, or other relying-party support. Do not extend the scope merely because the CA successfully issued it.
For Kubernetes trust distribution, cert-manager trust-manager documents a controlled overlap of old and new roots rather than removing the prior trust source as soon as an issuer changes. [15] Only permit coexistence while both paths remain acceptable for the declared operation. The detailed hybrid certificate lifecycle architecture covers binding ownership and activation.
Data-key modernization has a different sequence. AWS KMS documentation explicitly distinguishes rotation from re-encrypting protected data. Its ReEncrypt API applies to supported ciphertext formats and key operations, not arbitrary client-encrypted objects. [16][17] Preserve the old key and decrypt path while qualifying the new envelope; verify authorized recovery of retained versions. If the DEK (data encryption key) was exposed, rewrapping it is insufficient. Do not delete a key because new writes use its successor. Establish retention, historical exposure and disposal authority separately.
Make automation enforce the approved transition
Continuous integration and continuous delivery (CI/CD) can make transitions repeatable, but neither a successful pipeline nor a signed commit establishes the negotiated cryptographic state. NIST SP 800-218 SSDF Version 1.1 remains a final secure-development reference; the Version 1.2 initial public draft is separate. [18] Treat the migration as a signed, reviewable change to an exact target.
Use Terraform to plan supported resource changes and apply only an approved, fresh plan. For example, in an authorized test workspace use terraform plan -out=wave.tfplan, review the exact saved plan, then use terraform apply wave.tfplan only after independent approval. Its saved plan files and state can contain sensitive values even where console output is redacted. [19][20] Store references to protected keys where supported; keep actual key material out of source, plan artifacts and logs. Pin provider versions and check resource replacement, dependencies and lifecycle semantics. An approved plan does not eliminate drift; if target state or inputs change, stop and obtain approval of a new plan.
Use Ansible for bounded host-level changes where appropriate. Its check and diff modes are module-dependent simulations, not complete validation; some modules report no predicted result and tasks can explicitly override check mode. [21] Audit the playbook, protect sensitive diff output and test on an isolated cohort. ansible-playbook -i lab.ini wave.yml --check --diff is a preflight, not the actual change or a security acceptance test. Use a single writer per setting.
Git supports verification of signed commits (git verify-commit) and SSH signing trust configuration through its configured verifier and gpg.ssh.allowedSignersFile. [22][23] Establish the authorized signer separately from cryptographic validity, pin verification policy and retain artifact digests. Native Git or SSH support for one hybrid transport group does not establish ML-DSA commit signing. The local detached-signature example is not a replacement for an integrated signed release format.

In GitOps, a controller can reverse a manual repair because the repository still declares another desired state. Argo CD’s current automated-sync documentation also states that its rollback operation cannot run while automated sync is enabled. [24] Coordinate the repository, controller and emergency action through an authorized pause or supported revision change. Check the exact installed release and ownership, including ApplicationSet reconciliation if used. See Enterprise GitOps on VCF 9.1.2.
Close each wave with a recovery and production decision
Before a production wave begins, establish the recovery authority, protected configuration, key dependencies, time budget and the last qualified recovery point. NIST SP 800-57 Part 1 Revision 5 provides general key lifecycle guidance, and SP 800-184 addresses cybersecurity event recovery. [25][26] The protection of a workload must overlap the transition; the recovery during platform transformation pattern applies to cryptographic changes as well.
A rollback of software and a rollback of trust are different events. The previous software may be supported, but its restored configuration might still accept a retired issuer or lack access to new encrypted objects. Recover the approved operational configuration without reinstating invalid credentials, disabled mechanisms or revoked permissions. A compromise requires a separate response and revocation decision, not restoration of the suspect key.
Use a go/no-go record that cannot advance simply because a deployment finished. For the fictional customer-record service, the architecture board proposes the following limits. These are test requirements, not observed production results.
| Gate | Required acceptance | Initial state |
|---|---|---|
| G1 Support | Exact versions, peers and approved policy documented | Pending |
| G2 Protection | All required test flows negotiate the intended profile; prohibited paths reject | Pending |
| G3 Service | 30-minute representative peak test; success >= 99.9%; p95 latency increase <= 10% | Pending |
| G4 Recovery | Restore and failover within 30 min recovery time objective; recovery point age <= 5 min at failure; reconcile restored records | Pending |
| G5 Authority | Current revocations and policy enforced after rollback and restore | Pending |
| G6 Retirement | Retained data and recovery readers accounted for; remaining old path authorized or removed | Pending |
G1 through G5 apply to production admission where relevant; G6 is a retirement-only gate, not a prerequisite for every earlier wave. Record an approved rationale for any nonapplicable gate. Evaluate each mandatory requirement as PASS, FAIL or HOLD for its exact scope. All common prerequisites and at least one permitted complete path per required scenario must pass; assess simultaneous, quorum and capacity requirements jointly. A failed common prerequisite or failure of every permitted path yields BLOCK. Missing or conflicting evidence without a qualifying path yields HOLD. Only a complete, nonempty set of passing required scenarios yields ELIGIBLE, subject to separate authorization. MCAF levels are cumulative: L3 requires a funded, authorized migration plan but does not authorize deployment; L4 requires current applicable validation; L5 adds monitoring and repeatable transition exercises while maintaining L4. Expired or materially changed evidence cannot pass. The thresholds are illustrative. A 99.9% result under a chosen test workload is not a guarantee of monthly availability. Use the organization’s real recovery time objective (RTO) and recovery point objective (RPO). Hold the affected candidate if the fault simulation, denied case or required telemetry is missing and no qualifying path is established; block a known mandatory failure of the candidate under the rules above.
Capture before/after configurations, versioned policy and artifact hashes, sanitized test logs, owner, exact change ID, measured transaction and recovery times, and the independent decision. Limit evidence access because the inventory itself reveals sensitive trust topology. After any provider or firmware change, revalidate affected relationships. Retain public verification keys, certificates, chains, timestamps and applicable validation evidence for historical signatures. Retire private signing secrets under approved key policy when issuance ends; historical verification alone does not require them. Retain historical decryption or unwrap secrets only for authorized read and recovery obligations until qualified migration or authorized disposal. Assign requirement owners and an independent reviewer, with event-driven invalidation and risk-based evidence expiry. A production wave is closed only when the destination protection and recovery obligations have been accepted, not when the change ticket is marked complete.
Conclusion
Qualify the supported successor, prepare relying systems, test in controlled conditions and deploy in dependency order. Use independent observations of key agreement, certificate validation, compatibility and artifact verification. Preserve recovery under current policy. Part XII turns those practices into a repeatable assessment and governance model.
Continue the series
Previous Part X. The Economics of Post-Quantum Modernization
Next Part XII. The Cryptographically Agile Enterprise
External References
- NIST. IR 8547, Transition to Post-Quantum Cryptography Standards, final October 27, 2026
- NIST. CSWP 39upd1, Considerations for Achieving Crypto Agility: Strategies and Practices, updated June 29, 2026
- UK NCSC. Timelines for migration to post-quantum cryptography
- NIST NCCoE. Migration to Post-Quantum Cryptography project, including preliminary drafts
- OWASP CycloneDX. Cryptography Bill of Materials
- RFC Editor. RFC 9846, The Transport Layer Security (TLS) Protocol Version 1.3
- RFC Editor. RFC 10024, Post-Quantum Traditional Hybrid Key Agreement Mechanisms for TLS 1.3
- NIST. SP 800-227, Recommendations for Key-Encapsulation Mechanisms
- NIST. FIPS 204, Module-Lattice-Based Digital Signature Standard
- OpenSSL 3.5. SSL_CONF_cmd, supported groups and configuration
- OpenSSL 3.5. openssl-s_client
- OpenSSL 3.5. openssl-s_server
- OpenSSL 3.5. openssl-pkeyutl, ML-DSA sign and verify
- Microsoft. What is ML-DSA support in AD CS? Windows Server 2025
- cert-manager. trust-manager documentation, root rotation (rolling)
- AWS. Rotate AWS KMS keys
- AWS. ReEncrypt API
- NIST. SP 800-218, Secure Software Development Framework Version 1.1; Revision 1 initial public draft (Version 1.2).
- HashiCorp. Terraform plan command reference
- HashiCorp. Manage sensitive data in your configuration
- Ansible. Validating tasks: check mode and diff mode (rolling)
- Git. git-verify-commit
- Git. git-config, signature and allowed-signers configuration
- Argo CD. Automated Sync Policy (stable documentation)
- NIST. SP 800-57 Part 1 Rev. 5, Recommendation for Key Management
- NIST. SP 800-184, Guide for Cybersecurity Event Recovery