← Back to section · Post-Quantum Migration
Rollback Triggers and Plans: Write the Way Back Before You Launch
Rolling back a cryptographic deployment is not just flipping a switch. How to quantify triggers, the tiers of rollback actions, the asymmetry between certificate and key-exchange rollback, and rehearsal requirements.
The rollback plan is written before launch, not improvised during the incident
The failure window of a cryptographic change is measured in minutes: once the configuration takes effect, what fails is the establishment of new connections themselves, presenting to users as the service being unreachable. Holding a meeting at that point to discuss “whether to roll back, and to what” enlarges the impact with every minute. A mature deployment plan writes rollback as a document as detailed as the launch itself: which metrics, to what degree, decided by whom, executing which actions, and how to verify the rollback took effect.
Triggers: quantified, windowed, authorised
A well-formed trigger has three parts. Metrics and thresholds: judged against the rollout control baseline — for example, handshake success rate falling beyond an agreed margin against the baseline, connection-establishment P99 latency degrading beyond an agreed ratio, or the post-quantum negotiation share anomalously dropping to zero or plunging. Observation window: thresholds only mean something with a window — an instantaneous spike and sustained degradation are different things, so conditions should read “sustained breach within the window” rather than a single-point trigger, avoiding false injury from traffic noise. Decision authority: state which tier of trigger the on-duty engineer executes directly and which needs the change owner’s confirmation, and separately confirm the authorisation chain for nights and holidays actually works. Write all three parts into the batch plan and freeze them, managed together with the rollout document.
The three tiers of rollback actions
- Tier one: pause expansion. When metrics are anomalous but the blast radius is controllable, freeze subsequent batches first and keep observing the current one. Most compatibility problems can be localised and digested at this tier, without retreating verified results.
- Tier two: configuration-level retreat. Switch the negotiation group order or the algorithm enablement switch back to the pre-migration configuration, and new connections immediately return to classical negotiation. This is the primary rollback instrument for key-exchange changes; the action must be one-click or a single command, with its execution path verified in advance — many organisations’ rollback scripts have never run in a real environment, and their first run is the incident scene itself.
- Tier three: full rollback. Return certificates, trust anchors and related dependencies to the pre-migration state as well, used only when configuration-level retreat cannot stop the bleeding. Before executing, confirm the pre-migration artifacts and configuration are still available and unpolluted by later changes.
Rollback needs verification too: the order of checking the way back
Rollback actions themselves need verification; do not assume execution equals effect. After a tier-two rollback completes, check with the same calibre as the launch: whether the post-quantum share in negotiation telemetry fell as expected, whether handshake success rate returned to baseline, and whether the affected peer slices recovered. If the rollback only took effect partially (for example, only one of several termination layers retreated), the system sits in a middle state more chaotic than the failure itself. The rollback procedure must therefore state its verification steps and a secondary plan for “rollback failed”: usually widening the rollback to all termination points, or temporarily forcing classical-only negotiation. Counting rollback verification into the incident-handling clock is what gives the command level a real expectation of how long stopping the bleeding takes.
Also note the interaction between rollback and the data plane: changing negotiation configuration does not affect established connections, but long-lived connections switch only when they reconnect; incident handling must state explicitly how existing long-lived connections are treated (wait for natural reconnection or actively disconnect and reconnect), to avoid new and old connections mixing for a long time and the problem being impossible to confirm closed.
The asymmetry: certificate rollback costs far more than key-exchange rollback
Key exchange is negotiated, so rollback only changes configuration and peers return to classical mode without noticing. Post-quantum certificates are different: the certificate has been issued and distributed, may be cached or pinned by peers, and the new certificate’s verification path depends on peer support for the new algorithm — rollback means reissuing classical certificates and waiting for distribution and caches to expire, on a timescale of days rather than minutes. This decides two things: certificate changes get smaller rollout batches and longer observation periods; and the certificate rollback plan must be written separately, with the discovery means for “peers incompatible with the new certificate” (telemetry slice alerts) front-loaded to the day of issuance.
Rehearsal and post-rollback review
The last piece of the plan is rehearsal: walk a full tier-two rollback in the pre-production environment following the plan, timing it and recording the sticking points; on low-risk systems you can also actively execute one rollback in the first rollout batch and then re-enable, verifying both the actions and the monitoring in both directions. After a real rollback trigger, the review must answer three things: whether the triggers were executed as documented, whether anyone hesitated or exceeded their authority, and whether metrics returned to baseline afterwards. Review conclusions are written back into the plan, so the next batch’s way back is better rehearsed than the last.
Connecting rollback to re-advance
Rollback is not the end of the programme but the restart of a batch. Within a timeframe pre-agreed in the plan after the bleeding stops, complete the attribution: was it a compatibility problem, a capacity problem or a configuration error? Different attributions lead to entirely different re-advances — compatibility problems wait for peer or device fixes, capacity problems need expansion first, and configuration errors can retry on the original batch after correction. On re-advance the batch should be smaller than before the rollback, with a dedicated metric for this incident added beyond the original observation set. Writing this connection into the plan prevents two common deviations: indefinite shelving after rollback, stalling the whole migration; or a hasty retry without attribution, crashing a second time in the same place.
The record-keeping duty of rollback decisions
Every trigger — including triggers after which the decision was not to roll back — must leave a record: the metric snapshot at the time, the decision-maker, the plan clause relied on, the actions executed and the verification results. These records have triple value: reconstructing the decision chain at review; proving controlled change to management and audit; and, most importantly, calibrating thresholds. Thresholds set too loose trigger only after the failure has grown; set too tight, normal fluctuation causes pointless rollbacks. Only by accumulating real trigger records can thresholds be tuned from gut-feeling numbers into evidence-based ones. A rollback plan without records expires a little more with every execution.
Summary
Rollback capability is the confidence that lets staged rollout advance. Quantified triggers, tiered actions, distinguishing the asymmetry between key exchange and certificates, plus one real rehearsal — with these four in place, the launch decision is complete.
Tags: rollback planschange managementdeployment practice