Fix post-quantum VPN negotiation problems on FortiGate and FortiClient

If a FortiGate tunnel or FortiClient connection fails after post-quantum key exchange is turned on, check the IKE version, the matching ADDKE and PPK settings on both ends, and the FortiOS and FortiClient versions.

On this page

Why a FortiGate or FortiClient VPN tunnel fails after post-quantum key exchange is enabled

This failure appears on the FortiGate phase 1 or phase 2 interface, or in a FortiClient IKEv2 connection, once addke1 through addke7 or post-quantum preshared key (PPK) support is switched on. The firewall administrator owns the phase 1 and phase 2 settings on the FortiGate, and the EMS administrator owns the endpoint profile under Endpoint Profile > Remote Access that FortiClient applies. Both must act, because a tunnel only comes up when the two ends offer matching proposals. Confirm with your change record whether the tunnel is in production before you edit it, since changing one side alone is the most common cause of a failed negotiation. Treat it as urgent if the tunnel carries live traffic and the change was made without a rollback plan.

The three symptoms the Fortinet sources describe are a CLI rejection, a tunnel that does not come up, and a proposal mismatch. The first appears when you run set addke1 on a phase 1 interface whose IKE version is not 2, and the community article reports the error command parse error before 'addke1' with Command fail. Return code -61. The cause is that the option is available only with IKE version 2, so the fix is to set ike-version 2 on that tunnel before setting addke1. A tunnel that does not come up, or a proposal that does not match, usually means the FortiGate and FortiClient sides offer different ADDKE transform types, groups or PPK modes. Check that the group IDs match, for example 35 for ML-KEM-512 or 37 for ML-KEM-1024.

Whether the tunnel stays encrypted when negotiation fails depends on the policy you set. If the tunnel is down, no traffic crosses it, so the first risk is an outage rather than exposure. Verify the state with diagnose vpn ike gateway list, and look for PQC-KEM (IKE): yes and PQC-KEM (all IPsec): yes, or for PPK: yes if you enabled PPK. Start PPK with set ppk allow and move to require only after every device is upgraded, since FortiClient needs version 8.0 or later for PPK on FortiClient-to-FortiGate tunnels. Confirm the exact versions your devices run against the Fortinet release notes before you change any setting.

Who has to act on the FortiGate and on the FortiClient side

A post-quantum IKEv2 tunnel to a FortiClient user only negotiates when the FortiGate and the FortiClient profile carry matching proposals. Three roles hold the pieces: the FortiGate administrator, the FortiClient EMS administrator and the end user, who can only report the failure. Work through the cards in that order so each side is checked against the other.

FortiGate administrator

The FortiGate administrator owns the tunnel definition. Under phase1-interface, confirm that ike-version is set to 2, since the addke options are not available on IKEv1, and set addke1 through addke7 as needed, with up to three KE groups per round. Phase 2 takes its own addke values under phase2-interface. In the GUI, go to VPN > VPN Tunnels, edit the tunnel, and click Create new under Post Quantum Cryptography Additional Key Exchanges. Keep the proposals aligned with what the endpoints offer, because a mismatch on either side ends the negotiation.

FortiOS PQC guide

Matching proposals on both peers

Both peers must carry matching proposals. A FortiGate tunnel with addke1 set to ML-KEM-512 will not complete against a FortiClient profile that only offers ML-KEM-1024, because the key exchange has no shared group to agree on. The FortiGate example logs for each phase should line up with the FortiClient transform IDs. Check each phase separately, since phase 1 and phase 2 have their own proposal lists. A change on one side is incomplete until the other side is updated to match.

FortiClient EMS administrator

The EMS administrator controls the client profile. In FortiClient EMS, open Endpoint Profile > Remote Access and set the IKEv2 IPsec VPN tunnel to carry the same ADDKE transform types and groups as the FortiGate. FortiClient 8.0.1 supports PQC in IKEv2 tunnels, with up to seven transform types and up to three groups per round, chosen from ML-KEM-512, ML-KEM-768 and ML-KEM-1024. Confirm the profile is pushed to the endpoints, because a profile that is saved in EMS but not synced leaves the client on the old settings.

