Does strongSwan need anything before post-quantum key exchange?
If you run strongSwan site-to-site tunnels over IKEv2, the short answer is that post-quantum key exchange is available now but needs explicit configuration, and it has no hard prerequisite beyond a supported crypto backend. As of 2026-12-03, the latest release is 6.1.0 (dated 2026-09-07). ML-KEM key exchange arrived in 6.0.0 and works through Botan (3.6.0 or later), wolfSSL (5.7.4 or later), AWS-LC (1.37.0 or later) or OpenSSL 3.5 or later, with OpenSSL 3.5 support added in 6.0.2. It is not on by default: a proposal that names no ML-KEM method will not use it, so you must add a ke1_mlkem exchange to connections.<conn>.proposals yourself. Network and security teams that own IKEv2 tunnels are the ones who need to make that decision.
Certificate and signature prerequisites are a separate question, and they are the one to check before you assume a tunnel is post-quantum. ML-KEM protects the key exchange, but authentication in a standard site-to-site setup still uses pubkey with RSA, ECDSA or EdDSA keys in X.509 certificates. The strongSwan pages we reviewed do not show a released ML-DSA certificate path: the standards page lists draft ML-DSA and PQC IKEv2 authentication drafts without naming a release, and the 6.0 notes, plugin list and pki --gen reference do not mention ML-DSA. Confirm this against the 6.1 documentation and your own peer's certificate support before you describe the tunnel as fully post-quantum.
Before changing proposals, confirm that both peers support the chosen ML-KEM variant and that the exchange fits your fragmentation and rekey behavior. The 6.0.0 notes say post-quantum key exchange payloads are too large for the unencrypted IKE_SA_INIT, which is why ML-KEM is added as an extra exchange after a classic one. Some peers may reject a new proposal, so test each tunnel in a lab first. Check that your strongSwan build includes the backend you plan to use, and record the version and plugin set in your inventory.
Which strongSwan versions and components meet each prerequisite
This table lists each strongSwan release and component that matters for post-quantum planning, with the source and the date each fact was checked. Read each row as a statement of what the cited page says, then confirm the exact build, plugin set and peer support in your own environment before relying on it. No row marks any version as compliant.
| Release or component | What the sources say | Source and check date |
|---|---|---|
| 6.0.0 (released 2024-12-03) | Adds ML-KEM (FIPS 203) variants mlkem512, mlkem768 and mlkem1024 and a new ml plugin. ML-KEM backends are Botan 3.6.0 or later, wolfSSL 5.7.4 or later, and AWS-LC 1.37.0 or later through the openssl plugin. | strongSwan 6.0.0 release post, checked 2026-12-03 |
| 6.0.2 (released 2025-07-14) | Adds ML-KEM support through OpenSSL 3.5 or later. Adds all supported key exchange methods plus none to default ESP and AH proposals, making PFS optional. Some peers, such as Windows clients not configured for PFS, may fail with the new defaults. | strongSwan 6.0.2 release post, checked 2026-12-03 |
| 6.1.0 (released 2026-09-07) | Listed as the latest release on the home page. The release post does not mention FIPS or CNSA. The home page does not mention FIPS certification or a FIPS mode. | strongSwan home page and 6.1.0 release post, checked 2026-12-03 |
| ml plugin | Marked experimental in the plugin list. It provides the software ML-KEM implementation (Module-Lattice-based crypto). | Plugin list, 6.1 docs, and What's New in strongSwan 6.0, checked 2026-12-03 |
| openssl plugin | Enabled by default according to the 6.0 notes. Provides ML-KEM when the linked OpenSSL is 3.5 or later. | What's New in strongSwan 6.0, checked 2026-12-03 |
| bliss, newhope and ntru plugins | Removed in strongSwan 6.0. Builds from 6.0 onward do not include them. | strongSwan 6.0.0 release post, checked 2026-12-03 |
| ML-DSA (draft standards) | The standards page lists draft-ietf-lamps-dilithium-certificates and draft-ietf-ipsecme-ikev2-pqc-auth with no release named. The 6.1.0 release post and notes do not mention ML-DSA. Confirm with the project before assuming any support. | IPsec and Related Standards page and 6.1.0 release post, checked 2026-12-03 |
Which strongSwan parts the post-quantum question touches
A post-quantum change to a strongSwan tunnel touches more than one setting. The key exchange in the IKEv2 proposals, the crypto backend plugin that performs it, the certificates used for authentication, and the ESP proposals that protect the data all need to be checked. Each card below names one of these parts and what to confirm before planning any change.
IKEv2 proposals and key exchange methods
The proposals setting in swanctl.conf controls which IKE algorithms a connection offers, and it defaults to default. ML-KEM is not part of the default proposals, so a customer has to add it explicitly using the keX_ prefix from RFC 9370, for example x25519-ke1_mlkem768. Check which key exchange methods each connection currently offers and which peers it must still negotiate with, because the proposal list determines what gets agreed.
Crypto backend plugins
ML-KEM is provided by crypto backends, not by strongSwan's core alone. The openssl plugin is enabled by default, and the software ml plugin is marked experimental in the 6.1 plugin list. Botan, wolfSSL and AWS-LC are also listed as backends, each at a specific minimum version. Confirm which backend and version your build uses, because that determines whether ML-KEM is available at all.
Certificates and pubkey authentication
Authentication in swanctl.conf defaults to pubkey, so the RSA, ECDSA or EdDSA keys in your X.509 certificates are the public-key dependency for each tunnel. The pki --gen command supports only RSA, ECDSA and EdDSA key types, and neither that page nor the 6.0 and 6.1 notes list ML-DSA. Treat certificate-based authentication as classic-only for planning purposes, and confirm with the project if you need ML-DSA signatures.
IKE_INTERMEDIATE and IKE_FOLLOWUP_KE exchanges
Post-quantum key exchange payloads are too large for the unencrypted IKE_SA_INIT, so ML-KEM is carried as an additional exchange after a classic one. This uses IKE_INTERMEDIATE and IKE_FOLLOWUP_KE, as defined in RFC 9242 and RFC 9370. Your peers and any firewall or inspection device on the path must handle these extra exchanges. Test the handshake with each peer type before relying on it.
strongSwan 6.0.0 release postDefault ESP proposals and PFS
Since 6.0.2, the default ESP and AH proposals include a none key exchange, which makes perfect forward secrecy optional. The 6.0.2 release post warns that some peers, such as Windows clients not configured for PFS, may fail with these defaults. The esp_proposals setting in children also defaults to default, so check whether your connections depend on the default ESP proposals and whether any peer requires PFS.
How ML-KEM is added to an IKEv2 proposal
ML-KEM is not in strongSwan's default IKEv2 proposals, so you have to add it yourself. The default proposals are generated from the loaded plugins and contain no ML-KEM method, which means a connection using the default value in connections.<conn>.proposals will not negotiate post-quantum key exchange. To add it, you name the classic key exchange you want first, then append the ML-KEM method with the keX_ prefix defined in RFC 9370, for example x25519-ke1_mlkem768. The ke1_ part places ML-KEM in the first additional exchange, and the classic method runs in the initial exchange. Confirm the exact method names your build accepts with the swanctl and charon output on your own system, since the names depend on the plugins you have loaded.
The additional exchange does not run inside IKE_SA_INIT. strongSwan's 6.0.0 notes state that post-quantum key exchange payloads are too large to fragment in the unencrypted IKE_SA_INIT message, so ML-KEM is carried in an IKE_INTERMEDIATE exchange (defined in RFC 9242) and then in IKE_FOLLOWUP_KE exchanges that follow the classic exchange. Your firewalls, NAT devices and any packet inspection on the IKE path must allow these messages, and you should test that the tunnel comes up through every device between the two gateways. The example proposal in strongSwan's security recommendations, aes256-sha384-sha512-ecp384-ke1_mlkem1024, pairs ECP-384 with ML-KEM-1024 in this way. It is the vendor's example setting, and it does not make a deployment compliant with any standard; check your own requirements against the source documents.
Before you change the proposal, decide which peers must accept the same method. A proposal that lists ML-KEM only works when the other gateway also offers it, so plan a test tunnel with each peer you need to reach, and keep a classic-only fallback in place until those tests pass. Record the exact proposal string on both ends, the strongSwan version (ML-KEM support arrived in 6.0.0 and was extended through OpenSSL 3.5 or later in 6.0.2), and the crypto backend your build uses, because the set of supported ML-KEM variants depends on the library behind it.
How the prerequisites change by version line and deployment
The 6.1.0 release, dated 2026-09-07, is the latest release on the project home page as of the facts checked on 2026-12-03. Post-quantum key exchange is available through the proposal syntax from RFC 9370, which adds an ML-KEM method alongside a classic key exchange. Per the project's notes, IKEv1 is disabled by default in 6.1 and must be enabled at build time with --enable-ikev1, and the notes say it will be removed in a future release. Confirm that your deployments use IKEv2 (connections.<conn>.version, which defaults to 2) before planning around these changes.
- Build option for IKEv1: Peers that still negotiate IKEv1 need a build with
--enable-ikev1. Check your build flags before assuming IKEv1 is present. - Key exchange proposals: Add a method such as
ke1_mlkem768toconnections.<conn>.proposalsalongside a classic group. The ML-KEM variants aremlkem512,mlkem768, andmlkem1024. - Default ESP proposals: Since 6.0.2, default ESP and AH proposals include key exchange methods so PFS is optional. Peers such as Windows clients not configured for PFS may fail, so test them.
- Backend library: Confirm which library provides ML-KEM in your build, whether the openssl plugin, Botan, wolfSSL or the experimental
mlplugin.
Check the 6.1 release notes and the swanctl.conf reference against your exact build before changing production settings.
The 6.0 line introduced ML-KEM support. strongSwan 6.0.0, released 2024-12-03, added ML-KEM with the variants mlkem512, mlkem768 and mlkem1024, backed by Botan 3.6.0 or later, wolfSSL 5.7.4 or later, or AWS-LC 1.37.0 or later through the openssl plugin. The 6.0.0 notes also removed the bliss, newhope and ntru post-quantum plugins. Release 6.0.2, dated 2025-07-14, added ML-KEM through OpenSSL 3.5 or later.
- 6.0.0 backend versions: A 6.0.0 build depends on Botan 3.6.0 or later, wolfSSL 5.7.4 or later, or AWS-LC 1.37.0 or later. Check which one your build links against.
- 6.0.2 with OpenSSL 3.5: A 6.0.2 build with OpenSSL 3.5 or later can offer ML-KEM through the openssl plugin, which is enabled by default in the 6.0 line.
- Removed plugins: bliss, newhope and ntru no longer exist in 6.0, so remove any configuration that loads them.
- Default proposals: The 6.0.2 change to default ESP proposals applies here too, so verify PFS behavior with each peer.
- Experimental plugin: The software
mlplugin is marked experimental in the plugin list, so do not treat it as production-ready.
Confirm the exact 6.0.x patch level and the backend library version with the project release notes before deciding on a plan.
The facts supplied for this page cover strongSwan 6.0.0, 6.0.2 and 6.1.0. They do not cover ML-KEM support in 5.x or earlier builds, so this tab cannot say whether those versions offer ML-KEM or any other post-quantum key exchange. Ask the strongSwan project directly before assuming either way.
- Version check: Run the installed binary's version command and record the exact release number before planning.
- Known gap: No supplied fact confirms ML-KEM for 5.x, so treat 5.x as unconfirmed for post-quantum key exchange.
- Upgrade path: Moving to a 6.x release is a larger change than a settings edit, because the default proposals and removed plugins can affect existing tunnels.
- Peer compatibility: Older peers may negotiate IKEv1 or classic-only proposals, so plan interoperability tests before upgrading.
- Project confirmation: Ask the strongSwan project whether 5.x builds receive post-quantum key exchange, and get the answer in writing for your records.
Do not assume a 5.x configuration will accept a 6.x proposal string without testing.
When you build strongSwan from source, the build flags and the backend library you link against decide what is available. When a Linux distribution packages strongSwan, the distribution sets the backend library version, so the ML-KEM behavior can differ from the upstream release notes even when the strongSwan version number matches. Verify the package's build options and linked libraries rather than relying on the upstream version alone.
- Source build flags: Confirm
--enable-ikev1is present only if IKEv1 peers require it, since 6.1 disables IKEv1 by default. - Backend library: Check which library the binary links against, for example with
lddon the charon binary, and compare the library version to the minimums in the 6.0 notes (Botan 3.6.0, wolfSSL 5.7.4, AWS-LC 1.37.0, or OpenSSL 3.5). - Distribution-set versions: A distribution may ship an OpenSSL version older than 3.5, which would block ML-KEM through the openssl plugin even on a 6.0.2 build.
- Plugin selection: Confirm which plugins the package enables, since the openssl plugin is enabled by default in 6.0 but the build may differ.
- Package notes: Ask the distribution maintainer which upstream release and backend library the package uses.
Record the build configuration and linked library versions as part of your inventory.
Steps to take before enabling ML-KEM on strongSwan
This sequence establishes what your strongSwan deployment runs, whether its crypto backend can support ML-KEM, whether each peer can negotiate the extra key exchange, and whether the 6.0.2 default ESP change affects any tunnel. The output is a tested proposal with a classic fallback and a record of the checks that cleared it.
Inventory the installed version and loaded plugins
The network or platform engineer on each gateway records the installed strongSwan version and the plugins it loads, then compares the result with the 6.1.0 release listed on the project home page as the latest. Run the version command on the host and list the active plugins through the charon plugin output or the build configuration. Note the openssl, ml and any plugins still marked experimental, since ML-KEM depends on which of them are present. The step is closed when every gateway has a written record of version and plugins, with the ml plugin status noted.
Confirm the crypto backend version meets the stated minimum
The engineer checks the crypto library that provides ML-KEM against the minimum the release notes give: Botan 3.6.0 or later, wolfSSL 5.7.4 or later, or AWS-LC 1.37.0 or later through the openssl plugin, and OpenSSL 3.5 or later for the 6.0.2 path. Confirm which library the build links against, since a gateway can carry more than one. Record the library name and exact version next to the strongSwan record. The step is closed when the backend version is confirmed at or above the minimum for the library in use, or the gateway is flagged as not ready.
Check the peer's IKEv2 support for RFC 9370 exchanges
Each remote peer must accept the additional key exchanges that RFC 9370 defines, carried through IKE_INTERMEDIATE and IKE_FOLLOWUP_KE, because strongSwan adds ML-KEM as an extra exchange after a classic one. Ask each peer vendor or check its documentation for RFC 9370 support and for the ML-KEM variants it accepts. Some peers may support IKEv2 but not these exchanges. The step is closed when each peer has a documented yes or no on RFC 9370 and a note on the ML-KEM variant it offers, with any unconfirmed peer listed for the fallback test.
Test a proposal in a lab with a classic fallback
In a lab that mirrors one production tunnel, the engineer writes a connection in swanctl.conf that lists an ML-KEM key exchange, for example a form such as x25519-ke1_mlkem768 in the proposals setting, followed by a classic proposal that the peer can negotiate if the post-quantum exchange fails. Bring the tunnel up with the peer and confirm, from the charon log, that the extra exchange completes and that the classic fallback is taken when the ML-KEM step is removed. The step is closed when the lab tunnel establishes with ML-KEM, and when it establishes with the classic proposal alone, both results recorded. This example is illustrative and the exact syntax should be taken from the proposals reference for your release.
Confirm the 6.0.2 default ESP change does not break peers
Since 6.0.2, the default ESP and AH proposals add all supported key exchange methods plus none, which makes perfect forward secrecy optional. The engineer lists every connection that relies on defaults and checks each peer, especially Windows clients and any peer that expects no PFS, for failure under the new defaults. The release post says such peers may fail and that proposals without key exchange methods must then be configured explicitly. Test each affected peer in the lab and record whether the tunnel comes up under the default. The step is closed when every tunnel is confirmed to establish under the new defaults or has an explicit esp_proposals setting that keeps its current behavior.
Why certificate signing is a separate prerequisite
Adding ML-KEM to a strongSwan proposal protects the key exchange, but it does not change how the tunnel proves who it is talking to. The strongSwan home page says it supports ML-KEM (FIPS 203) for key exchange, and the proposal syntax in the algorithm proposals reference adds it with a keX_ prefix such as x25519-ke1_mlkem768. Authentication is a separate step. In the swanctl.conf reference, local.auth and remote.auth default to pubkey, so each peer signs with an RSA, ECDSA or EdDSA private key whose certificate the other side trusts. A post-quantum key exchange therefore leaves the signatures in place, and a site-to-site plan has to treat the two as separate work items.
The key types that pki --gen can produce are the constraint to check first. Its reference page lists RSA, ECDSA and EdDSA with default sizes of 2048 for RSA, 384 for ECDSA, 256 for ed25519 and 456 for ed448, and it lists no ML-DSA key type. The strongSwan standards page does list draft-ietf-lamps-dilithium-certificates (ML-DSA algorithm identifiers) and draft-ietf-ipsecme-ikev2-pqc-auth (IKEv2 signature authentication using PQC) without a status mark. Those listings name no release. The 6.1.0 release post, dated 2026-09-07, does not mention ML-DSA, and neither do the 6.0 What's New page or the plugin list. Until a release note or the project confirms ML-DSA support, treat post-quantum certificate signing as unavailable in the tooling you can check.
Before scoping the work, ask the strongSwan project in writing which signature algorithms, if any, it plans to support for IKEv2 pubkey authentication, in which release, and whether the draft-ietf-ipsecme-ikev2-pqc-auth work is in the codebase. Ask as well how a customer would generate and deploy ML-DSA certificates with pki and swanctl --load-creds, and whether a hybrid signature option is planned. Record the answers with their date. If the answer is that signatures remain RSA or elliptic-curve, plan the key exchange migration and the certificate lifecycle as two tracks, and keep certificate lifetimes and CA plans in view while the signature question is open.
What strongSwan has not published and what to ask the project
As of 2026-12-03, the strongSwan project has not published four points that matter for planning a post-quantum move: ML-DSA certificate support, SLH-DSA, FIPS or CNSA validation, and the production status of the experimental ml plugin. Each card states what the checked pages do and do not say, and gives the question to put to the project before you plan around it.
ML-DSA certificate support
The standards page lists draft-ietf-lamps-dilithium-certificates, which defines ML-DSA algorithm identifiers for certificates, and draft-ietf-ipsecme-ikev2-pqc-auth, which covers IKEv2 signature authentication using post-quantum algorithms. The page carries no status mark that names a release. The 6.1.0 release post and the 6.0 What's New page do not mention ML-DSA, and the pki --gen reference lists no ML-DSA key type. Your tunnels therefore still authenticate with RSA, ECDSA or EdDSA certificates today. Ask the project which release will add ML-DSA certificate issuance and IKEv2 authentication, and whether it will be available in the pki tool, in the swanctl credential loading path and in the remote.auth constraints.
SLH-DSA support
No mention of SLH-DSA was found on the pages checked, including the home page, the 6.0 What's New page, the plugin list, the pki --gen reference and the 6.1.0 release post. SLH-DSA is a stateless hash-based signature scheme, and it would be a separate key type from ML-DSA, so support for one does not imply support for the other. Until the project states otherwise, plan your certificate inventory and any signature authentication work on the assumption that SLH-DSA is not available. Ask the project directly whether SLH-DSA is on the roadmap, and whether it would appear as a key type in pki --gen and as an authentication method in IKEv2 signature constraints.
FIPS or CNSA validation
The 6.1.0 release post does not mention FIPS or CNSA, and the home page does not mention FIPS certification or a FIPS mode. The security recommendations do include a CNSA 2.0 style proposal, aes256-sha384-sha512-ecp384-ke1_mlkem1024, which pairs ECP-384 with ML-KEM-1024. That proposal is a configuration example, not a validation. Nothing checked states that a strongSwan build or module has been validated under FIPS 140 or evaluated against CNSA 2.0. If your organization needs a validated module, ask the project which build, module and version, if any, has a validation certificate, who issued it, and what the validation covers. Also ask whether the openssl plugin with a validated OpenSSL provider is a supported path, and which provider version it depends on.
Experimental ml plugin status
The 6.0 notes and the plugin list mark the software ml plugin, which implements ML-KEM through lattice-based cryptography, as experimental. The 6.0.0 release added ML-KEM with the mlkem512, mlkem768 and mlkem1024 variants, and the 6.0.2 release added ML-KEM through OpenSSL 3.5 or later. The checked pages do not say whether the ml plugin is supported for production use, or whether its experimental label will be removed. Before you enable it in a production gateway, ask the project whether the ml plugin is intended for production, which key exchange variants it covers beyond the openssl path, what security and interoperability testing it has had, and what the stability commitment is for its settings. Ask as well whether the openssl or wolfSSL backends are the recommended route for ML-KEM in production.
Plugin list, 6.1 docsWhat can break or silently stay classical
The most likely failure is not a missing algorithm but a configuration that quietly negotiates classical algorithms only. The strongSwan default proposals value for IKEv2 is default, which builds from every loaded plugin algorithm not marked deprecated plus 3des, sha1 and prfsha1, and it names no ML-KEM method. A tunnel can therefore look healthy while its key exchange remains classical. Before enabling anything, check the effective proposals on each connection with the swanctl --list-conns output and the connections.<conn>.proposals and children.<child>.esp_proposals keys in swanctl.conf. Confirm that a post-quantum key exchange appears there with the ke1_ prefix, for example x25519-ke1_mlkem768, and that the peer's log shows the same method selected.
Compatibility is the second risk. Post-quantum key exchange is added as an extra exchange after a classical one, using IKE_INTERMEDIATE and IKE_FOLLOWUP_KE under RFC 9370 and RFC 9242. The strongSwan 6.0.0 notes say post-quantum payloads are too large to fragment in the unencrypted IKE_SA_INIT, which is why this layering exists. Peers that lack RFC 9370 support will not negotiate these exchanges, and middleboxes that drop or mishandle large or fragmented UDP can break the handshake. Test each peer type and each path, including the path through any firewall or NAT between sites, and keep fragmentation at its default of yes unless a test shows otherwise. Ask every peer vendor directly whether it supports RFC 9370 and IKE_INTERMEDIATE.
Several changes in the 6.x line can break existing tunnels without any post-quantum work. Since 6.0.2, the hard-coded default ESP and AH proposals include all supported key exchange methods plus none, which makes PFS optional. Peers that expect PFS may fail against the new defaults, and the 6.0.2 release post names Windows clients not configured for PFS as one example, with the fix being explicit proposals without key exchange methods. Strongswan 6.0 also removed the bliss, newhope and ntru plugins, so any configuration that names them will fail. IKEv1 is disabled by default at build time and is slated for removal, so legacy peers that need version = 1 must be identified and moved to IKEv2 before a future release drops support. Confirm each of these against your own build and peer inventory rather than assuming the defaults still match.
Questions about strongSwan post-quantum prerequisites
Is strongSwan quantum safe?
No product can be declared quantum safe from the facts available, and strongSwan does not make that claim for itself. What the facts support is narrower: strongSwan's home page says it supports multiple classic and post-quantum key exchanges under RFC 9370, including ML-KEM (FIPS 203). That is a statement about available key exchange methods, not about how any deployment is configured. Whether your tunnels use post-quantum key exchange depends on your proposals and on your peers. Certificate authentication is a separate question. The facts show RSA, ECDSA and EdDSA keys for IKEv2 signatures, and no ML-DSA key type in the pki --gen reference. Treat the question as two parts: key exchange support, which exists, and signature support, which the facts do not establish as shipped in the current release.
Which strongSwan version is required for post-quantum key exchange?
The facts point to version 6.0.0 as the first release with ML-KEM support, released 2024-12-03. That release added ML-KEM (FIPS 203) with the variants mlkem512, mlkem768 and mlkem1024, and it required Botan 3.6.0 or later, wolfSSL 5.7.4 or later, or AWS-LC 1.37.0 or later through the openssl plugin. strongSwan 6.0.2, released 2025-07-14, added ML-KEM support through OpenSSL 3.5 or later. The current release listed on the home page is 6.1.0, dated 2026-09-07. Confirm the exact build you run, because the library backend determines what is available. The software ml plugin is marked experimental in the plugin list, so check its status for your build before you depend on it.
Does enabling post-quantum key exchange in strongSwan cost extra?
The facts give no price for strongSwan, and its project pages name no separate product editions. The home page says commercial licensing options exist under a GPLv2 base, so licensing terms are a question for the project. Cost comes from several sources. Engineering time covers testing proposals and peers. Library cost depends on which backend you already run: an OpenSSL 3.5 or later build may need a platform upgrade, while a Botan or wolfSSL build may need a different library version. Recurring costs include maintaining the chosen library and retesting after each release. Ask your vendor or the strongSwan team for written terms on commercial licensing, support scope and any changes between editions. Ask whether post-quantum features are covered in the support you buy, and what changes are needed when the experimental ml plugin is promoted to stable.
What breaks when you move strongSwan to post-quantum key exchange?
Three things commonly break. First, ML-KEM is not in the default proposals. The default IKEv2 proposals contain every algorithm from loaded plugins not marked deprecated, so you must add an ML-KEM method explicitly, for example with the keX_ prefix from RFC 9370 such as x25519-ke1_mlkem768. Second, large key exchange payloads cannot fit in the unencrypted IKE_SA_INIT, so the ML-KEM exchange runs as an extra step after a classic one using IKE_INTERMEDIATE (RFC 9242) and IKE_FOLLOWUP_KE. Peers that do not handle these exchanges will fail to negotiate. Third, since 6.0.2 the default ESP and AH proposals include none, which makes PFS optional. The 6.0.2 release post warns that some peers, for example Windows clients not configured for PFS, may fail, so you may need to configure proposals without key exchange methods. Test each peer type before changing production.
What should you ask strongSwan or your vendor about post-quantum plans?
Ask for the current post-quantum roadmap in writing, with dates. The strongSwan standards page lists draft-ietf-lamps-dilithium-certificates (ML-DSA identifiers) and draft-ietf-ipsecme-ikev2-pqc-auth (IKEv2 PQC signature authentication) without a release mark, and the page names no release for either. Ask whether the 6.1.0 release supports ML-DSA signatures, since the 6.1.0 release post and notes do not mention it. Ask whether SLH-DSA is planned, because no mention was found in the pages checked. Ask whether FIPS validation or a FIPS mode exists, since the home page and 6.1.0 release post do not mention it, although the security recommendations include a CNSA 2.0 style proposal. Ask which library backend is recommended for production, and whether the experimental ml plugin will be stabilized. Request any deprecation notice for IKEv1, which is disabled by default and will be removed in a future release.
Can our team migrate strongSwan to post-quantum key exchange ourselves?
A team with IPsec and swanctl experience can do much of this work internally, and the scope is bounded. The work includes checking your strongSwan version and library backend, editing connections.<conn>.proposals and children esp_proposals in swanctl.conf, testing each peer, and validating the tunnel after each change. Plan for a lab environment that mirrors production peers, and keep the classic proposal as a fallback. Outside help is worth considering when peers include clients you do not control, when you need documented evidence for a compliance review, or when your team lacks someone who can judge library and plugin status. Be specific in any engagement: DeployOpen plans, implements, tests and documents self-hosted platforms in your infrastructure, and it does not issue audit reports or certifications. Agree scope and deliverables in writing before work starts.
Which strongSwan settings control authentication and certificates for the move?
Authentication settings sit in remote.auth and local.auth, which default to pubkey. Certificates and keys are loaded with swanctl --load-creds from directories such as x509, x509ca, rsa, ecdsa and pkcs8 under /etc/swanctl, in DER or PEM. The pki --gen command creates RSA, ECDSA or EdDSA keys, with RSA defaulting to 2048 bits. The security recommendations advise at least 3072 bits for RSA end-entity certificates and 4096 bits for CA certificates, ECDSA curves of at least 256 bits and preferably 384, and EdDSA where all peers support it. Signature restrictions in remote.auth, such as pubkey-sha256-sha384-sha512, also apply to IKEv2 authentication unless charon.signature_authentication_constraints is disabled. Review these before changing key exchange, because a post-quantum key exchange does not change how certificates are signed.
How DeployOpen helps plan strongSwan post-quantum work
DeployOpen works on strongSwan post-quantum requirements inside your own infrastructure, starting from your current IKEv2 settings, certificates and peers. We scope what your written agreement covers, build and test the changes in a staging environment, and hand over documented configuration and evidence your network and security teams can review.
How we scope
- We inventory your current strongSwan version, proposals, certificate types and connected peers before any change is agreed.
- The written scope names which connections, peers and key exchange options are covered, and what is excluded.
- Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.
How we build
- We test ML-KEM key exchange, such as x25519-ke1_mlkem768, added alongside a classic exchange on your target strongSwan version.
- We check default ESP proposals against Windows and other peers that may fail without key exchange methods.
- Certificate and signature changes are tested on your chosen key types, since ML-DSA support is not confirmed in the sources we reviewed.
How we hand over
- You receive documented swanctl.conf settings, proposal choices and the reasons behind each one.
- The handover records the strongSwan version tested, the plugins loaded and the peers verified.
- We document open items and what your team should confirm with each peer vendor before production use.
How we support
- Ongoing support, upgrades and continuous testing are available as a retainer after handover.
- We can retest proposals when strongSwan publishes new releases or when a peer changes its supported algorithms.
- Support covers the configuration we delivered, and changes to peers outside the written scope are quoted separately.

