Which Libreswan functions depend on RSA and ECDSA keys today
As of 2026-12-03, several Libreswan functions depend on public-key algorithms. RSA and ECDSA authentication, certificates held in the NSS database, and the classical Diffie-Hellman groups listed in ike= all rely on public-key cryptography. Libreswan 5.4, dated August 13, 2026, adds ML_KEM_768 key exchange in the IKE_SA_INIT and IKE_INTERMEDIATE exchanges, and it requires NSS 3.118.1 or newer. The changelog entries for 5.4, 5.4.1 and 5.4.2 do not document any post-quantum signature authentication, so ML-DSA and SLH-DSA are not listed as supported. The current release on the project home page is 5.4.2, dated November 16, 2026.
Network engineers and security leads who run Libreswan site-to-site tunnels should inventory three places where keys are set. The first is authby= and leftrsasigkey or leftcert in ipsec.conf, which determine how each gateway authenticates. The second is the NSS database at /var/lib/ipsec/nss by default, or the directory given with --nssdir, which holds the certificate material. The third is ike=, where the DH groups are set. Under the documented defaults for IKEv2, pfs is yes and the DH group is DH14 or stronger, so a tunnel with no explicit ike= line still uses classical key exchange. Confirm these values on each gateway, because the defaults change with the version in use.
ML-KEM is not documented as on by default. The changelog does not describe it as enabled without configuration, and no vendor statement says otherwise. It appears to require adding an additional key exchange, such as addke1=, to ike=. Confirm this against the 5.4 documentation and a test tunnel before planning on it. The ipsec.conf man page copy available to us predates the ML-KEM work, so it does not cover these settings.
Libreswan has not published a roadmap statement on ML-DSA, SLH-DSA, ML-KEM-1024 or CNSA 2.0 on the pages checked: the home page, the CHANGES file and the 5.4 release notes. Rocky Linux 10.3 release notes say its Libreswan 5.4 adds ML-KEM-768 and ML-KEM-1024, while the upstream changelog names only ML_KEM_768, so if your gateways run a distribution build, confirm which parameter sets that build supports. Ask the vendor or distribution maintainer to state this in writing. Until the project documents post-quantum signatures, plan certificate and authentication changes separately from key exchange.
Public-key dependencies by Libreswan setting and version
This table lists each Libreswan setting or component that relies on RSA, Diffie-Hellman or elliptic-curve keys, and what the documentation says about post-quantum options for it. Read the status column first, then confirm each row against the exact version you run. Post-quantum key exchange in 5.4 appears only where a row says it is documented.
| Setting or component | Version or component | Dependency on public-key algorithms | Documented status | Source and date checked |
|---|---|---|---|---|
| ike= DH groups | All versions with ike= (IKEv2 default) | Diffie-Hellman groups such as DH14 and stronger are the default key exchange proposals in IKE phase 1 | Classical DH groups documented; default includes DH14 and stronger | Libreswan ipsec.conf man page, checked 2026-12-03 |
| authby= RSA and ECDSA signatures | All versions with authby= | RSA and ECDSA digital signatures authenticate the gateways | Documented; ECDSA with SHA2 hashes is listed | Libreswan ipsec.conf man page, checked 2026-12-03 |
| leftrsasigkey and leftcert with NSS | Versions using the NSS database (default /var/lib/ipsec/nss) | RSA public key for the left peer; leftcert names the NSS certificate used with leftrsasigkey=%cert | Documented; certificates are stored in the NSS database | Libreswan ipsec.conf man page and documentation, checked 2026-12-03 |
| pfs default | All versions with the pfs option | Perfect forward secrecy uses a fresh Diffie-Hellman exchange for each Child SA | Default is yes, documented in the man page | Libreswan ipsec.conf man page, checked 2026-12-03 |
| esp= defaults | All versions with esp= | Child SA algorithms; when unset, a secure default set is used | Documented as secure defaults; the exact set is not listed on the page | Libreswan ipsec.conf man page, checked 2026-12-03 |
| ppk (EXPERIMENTAL, RFC 8784) | Versions documenting ppk in ipsec.conf | Post-quantum preshared keys (RFC 8784) with values propose, yes, insist and never or no | Marked EXPERIMENTAL in the man page; no ML-KEM relationship documented | Libreswan ipsec.conf man page, checked 2026-12-03 |
| ML_KEM_768 in IKE_SA_INIT and IKE_INTERMEDIATE | Libreswan 5.4 (released August 13, 2026); requires NSS 3.118.1 or newer | ML-KEM key exchange, a post-quantum key encapsulation mechanism, added to the IKE exchanges | Added in 5.4; the changelog does not say it is on by default and an additional key exchange setting appears to be needed | Libreswan CHANGES and 5.4 GitHub release, checked 2026-12-03 |
| IKE_ADDITIONAL_KE (RFC 9370) | Libreswan 5.4 | Multiple key exchanges in IKE, which lets a post-quantum exchange run alongside a classical one | Implemented in 5.4; confirm the exact configuration option in your version | Libreswan CHANGES and 5.4 GitHub release, checked 2026-12-03 |
| ML-DSA or SLH-DSA signatures | Libreswan 5.4, 5.4.1 and 5.4.2 | Post-quantum signature authentication would replace RSA and ECDSA for gateway identity | Not documented; no entries mention ML-DSA or SLH-DSA | Libreswan CHANGES, checked 2026-12-03 |
Which parts of Libreswan use public-key keys
Libreswan relies on public-key algorithms in several places: how gateways prove their identity, which certificates sit in the NSS database, which Diffie-Hellman groups set up IKE, and how Child SA algorithms are chosen. Each card below covers one of these, so you can check which settings your gateways use today.
IKE authentication by signatures
The authby= option selects how gateways authenticate during IKE. Libreswan documents RSA and ECDSA digital signatures with SHA2 hashes here, and leftrsasigkey names the left peer's RSA public key. Check each connection in your ipsec.conf to see which method it uses, and confirm the peer's key or certificate type matches your records.
Certificates in the NSS database
Certificate material is kept in an NSS database at /var/lib/ipsec/nss by default, and --nssdir selects another directory. When leftrsasigkey=%cert is used, leftcert names the certificate nickname in that database. Inventory every certificate and key stored there, including its algorithm and expiry date, since these are the public-key items a migration must replace.
IKE Diffie-Hellman groups
The ike= option sets the IKE encryption, authentication and DH group proposals in the form cipher-hash-modpgroup. For IKEv2, the documented defaults include DH14 and stronger groups. If ike= is omitted, all allowed values apply, so set it explicitly if you need a fixed list and confirm the groups negotiated in your logs.
Child SA algorithms and PFS
The esp= option sets the algorithms offered or accepted for the Child SA. If it is not specified, Libreswan uses a secure default set. Perfect forward secrecy, controlled by pfs, defaults to yes. Review esp= on each connection and confirm pfs has not been turned off, since the Child SA key exchange depends on these settings.
Experimental post-quantum preshared keys
The ppk option enables post-quantum preshared keys based on RFC 8784, and Libreswan marks it as experimental. Its values are propose, yes, insist and never or no. Use it only after a deliberate test, and do not treat it as a production post-quantum control without confirming its status in your release.
NSS version requirement for ML-KEM
Libreswan 5.4 added ML_KEM_768 support in the IKE_SA_INIT and IKE_INTERMEDIATE exchanges, and the changelog states it requires NSS 3.118.1 or newer. Check the NSS version on each gateway before planning any ML-KEM test. Confirm with your distribution's packaging whether it ships both Libreswan and NSS at compatible versions.
Libreswan CHANGESHow the dependency differs by Libreswan version line and deployment
Installations on versions before 5.4 use the ipsec.conf format documented on the libreswan.org man page that predates the 5.4 ML-KEM work. In that page, RSA and elliptic-curve keys are used for authentication, and Diffie-Hellman groups are set through the ike= and esp= proposals. The terms addke, ML-KEM and nssdir do not appear in that man page, so the post-quantum key exchange described for 5.4 is not expressed in these configuration files.
- Authentication keys:
leftrsasigkeytakes the left peer's RSA public key, andauthby=selects ECDSA signatures with SHA2 hashes, so both depend on public-key algorithms. - Certificates:
leftcertnames a certificate nickname in the NSS database whenleftrsasigkey=%certis used. - Proposals:
ike=sets cipher, hash and DH group combinations, and omitted parts default to all allowed values. - Default settings:
pfsdefaults to yes, andikelifetimedefaults to 8h as of version 4.2 with a maximum of 24h. - Preshared keys:
ppkis listed as experimental post-quantum preshared keys based on RFC 8784, with the values propose, yes, insist and never or no.
The man page does not state a minimum RSA key size, so confirm key lengths with your own key generation records. Check the exact version installed with ipsec --version before relying on any of these keywords.
Upstream Libreswan 5.4 added ML-KEM support to the IKE exchanges, and the project's changelog for v5.4 dated August 13, 2026 states that it requires NSS 3.118.1 or newer. The current release on the project home page is 5.4.2, dated November 16, 2026 in the changelog. The 5.4 series also implemented IKE_ADDITIONAL_KE for RFC 9370 multiple key exchanges and added RFC 9593 SUPPORTED_AUTH_METHODS support.
- ML-KEM key exchange: The changelog names ML_KEM_768 in the IKE_SA_INIT and IKE_INTERMEDIATE exchanges.
- Library requirement: The ML-KEM entry requires NSS 3.118.1 or newer, so check the NSS version on the host as well as the Libreswan version.
- Multiple key exchanges: RFC 9370 support is the mechanism through which an additional key exchange can be combined with the classic one.
- Activation: The changelog does not describe ML-KEM as enabled by default, and the project has not stated that it is enabled without configuration, so the setting must be confirmed in the 5.4 documentation.
- Signatures: The v5.4, v5.4.1 and v5.4.2 changelog entries do not mention ML-DSA, SLH-DSA or any post-quantum signature authentication, so RSA and ECDSA authentication remain the documented options.
The changelog lists IKE_FOLLOWUP_KE support for 5.4, but a third-party mirror of the man page says 5.4 does not support it, so treat that point as unresolved and confirm it with the project.
Distribution packages can carry a different Libreswan version from upstream, and their release notes may describe features that differ from the upstream changelog. Rocky Linux 10.3 release notes state that its Libreswan 5.4 adds ML-KEM-768 and ML-KEM-1024 post-quantum key exchange in IKEv2, while the upstream changelog names only ML_KEM_768. Treat the distribution's description as the statement for that build and confirm the exact parameter set it supports.
- Version source: Determine whether the package is an upstream build or a distribution patch set by checking the package name, version and changelog on the host.
- Parameter sets: The Rocky Linux 10.3 notes list ML-KEM-1024 in addition to ML-KEM-768, which the upstream changelog does not name, so confirm it in the package's own documentation.
- Library alignment: The distribution's NSS package must meet the NSS 3.118.1 minimum that the upstream entry names, so check the installed NSS version.
- Configuration path: Confirm the default NSS database location and any
--nssdirbehavior in the packaged documentation, since the upstream documentation places the database at /var/lib/ipsec/nss by default. - Updates: Distribution updates can lag or lead the upstream release, so record the package version and the date of the last update.
Ask your distribution's support channel which Libreswan and NSS versions ship in your release, and request the package changelog for the exact build you run.
When pluto runs in FIPS mode, some hash methods are restricted, and the man page warns that MD5 might not be available. The man page also says seedbits should be at least 460 bits for FIPS. These constraints affect which proposals and random-number settings are usable, so a configuration that works in standard mode may fail in FIPS mode.
- Hash availability: MD5 might not be available in FIPS mode, so check any proposal that names MD5 before enabling FIPS.
- Seed bits: The man page says seedbits should be at least 460 bits for FIPS.
- Post-quantum key exchange: The project's public pages checked do not mention ML-KEM, FIPS or CNSA 2.0 together, so whether ML-KEM is available in FIPS mode is not established by the facts supplied.
- FIPS-related 5.4 change: The only FIPS-related 5.4 series entry is a test for CVE-2026-77205, a denial of service named fips-cert-leak, in v5.4.1 dated October 5, 2026.
- Roadmap: The project has not published a statement on ML-DSA, SLH-DSA, ML-KEM-1024 or CNSA 2.0 on the pages checked.
Ask the project or your vendor to confirm in writing which key exchange and signature algorithms are permitted in FIPS mode before planning a change.
Where public-key operations sit in an IKEv2 exchange
The exchange starts with IKE_SA_INIT, where the peers agree a Diffie-Hellman group from the ike= proposal, and can add an ML-KEM-768 key exchange through addke1 if that is configured. IKE_INTERMEDIATE carries any further additional key exchanges under RFC 9370. IKE_AUTH then proves each gateway's identity with an RSA or ECDSA signature, using a certificate from the NSS database or a configured leftrsasigkey. The Child SA with pfs runs another Diffie-Hellman exchange. Check each ike= and esp= setting on your gateways, because ML-KEM appears only when configured.
Public-key steps in an IKEv2 exchange, with ML-KEM marked as configuration-dependent.
Steps to inventory Libreswan public-key dependencies
This sequence produces a dated, per-connection record of which Libreswan settings rely on RSA, ECDSA and Diffie-Hellman key exchange, and whether any ML-KEM key exchange is configured or documented for the installed version. Run it on each gateway before planning a post-quantum change, so the inventory reflects the software and configuration actually in use.
Record the Libreswan and NSS versions
Run the Libreswan version command on each gateway and record the output with the hostname and date. Then check the NSS library version the binary is linked against, because the Libreswan 5.4 changelog says ML_KEM_768 support requires NSS 3.118.1 or newer. If you run a distribution package, record the package version as well, since distributions may build Libreswan differently from upstream. This step is done when every gateway has a recorded Libreswan version and a recorded NSS version in your inventory file.
List authby and leftcert for each connection
Open ipsec.conf on each gateway and, for every conn block, record the authby value and the leftcert nickname if one is set. An authby value that selects RSA or ECDSA signatures, or a leftrsasigkey setting that names an RSA public key, means that connection's authentication depends on public-key algorithms. A leftcert value names a certificate in the NSS database. Record each connection name next to its authentication method. This step is done when every conn block has a row in the inventory showing its authentication method and certificate nickname, or a note that it uses a pre-shared key.
List ike and esp proposals for each connection
For each conn block, record the ike= and esp= values. The ipsec.conf man page says that omitted parts of an ike= proposal default to all allowed values, so a missing value is not the same as an explicit one; record the literal setting and note any omitted fields. The ike= proposal format is cipher-hash-modpgroup, and the DH group in that field is the Diffie-Hellman dependency. Record whether pfs is set, because the man page says it defaults to yes. This step is done when each connection's ike=, esp= and pfs settings are in the inventory, with omitted fields marked as defaults.
Check for addke settings and ML_KEM_768
Search each ipsec.conf and any included configuration files for addke1 or other addke settings, and check whether ike= includes ML_KEM_768 or an ML-KEM entry. The Libreswan 5.4 changelog says ML_KEM_768 is supported in IKE_SA_INIT and IKE_INTERMEDIATE, but the changelog does not describe ML-KEM as enabled by default, so an ML-KEM entry is likely only present when an administrator added it. Record each connection's addke and ML-KEM settings, or record that none are set. Note that the ipsec.conf man page copy you check may predate 5.4 and may not list these terms, so compare against the man page for your installed version. This step is done when every connection has a recorded result for addke and ML-KEM.
Confirm the NSS database location
Confirm where Libreswan stores its NSS database on each gateway. The documentation says the default is /var/lib/ipsec/nss, and that another directory can be selected with the --nssdir option. Check the startup or service configuration for a --nssdir setting, and record the directory path that pluto actually uses. Then list the certificate nicknames stored there, and confirm that each leftcert value from step two exists in that database. This step is done when the NSS database path is recorded for each gateway and every leftcert nickname has been matched to a stored certificate.
Check the vendor or distribution changelog for ML-KEM-1024
Check the changelog of the upstream Libreswan release and of your distribution's package for mentions of ML-KEM-1024. The upstream changelog for v5.4, v5.4.1 and v5.4.2 names ML_KEM_768 only, while the Rocky Linux 10.3 release notes state that its Libreswan 5.4 adds ML-KEM-768 and ML-KEM-1024. Record which source mentions ML-KEM-1024 and which version it applies to, and do not treat a distribution note as an upstream Libreswan statement. The upstream project pages checked on 2026-12-03 do not state a roadmap for ML-KEM-1024. This step is done when you have a written note, dated and attributed to a specific changelog, stating whether ML-KEM-1024 is documented for your build.
What Libreswan has not published and what to ask the project
Libreswan's home page, CHANGES file and 5.4 release notes, checked on 2026-12-03, give no roadmap for post-quantum signatures, ML-KEM-1024 or CNSA 2.0, and they do not say whether ML-KEM is enabled by default. The cards below list each gap and the question to put to the project or to confirm in your own configuration.
No roadmap for post-quantum signatures
The Libreswan changelog entries for v5.4, v5.4.1 and v5.4.2 do not mention ML-DSA, SLH-DSA or any post-quantum signature authentication. This matters because the authentication settings in ipsec.conf, including authby= for RSA and ECDSA signatures and leftcert for NSS certificates, still depend on classical keys. Ask the project whether signature authentication with ML-DSA or SLH-DSA is planned, and in which release. Until an answer is published, treat certificate and signature authentication in your tunnels as classical only.
Libreswan CHANGESNo roadmap for ML-KEM-1024 or CNSA 2.0
The Libreswan home page, CHANGES file and 5.4 release notes contain no roadmap statement on ML-KEM-1024 or CNSA 2.0. Rocky Linux 10.3 release notes say its Libreswan 5.4 adds ML-KEM-1024, but the upstream changelog names only ML_KEM_768. Ask the project whether ML-KEM-1024 is supported upstream, and whether the Rocky Linux build carries a change the upstream changelog does not record. Confirm the exact ML-KEM variant in the build you run before you record it in an inventory.
Rocky Linux 10.3 releaseIKE_FOLLOWUP_KE support unresolved for 5.4
The Libreswan CHANGES file lists an entry for IKE_FOLLOWUP_KE support in 5.4, but the ipsec.conf man page copy available through a third-party mirror says 5.4 does not support it. The two sources conflict, and the project has not resolved it in the pages checked. Ask the project which statement is correct for 5.4.2. Because IKE_FOLLOWUP_KE governs how additional key exchanges are carried, a wrong assumption here could leave a tunnel using a weaker exchange than you intended.
ipsec.conf man pageNo documented post-quantum signature authentication
Nothing in the pages checked documents post-quantum signature authentication for IKEv2 peers. Authentication by RSA or ECDSA signature, and certificates stored in the NSS database at /var/lib/ipsec/nss by default, remain the documented options. Ask the project whether a post-quantum signature method is planned for IKEv2 authentication, and what certificate formats it would require. Plan your certificate inventory with the current classical settings in mind.
Libreswan documentationNo statement that ML-KEM is enabled by default
The Libreswan changelog does not describe ML-KEM as enabled by default, and no vendor statement says it is active without configuration. The entry appears to require an additional key exchange, such as addke1= added to ike=, in each connection. Ask the project to confirm whether a default configuration negotiates ML-KEM, and which settings must be present. Check the effective ike= and esp= values on each connection in your own environment rather than assuming a default.
Libreswan CHANGESNo FIPS or CNSA 2.0 mention on the home page
The Libreswan home page does not mention FIPS or CNSA 2.0. The only FIPS-related v5.4 series changelog entry is a test for CVE-2026-77205, a denial of service named fips-cert-leak, in v5.4.1. The ipsec.conf man page notes that some hash methods such as MD5 may be unavailable in FIPS mode and that seedbits should be at least 460 bits. Ask the project for its FIPS validation status and whether CNSA 2.0 alignment is intended, and confirm the validated module version with your distribution before you rely on either.
Libreswan home pageWhat can break or silently fall back to classical algorithms
The first risk is that a Libreswan connection can complete with classical algorithms only, and nothing in the logs will flag it as a downgrade. The ike= option sets the IKE proposals, and its documented defaults for IKEv2 include DH14 and stronger groups. Post-quantum ML-KEM key exchange, as described in the 5.4 changelog, is not described there as on by default, and no vendor statement says it is enabled without configuration. Based on that, a configuration that does not add an additional key exchange such as addke1= to ike= will likely keep classical Diffie-Hellman as the only key exchange. Confirm this by reviewing the effective ike= value on each connection and by checking the negotiated algorithms in the pluto logs on a test tunnel before relying on it.
The second risk is peer mismatch. A proposal can only be agreed when both gateways support the chosen group, and Libreswan will not negotiate a group the remote side does not offer. If the far end is a different vendor's appliance or an older Libreswan build, the connection may fail, or the operators may loosen the proposal to get it working, which quietly removes the stronger setting. Ask each peer's administrator which key exchange groups and additional key exchanges it supports before changing the proposal on your side. The ML-KEM work also depends on NSS 3.118.1 or newer, so check the NSS version on both ends. FIPS mode is a third constraint: the man page says some hash methods such as MD5 may be unavailable when pluto runs in FIPS mode, which can change which proposals are accepted and should be tested on the target build.
Finally, the PPK option is marked EXPERIMENTAL in the ipsec.conf man page, so it should not be treated as a production post-quantum control without independent testing. Its ppk= values are propose, yes, insist and never or no, and insist will fail a connection that cannot use a preshared key, so use propose when you want to test without breaking existing tunnels. Plan for these failure modes in your change window, record which connections fall back and why, and retest after each Libreswan or NSS upgrade.
Common questions about Libreswan public-key dependencies
Is Libreswan quantum safe?
Libreswan does not document itself as quantum safe, and this page does not treat it as such. What the project's materials support is narrower. Its IKEv2 settings use RSA and ECDSA signatures for authentication, and Diffie-Hellman style groups for key exchange, all of which are public-key algorithms. Its 5.4 changelog adds ML-KEM-768 for key exchange in IKE_SA_INIT and IKE_INTERMEDIATE, but the changelog does not describe it as on by default. The project's home page and changelogs for 5.4 through 5.4.2 document no post-quantum signature authentication, and no roadmap on ML-DSA, SLH-DSA, ML-KEM-1024 or CNSA 2.0. Confirm the current status with the Libreswan project and in your own configuration.
Which Libreswan version is needed for ML-KEM-768?
The Libreswan changelog lists ML-KEM-768 support, using the name ML_KEM_768, in the v5.4 entries dated August 13, 2026. That entry says it requires NSS 3.118.1 or newer. Libreswan 5.4 also added RFC 9370 multiple key exchanges, which is the mechanism that carries the additional key exchange. Current upstream release shown on the project home page as of December 3, 2026 is 5.4.2, dated November 16, 2026. If you run a distribution build, check its release notes: Rocky Linux 10.3 states that its Libreswan 5.4 adds ML-KEM-768 and ML-KEM-1024, while the upstream changelog names only ML_KEM_768, so confirm which parameter sets your build actually ships.
Does enabling ML-KEM in Libreswan cost extra?
The supplied sources do not give a licence or product fee for ML-KEM support in Libreswan, which is free software under GPLv2, so there is no vendor price to quote. The real costs are effort and dependencies. Your team pays for the upgrade to a 5.4 release, a matching NSS version of 3.118.1 or newer, testing of tunnels against each peer, and change windows. These are largely one-time costs, with ongoing costs for patching and retesting. The changelog does not say ML-KEM is enabled by default, and it appears to require adding an extra key exchange such as addke1= to the ike= setting, so plan a configuration review as well. Ask any outside party for a quote that lists these components separately.
What breaks on peers when ML-KEM is turned on?
Enabling an additional key exchange changes what both ends must agree on during IKE negotiation, so a peer that does not offer the same method cannot complete the handshake. Check each peer before changing a gateway. For each tunnel, confirm:
- Whether the peer runs a version that supports ML-KEM in IKE_SA_INIT or the RFC 9370 additional key exchange flow
- Which key exchange and proposal list the peer offers, and whether it includes a fallback to classic groups
- Whether a single peer's failure would isolate a site, and whether you can roll back the ike= change quickly
The sources do not describe how other vendors' implementations behave with Libreswan's ML-KEM, so test each combination in a lab before rollout, and ask the peer vendor directly.
What should we ask the Libreswan project?
Ask questions that the public materials do not settle. Useful requests include:
- Whether ML-KEM-1024 is supported in upstream releases, given that the upstream changelog names only ML_KEM_768
- Whether ML-DSA or SLH-DSA signature authentication is planned, and on what timeline
- Whether the IKE_FOLLOWUP_KE entry in the 5.4 changelog is accurate, because the man page copy available to us says 5.4 does not support it
- Whether an ML-KEM setting becomes the default in a future release, and how the project will notify users of that change
- Whether a FIPS-validated build with ML-KEM exists, and which module and version it covers
Record the answers and their dates. Public project statements can change, so treat any answer as current only as of the date you receive it.
Can our team inventory Libreswan dependencies ourselves?
Yes, a capable network or security team can inventory the Libreswan settings that depend on public-key algorithms. The work is mostly reading configuration. Check the keyexchange value, the ike= proposals, esp= settings, authby= and leftrsasigkey or leftcert entries, along with the NSS database location, which defaults to /var/lib/ipsec/nss, or the directory set with --nssdir. Also record the Libreswan and NSS versions on each gateway, and the peer versions if you can get them. Outside help is most useful when you have many gateways, unclear NSS certificate ownership, or need an evidence package for an assessment. Get any outside quote in writing, with the scope and deliverables spelled out before work begins.
How DeployOpen helps with Libreswan post-quantum readiness
DeployOpen works through Libreswan's RSA, ECDSA and Diffie-Hellman dependencies in your own IPsec gateways, starting from your ipsec.conf and NSS certificate store. We scope, build, document and hand over the findings as a fixed-scope engagement, with ongoing support available as a retainer.
How we scope
- We review your ipsec.conf, ike= and esp= settings, and authby= choices to list every public-key dependency per connection.
- We confirm your Libreswan version against the 5.4 series, since ML_KEM_768 support depends on that release and NSS 3.118.1 or newer.
- The written scope states which gateways, NSS databases and connections are covered, and what is delivered before work starts.
How we build
- We inventory RSA and ECDSA certificates and leftrsasigkey entries stored in the NSS database, defaulting to /var/lib/ipsec/nss unless --nssdir is set.
- We test whether ML_KEM_768 can be added alongside existing groups as an extra key exchange, and record the results in a lab before any production change.
- We check ppk settings and FIPS-mode behavior, including seedbits, so the configuration is documented exactly as your version runs it.
How we hand over
- You receive a dependency report listing each connection, its authentication method, key exchange groups and certificate source.
- The report separates what Libreswan 5.4 documents from what is unresolved, such as the IKE_FOLLOWUP_KE conflict between the changelog and man page.
- We document each configuration change and the retest steps, so your network and security teams can review them independently.
How we support
- Ongoing support is available as a retainer for upgrades when new Libreswan releases or vendor statements change the picture.
- We can retest gateways after each Libreswan update and after any change to NSS or certificate material.
- Your team can ask us to track the Libreswan project's roadmap statements, which currently do not address ML-DSA, SLH-DSA or CNSA 2.0.