FortiClient PQC support

Pre-shared key settings on both sides

If the tunnel uses a post-quantum pre-shared key, both peers must enable it in a compatible way. On FortiGate, ppk is set to disable, allow or require under phase1-interface, with ppk-secret and ppk-identity configured. In the FortiClient XML, ppk_mode takes 0 for disable (the default), 1 for allow or 2 for require. Fortinet's guidance is to start with allow and move to require after all devices are upgraded. PPK on FortiClient-to-FortiGate tunnels needs FortiClient 8.0 or later, and FortiClient stopped supporting IKEv1 in 7.4.4.

FortiOS PPK support

Verifying the negotiation on the FortiGate

After any change, the FortiGate administrator should confirm the result. Run diagnose vpn ike gateway list and look for PQC-KEM (IKE): yes and PQC-KEM (all IPsec): yes. If PPK is in use, check for PPK: yes. For a detailed trace, enable diagnose debug application ike -1 and look for type=ADDKE1, val=ML-KEM-512, KEM decapsulate okay and ADDKE negotiated. Compare the transform IDs in the log with those in the FortiClient example logs. A matching ID set confirms the two peers agreed on the same groups.

End user reports the failure

The end user cannot change tunnel settings, so their role is to report the failure accurately. Record the FortiClient version, the time of the attempt, the name of the tunnel and the exact error text shown in the client. Send that report to the EMS or network administrator rather than trying to edit the profile on the endpoint. A user who sees the tunnel fail right after a profile change should say so, since that timing points the administrator to a proposal mismatch.

How to check which key exchange was negotiated and which versions run

This sequence confirms from the FortiGate CLI that the post-quantum additional key exchange actually negotiated on the tunnel, and records the IKE version and FortiOS and FortiClient versions on each end so a failure can be matched to the right configuration. Run it on both peers before changing anything, so you have a baseline to compare against.

  1. Record the FortiOS and FortiClient versions

    Before reading tunnel state, record the FortiOS version on each FortiGate peer and the FortiClient version on each endpoint that connects to it. Post-quantum key exchange on FortiGate is documented in the FortiOS 7.6.5 and 8.0.2 Administration Guides, and FortiClient 8.0.1 is the release whose new-features page describes PQC support in IKEv2 IPsec tunnels, so a version below those documented releases should be noted as a possible cause. Confirm the FortiOS version from the GUI dashboard or with get system status, and the FortiClient version from its About page. The check is done when you have one version recorded for every device in the tunnel path.

  2. Check the IKE version in phase 1

    Open the phase 1 configuration for the tunnel with show vpn ipsec phase1-interface and confirm the ike-version value is 2. The FortiGate CLI rejects set addke1 when the IKE version is not 2, so a tunnel still on IKEv1 cannot carry the additional key exchange at all. In the Fortinet community tip for FortiGate v7.6.1, the failure appears as a parse error before 'addke1' with return code -61. If the value is 1, change it to 2 with set ike-version 2 under the tunnel's phase 1 interface, then recheck. The step is complete when the configuration shows ike-version 2 on both peers.

  3. Confirm the gateway reports post-quantum key exchange

    Run diagnose vpn ike gateway list on the FortiGate and find the entry for the tunnel. Look for PQC-KEM (IKE): yes and PQC-KEM (all IPsec): yes. These two lines show that the post-quantum key exchange is active on the IKE SA and across the IPsec SAs. If either line reads no, the additional key exchange did not negotiate, so return to the phase 1 and phase 2 addke1 settings and check that both peers propose the same transform. The check is done when both lines read yes for the tunnel you are testing.

  4. Turn on IKE debug output

    If the gateway list does not settle the question, enable IKE debugging. Run diagnose debug enable and then diagnose debug application ike -1, and make the tunnel negotiate again by disconnecting and reconnecting the client or bringing the tunnel down and up. Keep the debug output limited to the period of the test, because it is verbose on a busy device. Turn it off afterward with diagnose debug disable. The step is ready when the output appears in the console or log for the connection attempt you are checking.

  5. Read the ADDKE lines in the debug output

    In the debug output, look for type=ADDKE1, val=ML-KEM-512 (or the ML-KEM group you configured), followed by KEM decapsulate okay and ADDKE negotiated. Together these show that the additional key exchange was proposed, the shared secret was decapsulated, and the exchange completed. The value on the ADDKE line should match the group you set with set addke1. If you see the ADDKE line but not KEM decapsulate okay or ADDKE negotiated, the exchange started but did not finish, so compare the proposal on both peers. If no ADDKE line appears at all, the additional key exchange was not offered, so return to the configuration. Disable debugging with diagnose debug disable once the lines are recorded.

  6. Compare the result on the client side

    Check the same tunnel from the FortiClient side. In the FortiClient logs for the connection attempt, look for the ADDKE transform entries and confirm their type and id match the FortiGate proposal for the phase. The FortiClient 8.0.1 example logs show type 6 with id 35 for ML-KEM-512 and id 37 for ML-KEM-1024, so the ids should line up with what you set on the gateway. Note any mismatch in the ids or transform types. The check is complete when the client and gateway agree on the ADDKE transforms for each phase, or when you have recorded the difference that needs fixing.

