Dev48
Language
  • About
  • Services
  • Industries
  • Technologies
  • Articles
  • Contacts
Book a call
    Home/Articles/Post quantum cryptography pqc in kong api ai gateway
Dev48
info@dev48.org+375 29 320-40-96WhatsApp@isky_by

© 2026 · All rights reserved.

Post-Quantum Cryptography (PQC) in Kong API & AI Gateway

Source: Kong Inc.•December 3, 2026 at 08:57 PM

Post-Quantum Cryptography (PQC) in Kong API & AI Gateway

Kong API Gateway and Kong AI Gateway support post-quantum hybrid key exchange for TLS 1.3. On a standard (non-FIPS) build, it is most likely enabled by default already, but read the document to ensure that it is enabled on your system.

On December 2, 2026, the NSA advised organizations to [_accelerate the transition to post-quantum cryptography_](https://www.nsa.gov/Press-Room/Press-Releases-Statements/Press-Release-View/Article/4662430/nsa-advises-immediate-transition-to-post-quantum-cryptography-to-protect-nation/)_accelerate the transition to post-quantum cryptography_. Leading cloud and AI providers [_publicly backed_](https://openai.com/index/joint-statement-post-quantum-cryptography/)_publicly backed_ the U.S. government's call to adopt NIST's PQC standards.

The main concern for data in transit is "harvest now, decrypt later." Traffic captured today could be decrypted in the future, once sufficiently capable quantum computers exist. Migrating key exchange early protects data that needs to stay confidential for years.

Kong uses hybrid key exchange, as defined in [_RFC 10024_](https://www.rfc-editor.org/rfc/rfc10024.html)_RFC 10024_. Each hybrid group pairs a classical algorithm with ML-KEM, the post-quantum algorithm standardized by NIST in [_FIPS 203_](https://csrc.nist.gov/pubs/fips/203/final)_FIPS 203_. The connection is designed to stay secure as long as at least one of the two algorithms remains unbroken. Kong supports all three groups the RFC defines:

  • - `X25519MLKEM768`
  • - `SecP256r1MLKEM768`
  • - `SecP384r1MLKEM1024`

You can configure PQC separately for each direction of traffic:

  • - **Downstream:** client to Kong
  • - **Upstream:** Kong to your backend services and AI providers

**FIPS builds:** post-quantum key exchange currently requires a standard (non-FIPS) build. See the FAQs.

## Kong API Gateway: PQC Support by Version

The following releases for each series ship with OpenSSL 3.5 and can negotiate `X25519MLKEM768`, `SecP256r1MLKEM768`, or `SecP384r1MLKEM1024` on standard **non-FIPS builds**. Use the latest supported patch in your release line and verify the configuration on your data plane.

The version list focuses on currently supported Kong API Gateway releases. Older releases that have reached End of Full Support are not included.

## Kong AI Gateway PQC Support

Kong AI Gateway 2.x supports hybrid post-quantum key exchange on standard non-FIPS builds, and we are working to bring this to FIPS builds too. Starting with version 2.0.0, AI Gateway uses OpenSSL 3.5, which supports hybrid PQC key-exchange groups such as `X25519MLKEM768`. OpenSSL 3.5 has enabled PQC by default.

PQC negotiation requires the hybrid group to be configured and the peer to support a common hybrid group. This is most likely enabled by default. Classical fallback is possible when classical groups are also configured.

## How to Verify PQC Support

To verify the PQC support for downstream connection, use OpenSSL command line 3.5 or later:

1# Here we use X25519MLKEM768 as an example 2# Replace api.example.com:443 with the endpoint you want to verify, it could be the endpoint of your API/AI Gateway, or the endpoints of your upstream service 3 4openssl s_client -connect api.example.com:443 \ 5 -servername api.example.com -verify_hostname api.example.com \ 6 -verify_return_error -tls1_3 -groups X25519MLKEM768 -brief </dev/null

A successful PQC handshake should report `Negotiated TLS1.3 group: X25519MLKEM768`.

If this already works, there is nothing you need to do, unless you want to move to explicit or PQC only configuration.

## How to Explicitly Enforce PQC

These kong.conf settings apply to the HTTPS proxy on a self-managed Kong API/AI Gateway data plane. Require HTTPS on the Route and set the Gateway Service protocol to https. Additionally you may want to configure Kong to only listen to TLS traffic on input ports and disable the plain unencrypted HTTP.

Kong API and AI Gateway come by default with three named cipher suites:

  • - modern
  • - intermediate (the default)
  • - old

and then in addition to that: custom. These suites are defined by Mozilla TLS recommendations that are nowadays available at [_tlsref.org_](http://tlsref.org)_tlsref.org_.

Here you can see what versions Kong is using:

These versions enable PQC implicitly by default, but don't enable explicit PQC key exchange by default but it is very likely that you have support for PQC already.

To enable PQC key exchange with downstream clients, all you need to do is to add this in your Kong configuration when using predefined modern, intermediate, and old cipher suites:

1# tlsref.org 6.0 Recommendation 2nginx_http_ssl_ecdh_curve = X25519MLKEM768:X25519:prime256v1:secp384r1 3nginx_stream_ssl_ecdh_curve = X25519MLKEM768:X25519:prime256v1:secp384r1 4 5# Only PQC with a single algorithm: 6nginx_http_ssl_ecdh_curve = X25519MLKEM76 7nginx_stream_ssl_ecdh_curve = X25519MLKEM76 8 9# Only PQC with three algorithms: 10nginx_http_ssl_ecdh_curve X25519MLKEM768:SecP256r1MLKEM768:SecP384r1MLKEM1024 11nginx_stream_ssl_ecdh_curve X25519MLKEM768:SecP256r1MLKEM768:SecP384r1MLKEM1024

1# These can also be passed to Kong via environment variable 2KONG_NGINX_HTTP_SSL_ECDH_CURVE="X25519MLKEM768:X25519:prime256v1:secp384r1" 3KONG_NGINX_STREAM_SSL_ECDH_CURVE="X25519MLKEM768:X25519:prime256v1:secp384r1"

And that is all you need to do. If you are using custom cipher suite, you need to:

1ssl_cipher_suite=custom 2ssl_protocols=TLSv1.3 # ensure that TLSv1.3 is listed, add others as needed 3ssl_prefer_server_ciphers=off # not strictly neccessary 4 5# tlsref.org 6.0 Recommendation 6nginx_http_ssl_ecdh_curve = X25519MLKEM768:X25519:prime256v1:secp384r1 7nginx_stream_ssl_ecdh_curve = X25519MLKEM768:X25519:prime256v1:secp384r1

To verify, use the command mentioned in the “How to Verify” section, and it should succeed with a PQC group, and fail with classical groups like `-groups X25519:P-256.`

If you want to configure upstream PQC explicitly you can use (this is likely already enabled implicitly:

1# tlsref.org 6.0 Recommendation 2nginx_http_proxy_ssl_conf_command = Groups X25519MLKEM768:X25519:prime256v1:secp384r1 3nginx_http_grpc_ssl_conf_command = Groups X25519MLKEM768:X25519:prime256v1:secp384r1 4nginx_http_lua_ssl_conf_command = Groups X25519MLKEM768:X25519:prime256v1:secp384r1 5nginx_stream_proxy_ssl_conf_command = Groups X25519MLKEM768:X25519:prime256v1:secp384r1 6nginx_stream_lua_ssl_conf_command = Groups X25519MLKEM768:X25519:prime256v1:secp384r1

**Q: Can a Kong API/AI Gateway FIPS build use post-quantum TLS?**

A: The Kong API/AI Gateway releases covered in this guide cannot negotiate hybrid post-quantum key exchange on downstream or upstream TLS connections, with or without fips_mode configured. The OpenSSL FIPS provider that Kong ships is currently at 3.1.2, and it lacks ML-KEM, which X25519MLKEM768 and other mechanisms require. **To use post-quantum TLS, you’ll need to use a standard non-fips build. **Kong is working on bringing PQC support for FIPS builds.

**Q: What is the difference between Classical, Post-Quantum, and Hybrid Key Exchange?**

A: **Classical key exchange:** Traditional algorithms such as X25519 and P-256, which are not designed to resist attacks from sufficiently powerful quantum computers. See[ _RFC 7748 – X25519_](https://www.rfc-editor.org/rfc/rfc7748) _RFC 7748 – X25519_ and[ _NIST SP 800-56A – Key Agreement_](https://csrc.nist.gov/pubs/sp/800/56/a/r3/final) _NIST SP 800-56A – Key Agreement_.

**Post-Quantum key exchange:** Algorithms such as ML-KEM-768, designed to resist attacks from both classical and quantum computers. See[ _NIST FIPS 203 – Module-Lattice-Based Key-Encapsulation Mechanism Standard (ML-KEM)_](https://csrc.nist.gov/pubs/fips/203/final) _NIST FIPS 203 – Module-Lattice-Based Key-Encapsulation Mechanism Standard (ML-KEM)_.

**Hybrid key exchange:** Combines a classical algorithm (X25519) with a post-quantum algorithm (ML-KEM-768) to provide protection against both classical and quantum attacks, assuming at least one component remains secure. See.

← All articles

What this article says

More in Cloud & Infrastructure

All →
Vercel’s response to the NSA guidance on post-quantum cryptography
Vercel

Vercel’s response to the NSA guidance on post-quantum cryptography

Five predictions for the agentic enterprise in 2027
Dynatrace

Five predictions for the agentic enterprise in 2027

Save the date: GrafanaCON 2027 is coming to New York City in April!
Grafana Labs

Save the date: GrafanaCON 2027 is coming to New York City in April!

Delighting 100 million builders
Netlify

Delighting 100 million builders

Turn signals into compliance insights under APRA CPS 230
Dynatrace

Turn signals into compliance insights under APRA CPS 230

A philosopher’s take on AI: Responsibility must rest in human hands
Microsoft

A philosopher’s take on AI: Responsibility must rest in human hands

More from Kong

AI Management in Kong Konnect: Govern Agents at Scale
Kong

AI Management in Kong Konnect: Govern Agents at Scale

The Control Tower Reaches into the Runtime: Announcing the ServiceNow and Kong Partnership
Kong

The Control Tower Reaches into the Runtime: Announcing the ServiceNow and Kong Partnership

Sovereign wealth funds' China and Hong Kong investments surge 190% after a bruising slumpПресса
Kong

Sovereign wealth funds' China and Hong Kong investments surge 190% after a bruising slump

House China committee chair urges Fed to review Hong Kong’s access to dollar lifelineПресса
Kong

House China committee chair urges Fed to review Hong Kong’s access to dollar lifeline

Russian gold floods Hong Kong as Western sanctions redraw bullion tradeПресса
Kong

Russian gold floods Hong Kong as Western sanctions redraw bullion trade

API Summit 2025 Recap: AI Connectivity and the Agentic Era
Kong

API Summit 2025 Recap: AI Connectivity and the Agentic Era