Where strongSwan uses cryptography in an inventory
Before planning any post-quantum move for strongSwan, record every place the deployment uses cryptography. The areas to cover are IKEv2 proposals and key exchange, certificates and keys, swanctl and plugin configuration, management access, and firmware and updates. The network or security team that owns the strongSwan deployment should own this inventory, because they hold the configuration files, the certificate stores and the change records that answer most of the questions. Each entry should name the strongSwan version, the connection it applies to and the file or setting where it is defined. The inventory matters now because the upgrade decisions that follow depend on it, and a tunnel that was configured years ago may use defaults nobody has checked.
Start with the IKEv2 proposals. In swanctl.conf, the setting connections.<conn>.proposals sets the IKE algorithm proposals and defaults to default, and the children setting esp_proposals sets ESP proposals and also defaults to default. The default proposals are not a literal string: they include every algorithm from loaded plugins that is not marked deprecated, plus 3des, sha1 and prfsha1 for interoperability. Record the expanded list from your build, not the word default. Also record connections.<conn>.version, which defaults to 2, and whether any connection still needs IKEv1. The 6.1 notes say IKEv1 is disabled by default at build time, must be enabled with --enable-ikev1, and will be removed in a future release. Note any key exchange methods such as modp, ecp or curve25519, and any ML-KEM entries using the keX_ prefix, since those are the public-key exchanges a later upgrade would touch.
Next, inventory certificates and keys. Check local.auth and remote.auth, which default to pubkey, and send_cert, which defaults to ifasked. Then list what swanctl --load-creds loads from the swanctl directory, usually /etc/swanctl, including the x509, x509ca, x509crl, x509ocsp, rsa, ecdsa, pkcs8, pkcs12, private and pubkey subdirectories. For each certificate, record the key type and size. The strongSwan security recommendations advise RSA of at least 2048 bits, ECDSA curves of at least 256 bits and preferably 384, and EdDSA where all peers support it. Check any remote.auth signature constraints such as pubkey-sha256-sha384-sha512, which also apply to IKEv2 authentication. Finally, record the pki --gen keys used to issue these credentials, since that tool covers RSA, ECDSA and EdDSA. The pki documentation lists no ML-DSA key type, so confirm any future signing choice with the vendor.
Every place strongSwan uses cryptography
This table lists each strongSwan area that uses cryptography, what it protects, whether it depends on public-key algorithms, and where it is configured. Use it as an inventory checklist before planning a post-quantum move. Areas the vendor has not documented on the pages checked are marked as such, so confirm them with the project or your own build before relying on them.
| Area | What it protects and algorithm family | Public-key dependent | Where it is configured |
|---|---|---|---|
| IKEv2 key exchange | Session keys for the IKE_SA; proposals name classic methods (modp, ecp, curve25519) and, from 6.0, ML-KEM (mlkem512, mlkem768, mlkem1024) when added with the keX_ prefix | Yes, for classic Diffie-Hellman and elliptic-curve methods; ML-KEM is a post-quantum key encapsulation method | connections.<conn>.proposals in swanctl.conf; default is the value default |
| ESP data protection | Symmetric encryption and integrity for child SAs (AES, AES-GCM, SHA-2); optional key exchange for PFS since 6.0.2 | Only where PFS key exchange is added to the proposal; the default ESP proposals are symmetric | children esp_proposals in swanctl.conf; default is the value default |
| Pubkey certificate authentication | Peer identity via X.509 certificates signed with RSA, ECDSA or EdDSA keys; ML-DSA signature identifiers appear only as drafts | Yes, certificate signatures and private keys use public-key algorithms | local.auth and remote.auth in swanctl.conf (default pubkey); certificates loaded from /etc/swanctl/x509 and related directories |
| Pre-shared key authentication | Peer authentication from a shared secret, with no certificate or public-key signature in the authentication step | No for the authentication step itself, though the IKE key exchange may still be public-key based | local.auth and remote.auth set to psk in swanctl.conf; secret stored in the swanctl secrets section |
| Key and certificate files | Private keys for RSA, ECDSA and EdDSA generated with pki --gen; default sizes are 2048 (RSA), 384 (ECDSA), 256 (ed25519) and 456 (ed448); no ML-DSA key type is listed | Yes, these are public-key keys and certificates | Subdirectories of /etc/swanctl loaded with swanctl --load-creds (rsa, ecdsa, pkcs8, pkcs12, private, x509, x509ca, x509crl, x509ocsp, pubkey) |
| Plugins providing algorithms | Crypto backends that supply the proposal algorithms; openssl is enabled by default in 6.0, ML-KEM via software ml plugin is marked experimental, and bliss, newhope and ntru were removed in 6.0 | Depends on the plugins loaded; ML-KEM support needs 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, per the release notes | Plugin load settings in strongswan.conf and the build configuration; confirm the installed version on your host |
| Management access to swanctl | Local control socket and command interface used to load credentials and connections; the documents checked describe no cryptography protecting this interface | Not documented on the pages checked | swanctl directory and charon settings; confirm the socket permissions and any remote access on your deployment |
| Vendor update signing | Signature on strongSwan source releases and packages; the pages checked do not describe the signing scheme or key type | Not documented on the pages checked | Not documented on the pages checked; check the project download page and your package manager for verification steps |
Which IKEv2 and ESP settings choose strongSwan's algorithms
In strongSwan, the algorithms a tunnel uses are not fixed in one place. They come from a few swanctl.conf settings, and each one has a default that can change which key exchanges and ciphers a site-to-site link negotiates. Reading these defaults, and knowing which loaded plugins feed them, is the starting point for any inventory of public-key and key-exchange use on a strongSwan gateway.
IKE proposals in connections
The setting connections.<conn>.proposals sets the algorithms offered for the IKE SA, the control channel that negotiates keys and authenticates peers. Its default is the value default, which means strongSwan builds the list at runtime rather than reading a fixed string. Check each connection block in /etc/swanctl/swanctl.conf for an explicit value, because an explicit list overrides the default entirely. Record what each connection actually offers, since the default can include key exchange methods your peers never expect. This is the first place to look when you inventory classic elliptic-curve and Diffie-Hellman groups on a tunnel.
The default proposal contents
When proposals is default, strongSwan includes every algorithm from the loaded plugins that is not marked deprecated. The IKEv2 defaults have no literal string: there is one classic proposal and one AEAD proposal, plus 3des, sha1 and prfsha1 kept for interoperability. This means that loading an additional plugin can widen what a connection offers without any change to swanctl.conf. Run swanctl --load-creds and inspect the plugin list on each gateway, so you know the real set. Treat 3des and sha1 as items to justify or remove.
ESP proposals in children
The setting children.<child>.esp_proposals sets the ESP proposals for the child SA that carries the tunnel traffic. It also defaults to default. The hard-coded ESP defaults are aes128-aes192-aes256-sha256-sha384-sha512-sha1-aesxcbc-noesn and aes128gcm16-aes192gcm16-aes256gcm16-noesn. Confirm the value on each child definition, because ESP and IKE can be set independently and a mismatch will show up as a failed negotiation. ESP settings govern the data plane, so they matter differently from the control channel when you plan a post-quantum review.
PFS optional in ESP defaults
Since strongSwan 6.0.2, all supported key exchange methods plus none are added to the default ESP and AH proposals, so perfect forward secrecy is optional rather than required. In practice a default configuration may negotiate a child SA without a fresh key exchange. This is a behavior change that the 6.0.2 release post flagged: some peers, for example Windows clients not configured for PFS, may fail with the new defaults. Where a peer cannot do PFS, set ESP proposals without key exchange methods explicitly. Where you need PFS, name the key exchange in esp_proposals yourself.
IKEv2 as the default version
The setting connections.<conn>.version defaults to 2, which selects IKEv2 for the connection. Keep this explicit in configuration files you review, so an auditor can see the protocol version without inferring it from defaults. Confirm each connection and each peer agree on IKEv2, since a mismatch prevents the tunnel from coming up. The version setting determines which negotiation flow and which key exchange rules apply, so it is worth recording alongside the proposal lists.
IKEv1 disabled at build time
IKEv1 is disabled by default at build time, must be enabled with --enable-ikev1, and will be removed in a future release. Check how your gateway was built before assuming IKEv1 is available or absent: if you run a build from a distribution package, confirm its build options rather than the upstream defaults. Any tunnel still relying on IKEv1 is a migration item, because support is set to end. Record the build flags, and plan IKEv2 for every connection that still uses version 1.
Which certificates and key files strongSwan loads
The certificate and private key that a tunnel endpoint uses to prove its identity during IKEv2 authentication are loaded by swanctl --load-creds from the x509 and rsa, ecdsa, pkcs8 or pkcs12 subdirectories of the swanctl directory, usually /etc/swanctl. Certificates are read from x509 in DER or PEM encoding, and private keys from the key subdirectories in the same encodings. The public-key parts of this exchange are the RSA, ECDSA or EdDSA signature used for pubkey authentication, which is the default for local.auth and remote.auth.
- Certificate location: endpoint certificates go in
x509, and the matching private key goes in one of the key subdirectories. - Accepted encodings: the swanctl directory reference lists DER and PEM for the loaded files.
- Key container formats:
pkcs8andpkcs12subdirectories hold keys in those containers rather than as bare key files. - Authentication default:
local.authandremote.authdefault topubkey, so the certificate and key pair is what the tunnel uses for identity. - Send certificate default:
send_certdefaults toifasked, so the endpoint sends its certificate only when the peer requests it.
Confirm the key type and size of each endpoint key against the security recommendations, which advise at least 2048 bits for RSA end-entity keys and 3072 bits where a stronger margin is required. Also confirm whether any endpoint key sits in an HSM or TPM, since that storage is not documented on the pages checked.
The CA certificates that anchor trust in the peer's certificate are loaded from the x509ca subdirectory, and revocation data is loaded from x509crl and x509ocsp. These files are what strongSwan uses to validate the peer's chain and check whether a certificate has been revoked. The same DER or PEM encodings apply, and these files carry the signatures of the issuing authority, which determine which algorithms a post-quantum transition must cover.
- CA trust anchors: CA certificates live in
x509ca, and a chain is validated back to one of them. - Revocation lists: certificate revocation lists are loaded from
x509crl. - Revocation responses: OCSP responses are loaded from
x509ocsp. - CA key size guidance: the security recommendations advise at least 4096 bits for RSA CA certificates, which is a higher bar than the end-entity figure.
- Constraint scope:
remote.authsignature restrictions such aspubkey-sha256-sha384-sha512also apply to IKEv2 authentication unlesscharon.signature_authentication_constraintsis disabled.
Check each CA in your chain for its algorithm and key size, and confirm where revocation data is fetched and stored. The 6.1 documentation does not show whether these files can be placed in an HSM or TPM, so ask the vendor or your PKI owner before assuming any storage option.
The pki --gen command generates private keys for RSA, ECDSA or EdDSA, and its documentation is the reference for what a default run produces. The --type option defaults to rsa, and the default sizes are 2048 bits for RSA, 384 for ECDSA, 256 for ed25519 and 456 for ed448. The pki reference page checked lists no ML-DSA key type, so keys generated with this command are classical public-key keys, and no post-quantum signature key is produced by it on that page.
- Default key type:
--typedefaults torsawhen no type is given. - Default sizes: the page lists 2048 for RSA, 384 for ECDSA, 256 for ed25519 and 456 for ed448.
- Recommended sizes: the security recommendations advise at least 2048 bits for RSA, 256 bits for ECDSA with 384 preferred, and EdDSA where all peers support it.
- No ML-DSA type: the pki --gen page checked does not mention ML-DSA, and the 6.0 and 6.1 release notes make no mention of it either.
- Storage: HSM and TPM storage for keys generated this way is not documented on the pages checked.
If you generate keys with pki, record the exact type and size you chose, since the defaults differ by key type. Confirm the command version you run, because the documentation covers version 6.1 and older releases may differ.
How administrators reach strongSwan and what protects each path
Administrators reach strongSwan through two local paths on the host: the swanctl command, which loads configuration and credentials and queries or controls connections, and the charon daemon, which performs the IKEv2 negotiations itself. The supplied facts describe how swanctl reads credentials from /etc/swanctl subdirectories and loads them with swanctl --load-creds, but they do not describe a remote management interface for either path. Before inventorying what protects administrative access, confirm on your own deployment whether charon or swanctl is exposed over any network socket, which local user accounts can run them, and who can write to /etc/swanctl. Those answers depend on your build options and how you run the daemon, not on anything the supplied facts state.
The authentication settings that shape what a peer may present are local.auth and remote.auth in swanctl.conf. Both default to pubkey, so a connection accepts public-key authentication unless you change them. The strongSwan security recommendations say that signature restrictions set in remote.auth, such as pubkey-sha256-sha384-sha512, also apply to IKEv2 authentication automatically, unless charon.signature_authentication_constraints is disabled. The ike: prefix can scope a constraint to IKEv2 only. Read these together: a restriction you write in remote.auth may be enforced on the IKEv2 path as well, but only if that setting has not been turned off. Check the effective values on each host, because the facts describe the defaults and the rule, not your running configuration.
How strongSwan versions and plugins arrive
strongSwan ships as a GPLv2 project with a commercial licensing option, and its post-quantum features depend on which release and which plugins a build includes. The cards below cover the release history, the default plugin set and the experimental ml plugin, and the packaging checks that the documented facts leave open.
Release history from 6.0.0 to 6.1.0
strongSwan 6.0.0 was released on 2024-12-03 and added ML-KEM support through a new ml plugin and several crypto backends. strongSwan 6.0.2 followed on 2025-07-14 and added ML-KEM through OpenSSL 3.5 or later. The latest release named on the project home page is 6.1.0, dated 2026-09-07, so check which version your distribution actually packages before assuming any of these features are present.
6.1.0 release postGPLv2 license and commercial option
The strongSwan source code is licensed under GPLv2, and the project home page says commercial licensing options exist. The home page names no separate product editions. Teams that redistribute modified builds or embed strongSwan in a product should read the GPLv2 terms and ask the project about commercial terms, rather than assuming one edition carries different crypto features.
strongSwan home pageDefault plugins and the openssl plugin
The 6.0 notes say the openssl plugin is enabled by default. Crypto algorithms available in a build come from the loaded plugins, so the default IKEv2 proposals include every algorithm from the loaded plugins that is not marked deprecated. Confirm which plugins your build loads with the plugin list, and check the OpenSSL version it links against, since ML-KEM through OpenSSL requires OpenSSL 3.5 or later.
Plugin list, 6.1 docsExperimental ml plugin
The software ml plugin (Module-Lattice-based crypto, ML-KEM) is marked as experimental in the plugin list. It was added in 6.0.0, alongside backends including Botan 3.6.0 or later, wolfSSL 5.7.4 or later and AWS-LC 1.37.0 or later through the openssl plugin. Treat it as experimental in any inventory, and confirm with the project or your distribution whether it is enabled in your build.
What's New in 6.1Removed post-quantum plugins
The bliss, newhope and ntru post-quantum plugins were removed in strongSwan 6.0. Any configuration, documentation or build script that loads these plugins on 6.0 or later will not find them. Check older deployment notes for references to these plugin names before upgrading, and map each one to the ML-KEM path in the current release.
6.0.0 release postRelease signing and secure boot not documented
The strongSwan facts checked here do not document release signing for the project's packages, and they do not document secure boot support. Ask how your distribution packages strongSwan, whether the packages are signed, and which signing keys the distribution trusts. Record the answer in your inventory, because the project pages reviewed do not provide it.
strongSwan home pageWhat to record for each strongSwan cryptographic item
This table lists the fields to capture for each cryptographic item in a strongSwan deployment, such as a connection, certificate, key or proposal. Read each row as one field to fill in, with what it records and where to look it up in your environment. Recording these fields before planning a post-quantum move shows which items depend on RSA, elliptic-curve or other public-key algorithms and which settings are fixed by the build or the peer.
| Field | What it records |
|---|---|
| Product and version | strongSwan as the product, with the exact release (6.1.0 is the latest release listed on the project home page, dated 2026-09-07) and any distribution patch level |
| Owner | The team or person accountable for the connection, certificate or key, and who approves changes to it |
| Location | The path under the swanctl directory (usually /etc/swanctl) where the item is loaded, such as x509, x509ca, rsa, ecdsa or pubkey |
| Protocol and setting | The protocol involved (IKEv2 or ESP) and the swanctl.conf key that sets it, such as connections.<conn>.proposals or children esp_proposals |
| Algorithm and key size | The key exchange methods, signature or authentication algorithm, and key size in the proposal or certificate, for example modp, ecp or curve25519 with RSA 2048 or ECDSA 256 |
| Certificate issuer and expiry | For each certificate, the issuing CA, the subject, and the not-after date, plus whether revocation is checked through a CRL or OCSP |
| Configurable or fixed | Whether the setting can be changed in configuration, or is fixed by the build options, plugins loaded or the peer's offer |
| Confidentiality lifetime | How long the data protected by the tunnel or key must stay confidential, which sets how urgently the item needs review |
Which strongSwan items depend on public-key algorithms
In a strongSwan site-to-site tunnel, the public-key dependencies sit in two places during IKEv2 setup. The first is the key exchange method named in a proposal. Classic Diffie-Hellman groups such as modp and ecp, along with curve25519, establish the shared secret. ML-KEM, which strongSwan 6.0.0 added with the variants mlkem512, mlkem768 and mlkem1024, appears as an additional key exchange, for example x25519-ke1_mlkem768, and is not part of a default proposal. The second is authentication. With pubkey authentication, which is the default for local.auth and remote.auth, each peer signs with an RSA, ECDSA or EdDSA private key and presents an X.509 certificate that carries the matching public key.
The symmetric parts of the tunnel are different. ESP ciphers such as AES and the hashes used with them carry the traffic after the tunnel is up, and they are not what the public-key work changes. The default ESP proposals listed in the algorithm proposals reference are symmetric, and key exchange appears in them only as an optional PFS step. For planning, the practical step is an inventory: list each connection's proposals, esp_proposals, version and local.auth/remote.auth values, and record which certificate and key types are loaded from the swanctl directory. Confirm each peer's supported key exchange and signature types before changing anything, since the strongSwan 6.0.2 release notes warn that some peers, such as Windows clients not configured for PFS, may fail with the newer default ESP proposals.
The full treatment of which strongSwan flows and logins depend on RSA, Diffie-Hellman and elliptic-curve keys, along with the stronger settings available today, is on the sibling page on RSA and elliptic-curve dependencies. The strongSwan project's standards page also lists draft work on ML-DSA certificates and IKEv2 post-quantum signature authentication with no release named. Treat that as a draft to confirm with the project, not as current support.
How to gather strongSwan's cryptographic inventory
This sequence produces a dated record of the strongSwan version, the effective IKEv2 proposals and authentication settings for each connection, the credentials on disk with their expiry dates, and the loaded plugins. Teams can use it as the baseline for deciding what to change before any post-quantum work begins.
Confirm the installed strongSwan version
Run the version command on each gateway and record the exact release string, along with the build options that were used. The latest release listed on the project home page at the time of checking was 6.1.0, dated 2026-09-07, so compare your result against it and note any gap. Record the output in the inventory with the host name and date. This step is complete when every gateway in scope has a version recorded next to its host name. Repackaged builds from Linux distributions may carry different version strings, so confirm the source of the binary as well.
Export the effective swanctl configuration per connection
Dump the configuration that charon is actually using, rather than reading the files by hand, because included fragments and defaults can change the result. For each connection, capture the proposals, esp_proposals, version, local.auth and remote.auth values. Note where a setting is absent, since the documented defaults apply in that case: proposals and esp_proposals default to default, version defaults to 2, and local.auth and remote.auth default to pubkey. The step is done when you have one saved export per gateway that lists every connection and its explicit or default values.
List credential directories and certificate expiry dates
Enumerate the swanctl credential subdirectories, which are usually under /etc/swanctl, including x509, x509ca, x509crl, x509ocsp, rsa, ecdsa, pkcs8, pkcs12, private and pubkey. For each certificate and key file, record the subject, the key type and size, and the not-after date. Flag any key file that is RSA or ECDSA, since those are the public-key items that a later post-quantum plan will need to replace or supplement. The step is complete when every file loaded by swanctl --load-creds appears in your list with its expiry date.
Check loaded plugins and whether ml is present
List the plugins that the running charon instance has loaded, and compare that list with the plugin reference for the version you installed. Confirm whether the ml plugin, which provides ML-KEM, is present, and whether the openssl plugin is loaded and which library it links against. The 6.1 plugin list marks ml as experimental, so note that status alongside the result. Also record whether any of the post-quantum plugins removed in 6.0 appear in your configuration files. The step is done when the loaded plugin list is saved with the ml status and the backing library noted.
Review remote.auth constraints and signature settings
Read the remote.auth values from the export and note any signature constraints, such as pubkey-sha256-sha384-sha512. The project's security recommendations state that these constraints also apply to IKEv2 authentication unless charon.signature_authentication_constraints is disabled, and that the ike: prefix limits a constraint to IKEv2. Record whether each connection uses a constraint, whether the charon setting has been changed, and whether any peer is known to depend on a particular signature algorithm. The step is complete when each connection's authentication constraints are written down next to its key type from the previous step.
Ask the project or vendor about undocumented items
Some items that matter for an inventory are not covered by the project's public documentation, so put them to the strongSwan project or to your distributor in writing. These include how release signing keys are managed, whether any remote management or telemetry feature exists, and whether ML-DSA or SLH-DSA appear in a release you run. The project's standards page lists two drafts with no release named, so ask which release, if any, implements them. The step is done when each open question has a dated written reply or a recorded note that no reply was received, and both are filed with the inventory.
Save the inventory with reference pages linked
Assemble the outputs from the previous steps into one dated record per gateway, and attach the swanctl directory reference and the plugin list as the pages used to interpret each field. Mark any entry that relied on a default value so that a later reviewer can distinguish configured settings from inherited ones. Store the record in a location that is versioned and reviewed, and set a date for the next review. This final step is complete when a second engineer can reproduce each value in the record by following the same commands.
Questions engineers ask about strongSwan's cryptographic inventory
Is strongSwan quantum safe?
The supported answer is narrower than yes or no: strongSwan's documentation says it supports several classic and post-quantum key exchanges under RFC 9370, including ML-KEM (FIPS 203), but that support must be enabled in the proposal, and the project does not describe any product as quantum-proof or compliant. The ML-KEM variants arrived in version 6.0.0, and the software ml plugin is marked experimental in the plugin list. Certificate authentication with post-quantum signatures is not documented as shipped in the pages checked. Record the key exchange and authentication settings you actually run, not a general label.
Which strongSwan version should the inventory entry record?
Record the exact version your hosts run, for example from swanctl --version or your package manager, because behavior differs between releases. The latest release listed on the project home page at the check date was 6.1.0, dated 2026-09-07. ML-KEM support began in 6.0.0 (2024-12-03), and 6.0.2 (2025-07-14) added ML-KEM through OpenSSL 3.5 or later. Also record the crypto backend, such as Botan, wolfSSL, AWS-LC or OpenSSL, because the post-quantum options depend on which plugin provides them.
Does a post-quantum inventory of strongSwan add cost?
It can, and the main drivers are internal labor and the number of tunnels and certificates to review, not a license fee for the inventory itself. strongSwan is GPLv2 with commercial licensing options described on the project site, so ask the project directly if your use needs a commercial license. Cost rises with the number of connections in swanctl.conf, the number of key and certificate files under the swanctl directory, the number of peers that must be tested, and whether plugins are custom built. Ask any outside party for a written scope that lists the hosts, configuration files and peers covered.
What breaks if a peer rejects a strongSwan proposal?
The tunnel fails to establish, and the failure is usually visible in the charon logs as a proposal mismatch, not as a silent downgrade. Since 6.0.2, the default ESP proposals include options without key exchange, so Perfect Forward Secrecy is optional, and some peers, including Windows clients not configured for PFS, may fail with those defaults. If you add a post-quantum key exchange such as x25519-ke1_mlkem768, the peer must support the same RFC 9370 exchange, or both sides must agree on a shared proposal. Test each peer type before changing proposals on production tunnels.
What should I ask the strongSwan project before relying on it?
Ask the project to confirm, in writing, whether ML-DSA certificate authentication is available in the version you run, since the standards page lists the relevant drafts but the 6.1.0 release notes do not mention ML-DSA. Ask whether any FIPS validation or CNSA 2.0 compliance exists for your build, because the home page and release notes do not claim either, while the security recommendations include a CNSA 2.0 style proposal. Also ask for the support lifecycle, the planned removal date for IKEv1, and any notice about deprecating plugins. Ask for the answers as dated statements tied to a version number.
Can my team inventory strongSwan without outside help?
Yes, for many teams, because the inputs are files on the host. The main items are swanctl.conf, the credential subdirectories under /etc/swanctl (x509, x509ca, x509crl, rsa, ecdsa, pkcs8, pkcs12, private and pubkey), the installed version, and the enabled plugins. Check each connection's proposals, esp_proposals, version and remote.auth settings, and note where defaults apply, since proposals defaults to default. Outside help becomes useful when you have many tunnels across many hosts, need to validate interoperability with peers, or must produce evidence for an assessor.
How do I list the public-key material in a strongSwan deployment?
Start from the swanctl directory and the connection file, then record each key type and certificate size you find. The pki tool generates RSA, ECDSA and EdDSA keys, and the security recommendations advise at least 2048-bit RSA (3072 for end-entity and 4096 for CA certificates), ECDSA curves of at least 256 bits and preferably 384, and EdDSA where every peer supports it. Note the remote.auth constraints, since pubkey-sha256-sha384-sha512 also applies to IKEv2 authentication unless charon.signature_authentication_constraints is disabled. Record these as configured values, not as an assessment of their strength.
How DeployOpen helps build a strongSwan cryptographic inventory
DeployOpen works through a strongSwan deployment in fixed steps, starting from the IKEv2 proposals, certificates and swanctl configuration that your gateways actually load. The output is a written inventory that your network and security teams can check against their own systems.
How we scope
- The written scope lists which strongSwan hosts, connections and swanctl directories are covered, and which peers they terminate.
- We confirm the installed strongSwan version and the plugins loaded on each gateway, since the default proposals depend on them.
- Scope also records which certificate and key stores under /etc/swanctl are in and out of the inventory, and who approves changes.
How we build
- We read each connections.<conn>.proposals and esp_proposals value and record whether it is the default or an explicit list.
- We map local.auth and remote.auth settings, and every certificate and key loaded by swanctl --load-creds, by type and encoding.
- We check whether any ML-KEM key exchange appears in a proposal, and whether IKEv1 is enabled at build time or in use.
How we hand over
- The inventory document lists each connection, its IKE and ESP proposals, its authentication method and its certificate or key source.
- Each finding is tied to the strongSwan version, plugin set and swanctl.conf setting it was observed under, so it can be rechecked.
- We deliver the list of open questions for the vendor or project, such as ML-DSA status, which the public documentation does not settle.
How we support
- Engagements are fixed-scope, with the deliverables and timeline agreed in writing before the inventory work starts.
- Ongoing support, upgrades and re-inventory after a strongSwan release are available as a retainer.
- Quotes follow from the written scope, so ask for the inventory deliverables and the retest terms to be listed in the quote.