Which causes produce the parse error, the mismatch and the PPK failure

This table pairs each cause we see behind the addke1 parse error, the ADDKE mismatch and the PPK failure with the setting that fixes it. Read each row by matching the error or symptom you see to the cause, then apply the fix on the side named in the row. Check the fix on both the FortiGate and the FortiClient before you retest the tunnel.

CauseSymptomFix
IKE version 1 blocking addke1set addke1 fails with command parse error before 'addke1' and return code -61Run set ike-version 2 under config vpn ipsec phase1-interface for the tunnel, then set addke1
Mismatched ADDKE groups between FortiGate and FortiClientTunnel does not come up after PQC is enabled, and the proposals differ by transform type or idMatch the transform type and ids on both sides, such as id 35 for ML-KEM-512 and id 37 for ML-KEM-1024
FortiClient older than 8.0 used for PPK on FortiClient-to-FortiGate tunnelsPPK does not negotiate on a FortiClient-to-FortiGate tunnelUpgrade FortiClient to 8.0 or later, then confirm PPK shows as yes in diagnose vpn ike gateway list
FortiClient older than 7.4.4 used with IKEv1The client cannot negotiate the tunnel because IKEv1 is no longer supportedUpgrade FortiClient to 7.4.4 or later and set the tunnel to IKEv2
PPK enabled on one side onlyPPK fails to negotiate because only one peer offers or requires itSet ppk on the FortiGate phase1-interface and the matching ppk_mode in FortiClient, starting with allow and moving to require after all devices are upgraded

What to change on FortiGate and FortiClient, in order

