Skip to main content Link Menu Expand (external link) Document Search Copy Copied

Vendor: OpenVPN · https://openvpn.net/community/ · pkg:generic/openvpn · Last reviewed 2026-12-05 · History

Summary

  • Key agreement in TLS 1.3 comes from the TLS library (OpenSSL or Mbed TLS); with OpenSSL 3.5 or later the project documents hybrid groups such as X25519MLKEM768.1
  • OpenVPN Inc’s blog says Access Server and clients “will try to negotiate a post-quantum key exchange mechanism” by default while allowing older peers a non-post-quantum one; which group a community-edition build negotiates by default was not tested.2
  • Classical groups can be disabled with --tls-groups; the man page’s default for --tls-groups under OpenSSL 1.1+ has no ML-KEM group (X25519:secp256r1:X448:secp521r1:secp384r1), and the source applies the option only when set.134
  • Certificate signature algorithms come from the TLS library; the wiki shows an ML-DSA-65 self-signed certificate with --peer-fingerprint and OpenSSL 3.5.0 or later.1
  • The data channel is symmetric (AES-GCM, ChaCha20-Poly1305).15

To require a hybrid group, set tls-groups X25519MLKEM768; “a connection that cannot fulfill this requirement will fail”.13

CloudConnexa: “Post-quantum key exchange for all customers is planned for January 2027.”2

Cryptographic operations

  • Control channel (TLS handshake: key agreement and authentication): --tls-groups “not only affects elliptic curve certificates but also the key exchange in TLS 1.3”, and “using this option improperly will disable TLS 1.3”.3
  • tls-crypt and tls-crypt-v2 encrypt the control channel with a pre-shared symmetric key; the man page calls this “poor-man’s” post-quantum security, “against attackers who will never know the pre-shared key (i.e. no forward secrecy)”.1
  • Hybrid examples: “X25519MLKEM768, SecP256r1MLKEM768, and SecP384r1MLKEM1024”, needing a library “like OpenSSL 3.5.0”.1
  • Certificates with post-quantum algorithms are possible (openssl req -x509 -newkey ML-DSA-65 with --peer-fingerprint); no hybrid or composite certificate setup is documented.1
  • Data channel: default --data-ciphers is AES-256-GCM:AES-128-GCM, plus CHACHA20-POLY1305 in 2.6 and later when available; the wiki says “No change is necessary in this area.”15

Versions

Change Version Date Package URL Source
--tls-groups and --tls-ciphersuites added with TLS 1.3 support 2.5 not checked pkg:generic/openvpn@2.5.0 67
Log shows key agreement: <group> (OpenSSL backend); “OpenVPN version 2.7.0 and newer will display the key agreement in use” 2.7.0 2026-02-11 pkg:generic/openvpn@2.7.0 189
Latest release checked 2.7.10 2026-12-02 pkg:generic/openvpn@2.7.10 8

Changes.md sections 2.7 and 2.8 have no entry on ML-KEM, hybrid groups or post-quantum algorithms; the only mention is the 2.5 --tls-crypt entry “poor-man’s post-quantum security” (checked 2026-12-05).10

Configuration

Enabling PQC

Use OpenSSL 3.5 or later on both peers.12 Where the library lacks the group, the wiki shows the failure no suitable key share.1

tls-groups X25519MLKEM768

Disabling classical algorithms

  • --tls-groups replaces the group list; the man page calls it an expert feature that can break a connection.13
  • OpenVPN Inc advises enforcing only after logs show all clients support it, accepting that legacy clients “will no longer connect”.2
  • Signature algorithms are not named separately; the listed groups “are allowed to be used in signatures and key exchange”.3

Vendor commitments

OpenVPN Inc blog, 2026-12-04, about its products, not the community 2.x project.2

  • CloudConnexa: post-quantum key exchange planned for January 2027, enabled for everyone but not enforced, with an option to enforce; servers are moving to a platform with OpenSSL 3.5+. Open.
  • OpenVPN Connect v3 for Windows with OpenSSL 3.5+ “is planned for release in December 2026”. Open.
  • CloudConnexa has enabled tls-crypt for new connection profiles since 2026-12-01, which the post calls “not a post-quantum key exchange”.

Distributions

Not verified (OpenSSL version per distribution package not checked).

References

  1. OpenVPN community wiki, “Post-quantum cryptography security in OpenVPN”. https://community.openvpn.net/PQCryptoOpenVPN (accessed 2026-12-05) ↩ ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8 ↩9 ↩10 ↩11 ↩12 ↩13

  2. OpenVPN Inc, “Migrating to Post-Quantum Cryptography: OpenVPN’s Plan”, 2026-12-04. https://blog.openvpn.net/ai-threat-to-encryption-post-quantum (accessed 2026-12-05) ↩ ↩2 ↩3 ↩4 ↩5

  3. OpenVPN manual, TLS Mode Options, at tag v2.7.10. https://github.com/OpenVPN/openvpn/blob/v2.7.10/doc/man-sections/tls-options.rst (accessed 2026-12-05) ↩ ↩2 ↩3 ↩4 ↩5

  4. OpenVPN source, src/openvpn/ssl.c at tag v2.7.10 (if (options->tls_groups), line 560). https://github.com/OpenVPN/openvpn/blob/v2.7.10/src/openvpn/ssl.c (accessed 2026-12-05) ↩

  5. OpenVPN manual, Data channel cipher negotiation, at tag v2.7.10. https://github.com/OpenVPN/openvpn/blob/v2.7.10/doc/man-sections/cipher-negotiation.rst (accessed 2026-12-05) ↩ ↩2

  6. OpenVPN manual, TLS Mode Options, at tag v2.5.0. https://github.com/OpenVPN/openvpn/blob/v2.5.0/doc/man-sections/tls-options.rst (accessed 2026-12-05) ↩

  7. OpenVPN Changes.md, “Overview of changes in 2.5”, TLS 1.3 support. https://github.com/OpenVPN/openvpn/blob/b898ae0567dbcf4b4c9b08e469d7e8d4e2eed46e/Changes.md (accessed 2026-12-05) ↩

  8. OpenVPN releases on GitHub. https://github.com/OpenVPN/openvpn/releases (accessed 2026-12-05) ↩ ↩2

  9. OpenVPN source, src/openvpn/ssl_openssl.c at tag v2.7.0 (key agreement: %s, line 2476). https://github.com/OpenVPN/openvpn/blob/v2.7.0/src/openvpn/ssl_openssl.c (accessed 2026-12-05) ↩

  10. OpenVPN Changes.md at commit b898ae0. https://github.com/OpenVPN/openvpn/blob/b898ae0567dbcf4b4c9b08e469d7e8d4e2eed46e/Changes.md (accessed 2026-12-05) ↩


Edit: OpenVPN

If you give an email address it is recorded publicly as the author of the commit, and GitHub will link the commit to your account if that address belongs to one.

Edits are reviewed before they appear. By submitting you release your contribution under CC BY-SA 4.0. Read the editorial guidelines first.

This site uses Just the Docs, a documentation theme for Jekyll.