Why OpenVPN or WireGuard connections fail after post-quantum key exchange is enabled
This failure usually means one end cannot negotiate the post-quantum group that the other end offers or requires. Two parties hold the fix: the server operator decides which key exchange groups the server accepts, and each client user runs software that either supports the group or does not. The OpenVPN Access Server tutorial on post-quantum cryptography shows the pattern clearly. With OpenSSL 3.5 or newer, the default post-quantum group is X25519MLKEM768, and a server and client that both support it can agree on it without any group being forced. When the two sides lack a common group, the handshake fails rather than falling back silently. Check the server's tls-groups setting first, then the client software version.
Whether the tunnel stays encrypted depends on the server's configuration. A connection is refused, not downgraded, when the server restricts itself to a post-quantum group only. The tutorial describes the error OpenSSL: error:0A000065:SSL routines::no suitable key share:, which appears for a client without support that connects to a server requiring only a post-quantum group, and it names OpenVPN Connect v3 users as an example of clients blocked this way. Because the connection is refused, no traffic flows in the clear, so the urgency is operational: affected users lose access until the mismatch is resolved. If the server allows several groups, a client without post-quantum support can still negotiate a classical group, so the failure is not a security exposure but an availability problem.
The fix for mixed client bases is to list both groups on the server, using tls-groups "X25519MLKEM768:X25519" in the Access Server Web UI under Advanced, OpenVPN Directives, Server config directives, followed by Save and Restart. Confirm the result by running grep "key agreement" /var/log/openvpnas.log as root and checking for key agreement: X25519MLKEM768, then looking for the same text in the client log. The tutorial also notes that changes take effect only after a restart and should be tested outside production first. For OpenVPN 2 on Linux, the client profile needs tls-groups "X25519MLKEM768", while OpenVPN GUI for Windows and Tunnelblick do not need that line. Check the OpenVPN Access Server post-quantum tutorial for the exact procedure on your release, and confirm client versions against the tutorial's list.
Who has to act on an OpenVPN or WireGuard connection failure
A failed OpenVPN or WireGuard connection after post-quantum key exchange is turned on usually traces back to one of three places: the server, the client profile, or a hosted or appliance platform that does not expose the setting. The cards below separate what each party controls, so the right person makes the change and confirms it.
Server operators control the tls-groups directive
On an OpenVPN Access Server, the operator sets the tls-groups directive, which limits which key exchange groups the server will accept. Setting tls-groups "X25519MLKEM768" alone allows only that group, so clients without support fail with a no suitable key share error. The mixed-client fix is tls-groups "X25519MLKEM768:X25519", applied in the Access Server Web UI under Advanced, OpenVPN Directives, then Save and Restart. Changes take effect only after a restart, so test outside production first.
Access Server PQC tutorialOperators confirm the negotiated group in logs
After a restart, the operator checks the negotiated group rather than assuming it. Running grep "key agreement" /var/log/openvpnas.log as root should show key agreement: X25519MLKEM768 for a supporting client. The same text should appear in the client log. Where a log shows a peer temporary key of 768 bits next to a different key agreement value, the key agreement field is the one that decides the outcome.
Access Server PQC tutorialClient users set tls-groups in OpenVPN 2 profiles
On OpenVPN 2 for Linux, the client profile needs the line tls-groups "X25519MLKEM768" so the client requests the post-quantum group. The line is not needed for OpenVPN GUI for Windows or Tunnelblick. Users should also confirm their client version meets the minimum for their platform, such as OpenVPN Connect for macOS 3.9.0 or newer, since older builds cannot negotiate the group and may fail the handshake.
Access Server PQC tutorialWireGuard has no tls-groups equivalent
WireGuard uses Curve25519 and a fixed Noise construction, so there is no tls-groups setting to change. Post-quantum protection depends on the optional PresharedKey in a [Peer] section, generated with wg genpsk and shared between both peers. If the key is omitted, an all-zero value is assumed. Adding a layer such as Rosenpass is a separate deployment decision, and its tool runs as root and manages a single interface.
WireGuard protocol pageHosted and appliance administrators check their limits
Administrators of hosted or appliance VPN services may not be able to edit server directives or PresharedKey values directly. They should ask the vendor whether tls-groups or equivalent settings are exposed, which client versions are supported, and whether a restart is required. The sources listed on this page do not cover every hosted offering, so confirm each setting in the vendor's documentation before a change window.
How to check which key agreement OpenVPN negotiated
These steps show which key agreement group the OpenVPN Access Server and its clients actually negotiated, and for WireGuard whether an optional pre-shared key is in use. Each check gives you a field or output to compare against what you expect, so you can confirm the tunnel is using post-quantum key exchange before you change anything.
Confirm the server OpenSSL version
On the Access Server host, check the OpenSSL version with openssl version. The OpenVPN Access Server post-quantum tutorial lists OpenSSL 3.5 or newer as the prerequisite, because the default post-quantum group X25519MLKEM768 depends on it. If the version is older, the server cannot offer that group, so the later log checks will not show it. Confirm the distribution is one the tutorial lists, such as Ubuntu 26.04 LTS, Debian 13, RHEL 9 and compatibles, or RHEL 10 and compatibles, and verify the current list in the Access Server documentation.
List available groups with tls-groups options
Use the OpenVPN 2.7 manual's standalone options to list what the local build supports. Run openvpn --show-groups to see every elliptic curve and group usable with --ecdh-curve and tls-groups, and openvpn --show-tls to see the TLS ciphers the crypto library provides. Check that X25519MLKEM768 appears in the group list. If it does not, the build's crypto library does not support the group, and you should confirm this against the Access Server documentation before going further. The OpenVPN 2.7 manual notes that --tls-groups affects the TLS 1.3 key exchange, so an incorrect value can disable TLS 1.3.
Search the Access Server log for key agreement
On the Access Server, open a root shell and run grep "key agreement" /var/log/openvpnas.log. Read the line for each connection. The tutorial says to confirm the line contains key agreement: X25519MLKEM768, or the group you configured in tls-groups. The example log in the tutorial also shows Control Channel: TLSv1.3 with cipher TLS_AES_256_GCM_SHA384, which you can use as a second signal that TLS 1.3 was negotiated. If the line shows a classical group such as X25519, the post-quantum group was not chosen for that session, and you should check the client and the server tls-groups setting.
Read the matching client log entry
On the client, find the same key agreement text in the client's log. The location depends on the client: OpenVPN Connect and OpenVPN 2 on Linux expose their own logs, and the tutorial says to look for the same text there. Confirm the client reports the same group as the server line. For OpenVPN 2 on Linux, the tutorial says the client profile needs tls-groups "X25519MLKEM768" so the client requests the post-quantum group, and that line is not needed for OpenVPN GUI for Windows or Tunnelblick. A mismatch between the two logs usually points to a client that did not request the group, or a server that restricted the list.
Use the key agreement field as the deciding value
Treat the key agreement field as the value that decides which group was negotiated. The tutorial's SecP256r1MLKEM768 example log also shows peer temporary key: 768 bits X25519MLKEM768 next to key agreement: SecP256r1MLKEM768, so the peer temporary key line alone can be misleading. Record the key agreement value from both the server and the client for each connection you test, so you can compare them across client types. In FIPS mode, the tutorial lists SecP256r1MLKEM768 and SecP384r1MLKEM1024 as the supported post-quantum groups, and requires the same tls-groups value on server and client.
Check WireGuard for a pre-shared key
On a WireGuard host, run wg show preshared-keys to list the PresharedKey value for each peer, as defined in the wg man page. The PresharedKey setting is optional and may be omitted, so an empty or missing entry means no pre-shared key is in use. The WireGuard protocol page says an unused pre-shared key is treated as an all-zero 32-byte value. Compare the output between the two peers, because a pre-shared key must match on both ends to be used. Note that a pre-shared key is an extra layer of symmetric key material and is separate from any post-quantum key agreement you configure elsewhere.
Record results and confirm with the vendor
Save the output of each check with the date, the server and client versions, and the exact key agreement value for each connection. This record shows whether the tunnel negotiated the group you intended, and it gives you a baseline before any change. If the logs do not show the expected group and you cannot find the cause in the documentation, ask the OpenVPN support channel or your Access Server vendor contact to confirm which groups your build and client versions support. Make any tls-groups change outside production first, because the tutorial says changes take effect only after a restart.
How the fix differs by OpenVPN client platform and deployment
The Access Server tutorial says that with OpenSSL 3.5 or newer the default post-quantum group is X25519MLKEM768, and a server and client that both support it can negotiate it without forcing any group. Access Server on Linux with OpenSSL 3.5 or newer is the server prerequisite, and the tutorial names Ubuntu 26.04 LTS, Debian 13, RHEL 9 and compatibles, and RHEL 10 and compatibles, noting the list only as of the time of writing.
- Restricting the group: Setting
tls-groups "X25519MLKEM768"on the server allows only that group, which causes clients without support to fail withno suitable key share. - Mixed client base: Use
tls-groups "X25519MLKEM768:X25519"in the Web UI under Advanced, OpenVPN Directives, Server config directives, then Save and Restart. - Command-line form: Run
sacli --key "vpn.server.config_text" --value "tls-groups \"X25519MLKEM768:X25519\"" ConfigPut, thensacli start. - FIPS mode: The supported groups are SecP256r1MLKEM768 and SecP384r1MLKEM1024, and the same
tls-groupsvalue must be set on server and client. - Test first: Changes take effect only after a restart, and the tutorial says to test outside production first.
Check /var/log/openvpnas.log as root with grep "key agreement" and confirm the group named in the key agreement field.
OpenVPN 2 on Linux from distribution repositories supports the post-quantum group, but the client does not request it by default. The tutorial says the client profile needs the line tls-groups "X25519MLKEM768" so the client asks for the group during the handshake.
- Profile line: Add
tls-groups "X25519MLKEM768"to the client profile file that the client loads. - No line for GUI clients: The tutorial says this line is not needed for OpenVPN GUI for Windows or Tunnelblick.
- Version check: Confirm the installed build from the distribution package manager, since the tutorial does not name a minimum version for OpenVPN 2 on Linux.
- Manual reference: The OpenVPN 2.7 manual says
--tls-groupssets an ordered list of allowable groups, and its default list on OpenSSL 1.1 and later isX25519:secp256r1:X448:secp521r1:secp384r1. - Discovery: Run
openvpn --show-groupsto list the groups the local build supports.
After connecting, search the client log for X25519MLKEM768 in the key agreement line to confirm the group was used.
The OpenVPN GUI for Windows and Tunnelblick for macOS are listed in the tutorial as supporting post-quantum negotiation, and the tutorial says neither needs the tls-groups line in the client profile. Connections that fail on these clients usually come from the server side or from an out-of-date client, so the check starts with the server setting.
- Client needs no profile edit: The tutorial says the client profile change is not needed for OpenVPN GUI for Windows or Tunnelblick.
- Server setting decides: If the server allows only
X25519MLKEM768, a client without support fails withno suitable key share, so use the mixed settingX25519MLKEM768:X25519. - OpenVPN Connect on macOS: The tutorial names version 3.9.0 or newer as the minimum for OpenVPN Connect for macOS.
- Update the client: Confirm the installed build matches the version the tutorial names for the product in use.
- Log check: Look for the group named in the key agreement field of the client log.
The tutorial does not name a minimum version for OpenVPN GUI for Windows or Tunnelblick, so confirm it with the vendor or the release notes for the installed build.
The tutorial lists OpenVPN Connect for Android and OpenVPN Connect for iOS as supporting post-quantum negotiation, with minimum versions named in the same tutorial. Mobile users usually cannot edit a client profile, so the fix on these apps is mostly keeping the app updated and making sure the server allows a group the app supports.
- Android minimum: OpenVPN Connect for Android 3.7.2 or newer.
- iOS minimum: OpenVPN Connect for iOS 3.7.4 or newer.
- Server setting: Use
tls-groups "X25519MLKEM768:X25519"on the server so older app builds still connect. - Failure text: A client without support connecting to a server that requires only a post-quantum group shows
OpenSSL: error:0A000065:SSL routines::no suitable key share:. - Fleet check: For a managed fleet, ask the device management team to confirm the installed app version on each device.
The tutorial does not describe a profile setting for these apps, so confirm the supported options with the app's documentation before changing the server.
Causes of post-quantum negotiation failure and the fix for each
This table pairs each cause of a failed post-quantum negotiation on OpenVPN with the fix the OpenVPN Access Server tutorial gives for it. Read each row by matching the error or symptom you see to the cause, then apply the fix on the server or client named in that row. Check the key agreement field in the logs to confirm which group was negotiated after you change anything.
| Cause | What it looks like | Fix |
|---|---|---|
| Client without post-quantum support | Error "OpenSSL: error:0A000065:SSL routines::no suitable key share:" when the server allows only X25519MLKEM768 | Upgrade to OpenVPN Connect for macOS 3.9.0 or newer, Android 3.7.2 or newer, or iOS 3.7.4 or newer |
| Server tls-groups set to only X25519MLKEM768 | Clients without support are rejected because the server allows no other group | Set tls-groups "X25519MLKEM768:X25519" on the server to allow clients that lack support, then restart |
| OpenSSL older than 3.5 on the Access Server | Post-quantum group is not offered, so the default group is not X25519MLKEM768 | Move the server to a supported OS with OpenSSL 3.5 or newer, such as Ubuntu 26.04 LTS, Debian 13, or RHEL 9 or 10 and compatibles |
| Missing tls-groups line in OpenVPN 2 Linux client profile | OpenVPN 2 on Linux does not request the post-quantum group | Add tls-groups "X25519MLKEM768" to the client profile; this line is not needed for OpenVPN GUI for Windows or Tunnelblick |
| FIPS mode group mismatch | Server and client use different groups, so the handshake fails | Set the same tls-groups value on both sides, such as SecP256r1MLKEM768 with secp256r1; note OpenVPN 3 Linux cannot use these groups because of a known issue |
What to change first on the OpenVPN server and clients
The sequence confirms the server can offer the post-quantum group, sets a server directive that allows both post-quantum and classic clients to connect, and adds a matching client line only where OpenVPN 2 on Linux needs it. Each step ends with a check that shows whether the change took effect.
Confirm the server platform and OpenSSL version
Before changing anything, confirm that the Access Server runs on Linux with OpenSSL 3.5 or newer. The OpenVPN Access Server post-quantum tutorial lists Ubuntu 26.04 LTS, Debian 13, RHEL 9 and compatibles, and RHEL 10 and compatibles as supported platforms, and it notes that this list is current only as of the time of writing, so check the tutorial for the current list. Run the OpenSSL version command on the server host and confirm the reported version is 3.5 or newer. If the server runs an older OpenSSL, the post-quantum group will not be available, and the remaining steps will not produce a post-quantum handshake.
Open the server config directives in the Web UI
Sign in to the Access Server Web UI as an administrator and go to Advanced, then OpenVPN Directives, then Server config directives. This is where the server-side TLS group setting is entered. Do this on a test or staging server first, because the tutorial states that changes take effect only after a restart and should be tested outside production. You know this step is complete when the Server config directives text area is visible and shows the directives already in use.
Add the combined tls-groups directive
Add the directive tls-groups "X25519MLKEM768:X25519" to the server config directives. The tutorial explains that setting tls-groups X25519MLKEM768 alone allows only that group, which blocks clients without post-quantum support with the error no suitable key share. Listing X25519 as a fallback lets classic clients still connect. Do not remove any existing directives while editing this box. Check that the line appears exactly as written, with the quotes and the colon, before saving.
Save and restart the Access Server
Select Save and Restart so the directive takes effect. The tutorial notes that changes apply only after a restart, so a Save without a restart leaves the old negotiation in place. If you prefer the command line, run sacli --key "vpn.server.config_text" --value "tls-groups \"X25519MLKEM768:X25519\"" ConfigPut, then sacli start. Be careful with the escaped quotes in the value, because a mistake here will change the config text in a way that is hard to spot. You know the restart worked when the Access Server returns to a running state.
Add the tls-groups line to OpenVPN 2 Linux profiles
On each client that runs OpenVPN 2 on Linux, add the line tls-groups "X25519MLKEM768" to the client profile so the client requests the post-quantum group. The tutorial says this line is needed for OpenVPN 2 on Linux only. OpenVPN GUI for Windows and Tunnelblick do not need it, and OpenVPN Connect clients on macOS, Android and iOS, as well as OpenVPN 3 Linux, are also covered by the tutorial's client list. Reload or restart the client after editing the profile, then confirm the connection still establishes.
Check the negotiated key agreement in the server log
On the Access Server, run grep "key agreement" /var/log/openvpnas.log as root. The tutorial says the matching line should contain key agreement: X25519MLKEM768, which shows the post-quantum group was negotiated. Look for the same text in the client log to confirm the client side. The tutorial also shows Control Channel: TLSv1.3 and the cipher TLS_AES_256_GCM_SHA384 in its example, which you can compare against your own output. If the key agreement field shows the classic X25519 instead, the client did not request the post-quantum group, so recheck the client profile.
Test outside production before rollout
Repeat the server change and the client checks on a test server with representative clients before applying the same directive to production. Include at least one client that does not need the tls-groups line, such as OpenVPN GUI for Windows or Tunnelblick, and one that does, such as OpenVPN 2 on Linux, to confirm that both connect and that the key agreement field matches expectations. You know the test is complete when each client type shows the expected key agreement value in the logs and connects without the no suitable key share error.
Decision path from the error message to the fix on OpenVPN and WireGuard
The path starts when a client connection fails after post-quantum key exchange is enabled. The operator first checks whether the client supports X25519MLKEM768. If it does, the tunnel negotiates that group. If it does not, the operator checks whether the server tls-groups directive allows only the post-quantum group, and then either upgrades the client or adds X25519 to the server list. The last step is a restart followed by confirming the key agreement line in the log, since that field is the deciding value.
Decision path from a failed connection to a verified key agreement.
How WireGuard handles post-quantum protection and what to check
WireGuard does not negotiate a post-quantum algorithm the way OpenVPN does. Its protocol uses Curve25519 for ECDH within the construction Noise_IKpsk2_25519_ChaChaPoly_BLAKE2s, so the handshake's key agreement is classical. The protocol also allows an optional pre-shared key (PSK), which is mixed into the public key cryptography as an extra layer. When no PSK is in use, the protocol assumes an all-zero 32-byte value. Before you change anything, confirm on each peer whether a PSK is configured at all, because a tunnel with no PSK has no post-quantum layer of any kind, whatever the VPN client reports.
Adding a PSK by hand is done with wg genpsk, which generates a base64 key. That key goes in the PresharedKey field of the [Peer] section, and it must be identical on both ends of that peer pair. You can check what each side holds with wg show and its preshared-keys option, which displays the value so you can compare it. A static PSK adds a shared secret but does not, by itself, provide a post-quantum key exchange, so treat it as a separate control and document it as such. Confirm the key was copied to both peers and that the other peer's configuration was reloaded, since an edit on one side alone will leave the tunnel unable to complete its handshake.
Rosenpass is a separate project that adds a post-quantum layer on top of WireGuard. It is intended for WireGuard, uses Classic McEliece and Kyber, and feeds a symmetric key to WireGuard through its PSK feature. The project gives no production-readiness claim, so do not treat it as a validated production control. Its rp tool runs as root, needs access to both the WireGuard and Rosenpass private keys, takes control of the interface, and works with exactly one interface, so plan the privilege and key handling before deployment. A symbolic ProVerif analysis of the design exists, but a cryptographic proof is still being worked on, and the project's documentation should be read to see what has and has not been established.
What can break after changing OpenVPN or WireGuard post-quantum settings
Post-quantum settings change which clients can connect and how peers agree on keys, so a change that works on one side can lock out others. The cards below cover the failure points most often reported in the sources, starting with older clients and automation, then TLS and FIPS group rules, a known client issue, and WireGuard pre-shared key mismatches. Check each one before and after a change, and test outside production first.
Older clients and automation lose access
A server that requires only the post-quantum group will reject any client that does not support it, and the OpenVPN Access Server tutorial gives the resulting error as OpenSSL: error:0A000065:SSL routines::no suitable key share:. The tutorial names OpenVPN Connect v3 users as an example of clients blocked this way. Scripts, scheduled jobs and unattended connections often run older client builds that nobody updates by hand, so inventory them before tightening the server. The fix for mixed client bases is to allow both groups on the server, which the tutorial shows as tls-groups "X25519MLKEM768:X25519".
Access Server PQC tutorialTLS 1.3 disabled by improper tls-groups
The OpenVPN 2.7 manual warns that --tls-groups also affects the TLS 1.3 key exchange, and that using it improperly will disable TLS 1.3. Review any tls-groups line in a configuration file before deploying it, because a single misplaced group list can quietly downgrade the connection. After a change, confirm the negotiated protocol in the log rather than assuming TLS 1.3 is still in use. Treat any unexpected fallback as a configuration error to fix before the change goes further.
OpenVPN 2.7 manualFIPS mode needs matching groups
In FIPS mode the supported post-quantum groups are SecP256r1MLKEM768 and SecP384r1MLKEM1024, and the same tls-groups value must be set on both the server and the client. A server set to SecP256r1MLKEM768:secp256r1 will not negotiate with a client that holds a different list, so verify the value on each side separately. Confirm that the groups you choose are permitted under your own FIPS policy before deploying, since the tutorial does not establish that for every environment.
Access Server PQC tutorialOpenVPN 3 Linux known issue
The tutorial states that OpenVPN 3 Linux currently cannot use either of the FIPS post-quantum groups, SecP256r1MLKEM768 or SecP384r1MLKEM1024, because of a known issue. Linux users on OpenVPN 3 in a FIPS environment will therefore fail to connect after the server is switched to those groups. Check the client platform before setting a FIPS group, and plan an alternative path for Linux endpoints until the issue is resolved. Confirm the current status with the OpenVPN documentation rather than relying on an earlier snapshot.
Access Server PQC tutorialMismatched PresharedKey breaks peers
In WireGuard, the PresharedKey in a [Peer] section must be identical on both ends of the tunnel, and a mismatch stops the handshake from completing. Generate the key with wg genpsk, and copy the same value to both peers rather than regenerating it on each side. Because the key is optional, removing it from only one peer also breaks the tunnel. Compare the values with wg show and the preshared-keys output option after any change to confirm that both peers match.
wg(8) man pageWhen to get help with an OpenVPN or WireGuard post-quantum failure
Get outside help when the fix sits outside the systems you can change. The most common case is the server. The OpenVPN Access Server tutorial lists Access Server on Linux with OpenSSL 3.5 or newer as the prerequisite for the default X25519MLKEM768 group, and it names specific distributions for that list. If your Access Server runs on an operating system that cannot be upgraded to ship OpenSSL 3.5 or newer, you cannot enable post-quantum negotiation on that host without replacing the platform. Confirm your OpenSSL version and distribution release against the current tutorial before you plan work, since the tutorial gives no date for its list beyond "at the time of this writing." The same applies to a WireGuard host where the kernel, tooling or package set cannot be moved forward on a schedule your change process allows.
The second case is when someone else controls the gateway or the Access Server. If a managed provider, a parent network team or a vendor appliance owns the configuration, you may find the cause but not be able to apply the tls-groups "X25519MLKEM768:X25519" change, the Web UI setting, or the sacli command yourself. Escalate with the exact log line, the client versions in use and the directive you need, so the owner can make the change under their own change control. The third case is breadth: if many clients fail at once, especially OpenVPN Connect v3 users receiving no suitable key share, treat it as a server-side policy problem and gather the client inventory before anyone starts changing the server. A tutorial-style fix applied in a hurry to a production gateway, without a tested rollback, can turn a partial failure into a full outage.
The fourth case is regulated environments that need evidence. If an auditor or a customer security review asks how the VPN negotiates key exchange, you will need dated configuration exports, the key agreement lines from the logs, the client versions tested, and a record of which clients were excluded or isolated. DeployOpen can plan the upgrade path, configure and test the VPN components in a non-production environment, and document the result, and can prepare that evidence for auditors and customer reviews. DeployOpen is not an audit firm and does not issue certifications, and it is not a partner or certified provider of OpenVPN, WireGuard or Rosenpass. Ask for the written scope and the deliverables before work starts, and ask your auditor which evidence they will accept.
Questions people ask after an OpenVPN or WireGuard post-quantum error
Is the VPN connection still encrypted when post-quantum negotiation fails?
When the handshake fails, the tunnel is not established, so no VPN traffic passes through it. The sources listed on this page do not describe a fallback to unencrypted traffic, and a failed negotiation should be treated as a connection that did not come up, not as one that runs without protection. Confirm the behavior in your own environment by checking that traffic does not flow when the handshake fails and that the client shows an error. For OpenVPN Access Server, the error text to look for is "OpenSSL: error:0A000065:SSL routines::no suitable key share:", which appears when a client without support connects to a server that allows only a post-quantum group.
Is a post-quantum negotiation error urgent to fix?
The error means the connection did not come up, so it is usually a service issue for remote users rather than a security event. The sources do not set a deadline for fixing it. Prioritize it according to how many users are blocked. The most common cause on OpenVPN Access Server is a server set to allow only X25519MLKEM768 while some clients do not support it. The fix is a server directive that allows more than one group, such as tls-groups "X25519MLKEM768:X25519", which restores connections for older clients. Test the change outside production first, since changes take effect only after a restart.
Can the post-quantum warning or error be silenced or ignored?
Silencing it should be a temporary measure, not the fix. The clean approach is to restore the connection by allowing a group that the affected clients support, such as tls-groups "X25519MLKEM768:X25519" on the server, and then confirm the negotiated group in the logs. If a temporary workaround is needed while clients are upgraded, the sources do not describe a supported way to suppress the message, so record the exception, note which clients are affected and set a date to remove it. On OpenVPN 2.7, the option --tls-groups affects the TLS 1.3 key exchange, and using it improperly disables TLS 1.3, so any change to it should be verified against the manual before it is used.
Why does the post-quantum negotiation error appear now?
The error appears when the server and client disagree on which key exchange group to use. With OpenSSL 3.5 or newer, the default post-quantum group is X25519MLKEM768, and the OpenVPN Access Server tutorial says a server and client that both support it can negotiate it without any group being forced. A failure usually follows a configuration change on the server, such as restricting tls-groups to only X25519MLKEM768, or an upgrade that moves clients or servers to a newer OpenSSL build. The tutorial lists the server prerequisite as OpenSSL 3.5 or newer on Linux, naming Ubuntu 26.04 LTS, Debian 13, RHEL 9 and compatibles, and RHEL 10 and compatibles. Check the OpenSSL version and the tls-groups setting on both sides to find the mismatch.
What should I do if a VPN client cannot be upgraded?
Use a server setting that accepts both post-quantum and classical key exchange so that the older client can still connect. On OpenVPN Access Server, the tutorial's fix for mixed client bases is the directive tls-groups "X25519MLKEM768:X25519", set under Advanced, OpenVPN Directives, Server config directives in the Web UI, followed by Save and Restart. The command-line form is sacli --key "vpn.server.config_text" --value "tls-groups \"X25519MLKEM768:X25519\"" ConfigPut, then sacli start. Record which clients still depend on the classical group so the exception can be reviewed and removed once those clients are upgraded. Check the client's supported versions in the tutorial, such as OpenVPN Connect for macOS 3.9.0 or newer, before assuming an upgrade is possible.
How do I confirm which post-quantum group a tunnel actually negotiated?
On OpenVPN Access Server, run grep "key agreement" /var/log/openvpnas.log as root and confirm the line contains key agreement: X25519MLKEM768. Look for the same text in the client log. The tutorial says to use the key agreement field as the deciding value, because a log line can also show a peer temporary key containing X25519MLKEM768 while the negotiated agreement is a different group. For WireGuard, the protocol uses Curve25519 for key exchange, and an optional pre-shared key can be added as an extra layer. Check the pre-shared key setup with wg show using the preshared-keys option, and confirm the PresharedKey value in the [Peer] section matches on both sides.
Should I get outside help with a post-quantum VPN negotiation problem?
Outside help is worth considering when the failure affects many users, when the fix needs changes to a production gateway, or when your team cannot confirm the negotiated group from the logs. DeployOpen plans, implements, hardens and supports self-hosted open-source platforms in your own infrastructure, and runs security testing. It can review a VPN configuration and its logs, and prepare a fixed-scope change plan with a written scope and timeline agreed before work starts. DeployOpen does not publish a price list, and a quote follows from that written scope. Ask any provider to confirm which OpenVPN, WireGuard and OpenSSL versions the work covers and how the change will be tested outside production.
How DeployOpen helps fix OpenVPN and WireGuard post-quantum connection failures
DeployOpen starts by confirming which OpenVPN or WireGuard components your tunnels and clients use, and whether each one offers the post-quantum group your gateway expects. We then change server and client settings in a test environment, check the negotiated key agreement in the logs, and hand over the configuration, the verification steps and the rollback plan. Engagements are agreed in a written, fixed scope.
How we scope
- We inventory every OpenVPN server, OpenVPN client profile and WireGuard peer that connects to the affected gateway.
- We record which OpenSSL, mbedTLS or WolfSSL build, and which client app version, each endpoint runs.
- The written scope lists which clients, platforms and tunnels are covered, and which are excluded.
How we build
- We set the tls-groups directive on a test server, choosing between a post-quantum-only list and a mixed list.
- We add tls-groups to OpenVPN 2 Linux client profiles where the client needs to request the post-quantum group.
- We test the change against each client type and confirm the key agreement line in the openvpnas.log output.
How we hand over
- You receive the final server directives, client profile lines and the exact steps used to apply them.
- Documentation covers the log checks, including the key agreement field, that confirm the negotiated group in production.
- We include a rollback procedure, since changes take effect only after a restart and should be tested outside production first.
How we support
- Ongoing support is available as a retainer, covering re-testing after OpenVPN, OpenSSL or client app upgrades.
- We can review new client versions as they are released, so that clients without support do not fail silently.
- Ask us to confirm which client versions and distribution packages your scope covers before work begins.