Apply the post-quantum key exchange settings to the FortiGate phase 1 and phase 2 interfaces first, then match them in FortiClient EMS, and add the pre-shared key option last. Each step ends with a check that shows the tunnel negotiated the extra key exchanges.

  1. Set IKE version 2 on the phase 1 interface

    On each FortiGate peer, open the phase 1 interface for the tunnel in the CLI and run set ike-version 2 and set transport auto. Post-quantum additional key exchanges are only available with IKE version 2, and the Fortinet community article reports that setting addke1 under IKEv1 fails with a command parse error and return code -61. This step is done when the phase 1 interface shows IKE version 2 and the next command is accepted without an error.

  2. Add ADDKE groups to phase 1

    Under the same phase 1 interface, set the additional key exchanges as the FortiOS 8.0.2 site-to-site example does: set addke1 35 36 37 and set addke2 1083. Also set set childless-ike enable where your peers need it, since that option exists only in phase 1. Use the ML-KEM IDs (35, 36, 37) for the standardized groups and confirm with your vendor or the product documentation before enabling the non-standardized IDs. This step is done when the commands are accepted and the configuration shows the new values.

  3. Add ADDKE group to phase 2

    Under the matching phase 2 interface on both FortiGate peers, run set addke1 1090, as the guide's site-to-site example does. Phase 2 does not offer childless-ike, so do not add that setting here. Confirm that the phase 2 values match the peer you are connecting to, because a mismatch will prevent the child SA from negotiating. This step is done when both peers show the same phase 2 proposal.

  4. Match ADDKE transform types in FortiClient EMS

    In FortiClient EMS, go to Endpoint Profile > Remote Access and configure the IKEv2 IPsec tunnel. For each round, set the ADDKE transform type and the matching transform IDs (35 for ML-KEM-512, 36 for ML-KEM-768, 37 for ML-KEM-1024), up to three options per round, as shown in the FortiClient 8.0.1 XML reference. The FortiClient 8.0.1 example logs pair type 6 with ID 35 and ID 37, so compare those against the FortiGate proposal for each phase. This step is done when the profile lists the same transform types and IDs as the FortiGate phase 1 and phase 2 settings.

  5. Enable pre-shared key with allow first

    If the tunnel uses post-quantum pre-shared keys, set set ppk allow on the FortiGate phase 1 interface, then configure set ppk-secret and set ppk-identity. In FortiClient EMS, set the PPK mode to allow, which is the 1 value in the FortiClient 8.0.1 XML reference. PPK requires IKEv2, and FortiClient needs version 8.0 or later for PPK on FortiClient-to-FortiGate tunnels. This step is done when diagnose vpn ike gateway list shows PPK: yes for the tunnel.

  6. Move PPK to require after upgrades

    Change set ppk allow to set ppk require only after every FortiGate, FortiClient and peer device you connect to runs a version that supports PPK. Fortinet suggests starting with allow and moving to require once all devices are upgraded, because require will block connections from older clients. Confirm the version of each device against the product documentation before changing the setting. This step is done when all peers connect with PPK required and no client falls back to a connection without PPK.

  7. Reload the change and verify negotiation

    Apply the changes to the FortiGate tunnel and reconnect the FortiClient session, then run diagnose vpn ike gateway list and confirm PQC-KEM (IKE): yes and PQC-KEM (all IPsec): yes. If the summary does not show these lines, run diagnose debug enable with diagnose debug application ike -1 and look for type=ADDKE1, val=ML-KEM-512, KEM decapsulate okay and ADDKE negotiated. These settings come from the FortiOS 8.0.2 Administration Guide and the FortiClient 8.0.1 XML reference, so check those documents if the output differs. This step is done when the gateway summary confirms post-quantum negotiation for both IKE and IPsec.

How the change differs for a site-to-site tunnel, a client tunnel and a PPK rollout

A FortiGate to FortiGate tunnel needs the same post-quantum key exchange configured on both peers, because each side must propose and accept the same groups. The additional key exchanges are set in two places: under config vpn ipsec phase1-interface for the IKE SA, and under config vpn ipsec phase2-interface for the child SAs. Phase 1 also offers set childless-ike enable, which phase 2 does not have. The Fortinet FortiOS 8.0.2 guide's site-to-site example uses set addke1 35 36 37 and set addke2 1083 in phase 1 and set addke1 1090 in phase 2 on both peers.

  • Phase 1 IKE version: Set ike-version 2 on the tunnel. The Fortinet community article reports that set addke1 fails with a parse error on IKEv1.
  • Phase 1 key exchanges: Set addke1 through addke7 with up to three groups each, and confirm the group values match on both peers.
  • Phase 2 key exchanges: Configure addke1 under phase2-interface on both FortiGates with the same values.
  • Childless IKE: Enable childless-ike only in phase 1, since phase 2 does not offer it.
  • GUI path: Go to VPN > VPN Tunnels, edit the tunnel, and use Create new under Post Quantum Cryptography Additional Key Exchanges, then repeat under Phase 2 selectors.

After changing both peers, check that diagnose vpn ike gateway list shows PQC-KEM (IKE): yes and PQC-KEM (all IPsec): yes.

How to confirm the tunnel negotiates ADDKE after the fix

