HSM migration without downtime: a practical playbook
Hardware Security Modules reach end of life, vendors change roadmaps and post-quantum support becomes a requirement. Here is how to migrate your keys safely.
Also available in: Français · Nederlands
Hardware Security Modules protect the most valuable secrets an organisation has: CA keys, payment keys, signing keys and master encryption keys. Replacing them is one of the most delicate operations in security engineering. Done badly, it causes outages or, worse, exposes keys. Done well, nobody outside the project notices.
Why organisations migrate
- End of life or end of support of the current HSM generation.
- A move to a different vendor, or from on-premises to cloud HSM services.
- New requirements such as FIPS 140-3 validation or post-quantum algorithm support.
- Consolidation after mergers or reorganisations.
Step 1: inventory and classify
List every key, its algorithm, its usage, the applications that depend on it and whether it can be exported. Some keys can be transferred securely between HSMs, others must be regenerated, and some, such as long-lived CA keys, require careful planning with relying parties.
Step 2: design the target architecture
Decide on the new models, clustering, high availability and disaster recovery. Define key custodians and quorum schemes, and choose sites so that no single event can make keys unavailable or allow a single person to use them.
Step 3: plan the key transfer
Depending on vendors and key types, keys can be moved through vendor-supported backup and restore mechanisms, wrapped key export, or regenerated with certificate re-issuance. Each option has security and operational consequences that must be documented and approved.
Step 4: the key ceremony
Critical transfers are performed in formal key ceremonies with scripted steps, dual control, independent witnesses and complete records. A well-run ceremony is also the evidence auditors will ask for.
Step 5: switch applications with a rollback plan
Reconfigure applications in controlled waves, test thoroughly, keep the old environment available until each wave is confirmed, and decommission old HSMs securely, including the destruction of key material.
How EUConfiance helps
Our team has deployed, migrated and operated more than 100 HSMs across Thales Luna, Utimaco, Entrust nShield, Eviden Trustway Proteccio and i4p Trident, and led more than 100 key ceremonies. We plan, script, witness and document migrations so your services keep running.
Want to discuss this topic?
Book a free introductory call with one of our senior consultants.
Related service: PKI and HSM