After you change addke1 or addke2, or set ike-version 2 on the phase 1 interface, check that the tunnel actually negotiates the additional key exchange. Start on the FortiGate by running diagnose vpn ike gateway list and reading the output for the tunnel. You want to see PQC-KEM (IKE): yes and PQC-KEM (all IPsec): yes. If you use a preshared key, also confirm that PPK: yes appears, since that line only shows when PPK is in use. If either PQC line still reads no, the fix has not taken effect, so recheck the phase 1 and phase 2 settings before going further. Then reconnect the FortiClient, since an existing session will keep its old proposal until it renegotiates.

For a more detailed check, enable debugging with diagnose debug enable and diagnose debug application ike -1, reconnect the client, and look for lines such as type=ADDKE1, val=ML-KEM-512, KEM decapsulate okay, and ADDKE negotiated. On the FortiClient side, the logs should show the ADDKE transforms as type 6 with id 35 for ML-KEM-512 or id 37 for ML-KEM-1024, matching the proposal configured on the FortiGate for that phase. If the client logs show a different id, or no ADDKE transform at all, the two ends are not offering the same groups, and the client profile in FortiClient EMS should be compared with the gateway settings. Turn debugging off with diagnose debug disable once you have the output, since the IKE debug level generates a lot of data on a busy gateway.

Afterward, watch for rekey events, because the additional key exchanges are carried again in IKE_FOLLOWUP_KE when the IKE SA is rekeyed or child SAs are created. A tunnel that connects but later drops or fails on rekey may have a mismatch that only shows during that exchange, so rerun the same diagnose vpn ike gateway list check after the first rekey window and keep the debug output from a session that stayed up. The exact rekey interval depends on your phase 1 and phase 2 lifetime settings, so confirm those values in your own configuration. If you are rolling out PPK, Fortinet suggests starting with allow and moving to require only after every device is upgraded, so keep the PPK check in your post-fix review until that move is complete.

What can break after the change

Most failed FortiGate and FortiClient tunnels after post-quantum key exchange is enabled trace back to a short list of causes: client versions that cannot negotiate the new proposal, peers still on IKEv1, mismatched PPK settings, and changes made outside the GUI. Check each one before changing the proposal itself, because several of them produce errors that look identical.

Older FortiClient versions

FortiClient needs a release that supports PQC in IKEv2 IPsec tunnels before it can negotiate ADDKE transforms with ML-KEM groups. Clients on older builds will not offer the new proposal, so the tunnel fails during initial SA setup. Check the installed FortiClient version on each endpoint against the FortiClient 8.0.1 release notes, and confirm the EMS endpoint profile is pushing the updated remote access settings to the affected group.

FortiClient PQC support

Peers still on IKEv1

The additional key exchange options are only available with IKE version 2. On FortiGate, setting addke1 under a phase 1 interface configured for IKEv1 fails with a command parse error, and the tunnel cannot be built with the proposal. Confirm that set ike-version 2 is set on each tunnel that carries PQC, and that the remote peer is also running IKEv2. FortiClient stopped supporting IKEv1 in 7.4.4, so IKEv1 clients cannot connect at all.

Fortinet addke1 tip

Mismatched PPK settings

Post-quantum preshared keys need IKEv2, and FortiClient-to-FortiGate PPK requires FortiClient 8.0 or later. The PPK mode on FortiClient (<ppk_mode> set to disable, allow or require) must agree with the set ppk value on the FortiGate phase 1 interface, and the secret and identity must match on both ends. Confirm with diagnose vpn ike gateway list that PPK: yes appears on both sides. Fortinet suggests starting with allow and moving to require only after all devices are upgraded.

PPK support guide

Pinned configurations and proposal mismatch

A tunnel whose phase 1 or phase 2 proposal was pinned to a fixed set of ADDKE transforms will not match a peer that now offers a different order or count of groups. Compare the addke1 through addke7 values on each phase against the FortiClient XML <tran_ids> values and the FortiGate proposal. FortiClient logs show transform type 6 with id 35 for ML-KEM-512 and id 37 for ML-KEM-1024, and both sides must list matching groups for each phase.

FortiClient XML IKE settings

Scripted and template-driven changes

Scripts and configuration templates that set addke1 or PPK values across many tunnels can apply the change to a peer that cannot negotiate it. Review each script's target list before running it, and confirm the phase 1 ike-version on every device it touches. Record the exact commands applied per tunnel so a rollback can restore the previous proposal if a single peer stops negotiating.

Compliance and FIPS-style review

Where the configuration falls under a compliance or FIPS-style review, the chosen key exchange groups, PPK mode and IKE version must be written down with the tunnel they apply to. Keep a record of which FortiOS and FortiClient versions were tested, and capture the verification output from diagnose vpn ike gateway list and the debug lines that show ADDKE negotiated. Ask your assessor which format they expect before the change window opens.

When to get help with a FortiGate or FortiClient post-quantum rollout

Bring in outside help when the change is blocked by something outside your own configuration. The most common blocker is firmware: the post-quantum settings in this guide need a FortiOS release that supports them, and the FortiOS 8.0.2 guide and the FortiClient 8.0.1 documentation describe the feature only for those releases and later. If a FortiGate is on an older version that you cannot upgrade, or a FortiClient fleet cannot move to 8.0.1 or later, the tunnel will not negotiate the new groups no matter what you change in phase 1 or phase 2. Record the exact versions on each device before you plan any work, because the answer to whether you can upgrade often depends on a change window, an approved firmware baseline or a vendor support contract that the administrator does not control.

Second, get help when the peer belongs to someone else. A post-quantum site-to-site tunnel needs matching addke1 and addke2 proposals on both FortiGate peers, and a remote-access tunnel needs FortiClient and EMS settings that match the gateway. If the other side is a partner, a cloud provider or a business unit that runs its own firewall, you cannot verify its proposal from your side, and a mismatch will look like a plain negotiation failure. Agree the group list, the IKE version and any PPK mode in writing with the peer's administrator before changing anything. When many endpoints fail at once, treat that as a fleet-level problem: stop the rollout, collect the failing diagnose vpn ike gateway list output and debug lines from a few devices, and check whether a shared EMS profile or a single FortiGate change caused the failures before touching individual clients.

Third, bring in help when a regulated environment needs evidence. If an auditor or a federal or financial customer will ask for proof of the configuration change, you need more than a working tunnel. Keep the before and after configuration exports, the EMS profile versions, the version numbers of every FortiGate and FortiClient, and the PQC-KEM and ADDKE negotiated log lines that show the change took effect. Confirm with your compliance and audit teams which evidence they require and how long it must be kept. DeployOpen can plan and carry out the rollout inside your environment and prepare the configuration records. Independent auditors and certification bodies decide whether those records meet a given requirement.

Which questions administrators ask after a FortiGate or FortiClient PQC failure

Is the VPN tunnel still encrypted when a post-quantum negotiation fails?

A failed post-quantum exchange does not, by itself, mean traffic is sent in the clear. The failure happens during IKE negotiation, so the tunnel either comes up with the parameters both peers agreed on or does not come up at all. Confirm this in your own environment: check whether the tunnel establishes, what the IKE SA shows, and whether any fallback proposal is configured. The sources on this page do not describe a fallback behavior for every FortiGate and FortiClient version, so verify the exact behavior of your release in the Fortinet Administration Guide for your FortiOS version before relying on it.

Is a post-quantum negotiation failure urgent to fix?

The urgency depends on whether the tunnel is down or only logging a warning. If users cannot connect, the failure is an availability problem and needs prompt attention. If the tunnel is up and the message is informational, you have more time to plan the change. In either case, the work is a configuration task: match the addke proposals on both peers, make sure the IKE version is 2, and verify with diagnose vpn ike gateway list. Fortinet's documentation shows the ADDKE settings and the verification steps, so start there and plan your change window around your own risk tolerance.

Can we silence the post-quantum warning instead of fixing it?

You can treat silencing a message as a short-term measure only, placed alongside the real fix and never as a replacement for it. Silencing a warning removes the symptom while leaving the mismatch in place, so the tunnel still has the problem and the next upgrade may surface it again. The durable fix is to align the configuration: set ike-version 2 in the phase 1 interface, then configure matching addke1 options on both FortiGate peers and the FortiClient EMS profile. Document any temporary suppression with a removal date, and confirm the fix with diagnose vpn ike gateway list, which should show PQC-KEM (IKE): yes.

What should we do if we cannot upgrade FortiClient?

The sources say that FortiClient 8.0.1 is the release that documents PQC support for IKEv2 IPsec tunnels, configured through FortiClient EMS under Endpoint Profile > Remote Access. The sources also say that FortiClient stopped supporting IKEv1 in 7.4.4, and that PPK on FortiClient-to-FortiGate tunnels requires FortiClient 8.0 or later. If your clients run an older release, post-quantum key exchange through those clients may not be available, so confirm your client versions first. Check the Fortinet release notes for your specific FortiClient build before planning a rollout, and do not assume an older client will negotiate the new transforms.

Do we need outside help to fix a FortiGate PQC negotiation problem?

Many administrators can make the change themselves, since the core work is matching settings on each peer and checking the result with the documented diagnose commands. Outside help becomes more useful when you have several FortiGate peers, mixed FortiClient versions, or a phased rollout that must keep existing tunnels working. DeployOpen plans and implements self-hosted platforms inside the client's own infrastructure and can work through the configuration, testing and documentation for a fixed scope agreed in writing before work starts. Whether you need that depends on your environment, and a quote follows from the written scope.

Which settings must match on both sides of the tunnel?

The main settings to compare are the IKE version, the ADDKE transform types, and the KE group IDs on each side. On FortiGate, ike-version 2 is required for set addke1 to accept the option, and the sources report a parse error with return code -61 when the IKE version is not 2. On FortiClient, the EMS profile lists transform types 1 through 7 and group IDs 35 (ML-KEM-512), 36 (ML-KEM-768) and 37 (ML-KEM-1024). Compare these values with your FortiGate proposal for each phase, and check the example logs in the Fortinet FortiClient documentation to confirm the transforms match.

How do we check that post-quantum key exchange is working?

Run diagnose vpn ike gateway list on the FortiGate and look for PQC-KEM (IKE): yes and PQC-KEM (all IPsec): yes. For more detail, enable diagnose debug application ike -1 and look for lines such as type=ADDKE1, val=ML-KEM-512, KEM decapsulate okay and ADDKE negotiated. If you use preshared keys, the same output should show PPK: yes, and the Fortinet PPK page suggests starting with allow and moving to require once every device is upgraded. Turn debugging off when you finish, since verbose IKE output can be noisy on a production firewall.

How DeployOpen helps plan, configure and document a FortiGate and FortiClient rollout

DeployOpen works through the FortiGate and FortiClient side of post-quantum VPN negotiation as a fixed-scope engagement: reviewing the current IKEv2 settings, deciding which additional key exchanges to enable on each tunnel, and testing the result before anything is handed over. Each step is written down so your network and remote-access teams can check the configuration and repeat it.

How we scope

  • Inventory every IPsec tunnel and FortiClient profile that uses IKEv2, and record the FortiOS and FortiClient versions in use.
  • Confirm which clients and peers are on FortiClient 8.0 or later, since PPK on FortiClient-to-FortiGate tunnels depends on it.
  • Agree the written scope, deliverables and timeline with you before work starts. Ongoing support can be added as a retainer.

How we build

  • Set ike-version 2 on affected phase 1 interfaces and add the agreed addke1 and addke2 groups, following the FortiOS 8.0.2 administration guide.
  • Match the phase 2 addke groups on both FortiGate peers and the FortiClient ADDKE settings in EMS so the proposals agree.
  • Test negotiation with diagnose vpn ike gateway list and debug output, and confirm PQC-KEM (IKE): yes on each tunnel before rollout.

How we hand over

  • Deliver a configuration record for each tunnel and client profile, listing the groups enabled and the settings changed.
  • Document the verification steps and the expected diagnose output so your administrators can repeat the checks later.
  • Walk your team through the rollback path, including returning a tunnel to its previous settings if a client cannot connect.

How we support

  • Plan the move from allow to require for PPK with your team, starting only once all devices are upgraded.
  • Retest tunnels after FortiOS or FortiClient upgrades, since supported key exchange groups and defaults can change between releases.
  • Offer ongoing support and periodic retesting as a retainer, with scope and timing agreed in writing.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.