{"slug": "post-quantum-cryptography-pqc-in-kong-api-ai-gateway", "title": "Post-Quantum Cryptography (PQC) in Kong API & AI Gateway", "summary": "Kong API Gateway and Kong AI Gateway now support hybrid post-quantum key exchange for TLS 1.3 on standard non-FIPS builds, with Kong AI Gateway gaining the capability from version 2.0.0 via OpenSSL 3.5, according to Kong staff product manager Zongmin Li. The gateways can negotiate X25519MLKEM768, SecP256r1MLKEM768 and SecP384r1MLKEM1024, and Kong says PQC is likely already enabled by default, though operators can enforce it explicitly through nginx_http_ssl_ecdh_curve and nginx_stream_ssl_ecdh_curve settings. Kong frames the migration as protection against \"harvest now, decrypt later\" attacks, in which captured traffic is decrypted once sufficiently capable quantum computers exist; FIPS builds do not yet support post-quantum key exchange.", "body_md": "# Post-Quantum Cryptography (PQC) in Kong API & AI Gateway\n\nZongmin Li\n\nStaff Product Manager, Kong\n\nKong 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.\n\nThe 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.\n\nYou can configure PQC separately for each direction of traffic:\n\n- **Downstream:** client to Kong\n\n- **Upstream:** Kong to your backend services and AI providers\n\n**FIPS builds:** post-quantum key exchange currently requires a standard (non-FIPS) build. See the FAQs.\n\n## Kong API Gateway: PQC Support by Version\n\nThe 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.\n\nThe version list focuses on currently supported Kong API Gateway releases. Older releases that have reached End of Full Support are not included.\n\n## Kong AI Gateway PQC Support\n\nKong 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.\n\nPQC 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.\n\n## How to Verify PQC Support\n\nTo verify the PQC support for downstream connection, use OpenSSL command line 3.5 or later:\n\nbash\n\n## bash\n\n```\n1# Here we use X25519MLKEM768 as an example\n2# 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\n3\n4openssl s_client -connect api.example.com:443 \\\n5  -servername api.example.com -verify_hostname api.example.com \\\n6  -verify_return_error -tls1_3 -groups X25519MLKEM768 -brief </dev/null\n```\n\nA successful PQC handshake should report `Negotiated TLS1.3 group: X25519MLKEM768`.\n\nIf this already works, there is nothing you need to do, unless you want to move to explicit or PQC only configuration.\n\n## How to Explicitly Enforce PQC\n\nThese 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.\n\nKong API and AI Gateway come by default with three named cipher suites:\n\nThese 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.\n\nTo 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:\n\nini\n\n## ini\n\n```\n1# tlsref.org 6.0 Recommendation\n2nginx_http_ssl_ecdh_curve = X25519MLKEM768:X25519:prime256v1:secp384r1\n3nginx_stream_ssl_ecdh_curve = X25519MLKEM768:X25519:prime256v1:secp384r1\n4\n5# Only PQC with a single algorithm:\n6nginx_http_ssl_ecdh_curve = X25519MLKEM76\n7nginx_stream_ssl_ecdh_curve = X25519MLKEM76\n8\n9# Only PQC with three algorithms:\n10nginx_http_ssl_ecdh_curve X25519MLKEM768:SecP256r1MLKEM768:SecP384r1MLKEM1024\n11nginx_stream_ssl_ecdh_curve X25519MLKEM768:SecP256r1MLKEM768:SecP384r1MLKEM1024\n```\n\nbash\n\n## bash\n\n```\n1# These can also be passed to Kong via environment variable\n2KONG_NGINX_HTTP_SSL_ECDH_CURVE=\"X25519MLKEM768:X25519:prime256v1:secp384r1\"\n3KONG_NGINX_STREAM_SSL_ECDH_CURVE=\"X25519MLKEM768:X25519:prime256v1:secp384r1\"\n```\n\nAnd that is all you need to do. If you are using custom cipher suite, you need to:\n\nini\n\n## ini\n\n```\n1ssl_cipher_suite=custom\n2ssl_protocols=TLSv1.3 # ensure that TLSv1.3 is listed, add others as needed\n3ssl_prefer_server_ciphers=off # not strictly neccessary\n4\n5# tlsref.org 6.0 Recommendation\n6nginx_http_ssl_ecdh_curve = X25519MLKEM768:X25519:prime256v1:secp384r1\n7nginx_stream_ssl_ecdh_curve = X25519MLKEM768:X25519:prime256v1:secp384r1\n```\n\nTo 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.`\n\nIf you want to configure upstream PQC explicitly you can use (this is likely already enabled implicitly:\n\nini\n\n## ini\n\n```\n1# tlsref.org 6.0 Recommendation\n2nginx_http_proxy_ssl_conf_command = Groups X25519MLKEM768:X25519:prime256v1:secp384r1\n3nginx_http_grpc_ssl_conf_command = Groups X25519MLKEM768:X25519:prime256v1:secp384r1\n4nginx_http_lua_ssl_conf_command = Groups X25519MLKEM768:X25519:prime256v1:secp384r1\n5nginx_stream_proxy_ssl_conf_command = Groups X25519MLKEM768:X25519:prime256v1:secp384r1\n6nginx_stream_lua_ssl_conf_command = Groups X25519MLKEM768:X25519:prime256v1:secp384r1\n```\n\n## FAQs\n\n**FAQ**\n\n**Q: Can a Kong API/AI Gateway FIPS build use post-quantum TLS?**\n\nA: 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.\n\n**Q: What is the difference between Classical, Post-Quantum, and Hybrid Key Exchange?**\n\nTogether, the following components represent the three layers of the new AI platform: AI Gateway: Kong AI Gateway (including MCP support) controls both GenAI and MCP flow and orchestrates the existing services like Vector Databases, Event Streaming,\n\nMarco Raffaelli\n\n# Kong and Straiker: Runtime Security and Agent-Level Control for AI Agents\n\nKong AI Gateway handles the traffic patterns production agent systems depend on. The Straiker integration can be applied to configured traffic so the relevant request context is evaluated before the action continues. For LLM traffic, Straiker evalua\n\nParth Shah\n\n# Kong Gateway 3.9: Extended AI Support and Enhanced Security\n\nToday we're excited to announce Kong Gateway 3.9! Since unveiling Kong Gateway 3.8 at API Summit 2024 just a few months ago, we’ve been busy making important updates and improvements to Kong Gateway. This release introduces new functionality arou\n\nAlex Drag\n\n# AI FinOps: Moving Beyond Cost Visibility to Control, Optimization, and Value\n\nPreventing runaway spending is critical, but it’s only part of the challenge. Enterprises also need to continuously improve the economics of their AI workloads. Kong combines cost visibility and governance with capabilities designed to reduce unnece\n\nDan Temkin\n\n# AI Observability: Monitoring and Troubleshooting Your LLM Infrastructure\n\nTraditional observability shows whether infrastructure and services are available, responsive, and error-free. AI observability retains those signals, then adds context ordinary APM often lacks. This includes models, tokens, retrieval results, evalu\n\nKong\n\n# AI Gateway vs. Direct LLM API Integration: The Architecture Decision Defining Your AI Strategy\n\nMost teams start the same way. A developer creates an API key, calls OpenAI or Anthropic, and ships a prototype. The problems surface when that prototype becomes five production services calling three providers. Hardcoded provider dependencies are\n\nKong\n\n# A Unified Gateway for APIs + Agentic Applications on VMware VKS with Kong Konnect\n\nBuilt on top of Kong API Gateway, the Kong AI Gateway is designed to address key challenges in enterprise AI adoption. Modern AI applications rarely rely on a single model; instead, they orchestrate multiple GenAI providers, agent frameworks, Age\n\nAnika Suri\n\n# Building a Secure, Scalable AI Infrastructure with Kong and Akamai: A Technical Introduction\n\nTogether, the following components represent the three layers of the new AI platform: AI Gateway: Kong AI Gateway (including MCP support) controls both GenAI and MCP flow and orchestrates the existing services like Vector Databases, Event Streaming,\n\nMarco Raffaelli\n\n# Kong and Straiker: Runtime Security and Agent-Level Control for AI Agents\n\nKong AI Gateway handles the traffic patterns production agent systems depend on. The Straiker integration can be applied to configured traffic so the relevant request context is evaluated before the action continues. For LLM traffic, Straiker evalua\n\nParth Shah\n\n# Kong Gateway 3.9: Extended AI Support and Enhanced Security\n\nToday we're excited to announce Kong Gateway 3.9! Since unveiling Kong Gateway 3.8 at API Summit 2024 just a few months ago, we’ve been busy making important updates and improvements to Kong Gateway. This release introduces new functionality arou\n\nAlex Drag\n\n# AI FinOps: Moving Beyond Cost Visibility to Control, Optimization, and Value\n\nPreventing runaway spending is critical, but it’s only part of the challenge. Enterprises also need to continuously improve the economics of their AI workloads. Kong combines cost visibility and governance with capabilities designed to reduce unnece\n\nDan Temkin\n\n# AI Observability: Monitoring and Troubleshooting Your LLM Infrastructure\n\nTraditional observability shows whether infrastructure and services are available, responsive, and error-free. AI observability retains those signals, then adds context ordinary APM often lacks. This includes models, tokens, retrieval results, evalu\n\nKong\n\n# AI Gateway vs. Direct LLM API Integration: The Architecture Decision Defining Your AI Strategy\n\nMost teams start the same way. A developer creates an API key, calls OpenAI or Anthropic, and ships a prototype. The problems surface when that prototype becomes five production services calling three providers. Hardcoded provider dependencies are\n\nKong\n\n# A Unified Gateway for APIs + Agentic Applications on VMware VKS with Kong Konnect\n\nBuilt on top of Kong API Gateway, the Kong AI Gateway is designed to address key challenges in enterprise AI adoption. Modern AI applications rarely rely on a single model; instead, they orchestrate multiple GenAI providers, agent frameworks, Age\n\nAnika Suri\n\n# Building a Secure, Scalable AI Infrastructure with Kong and Akamai: A Technical Introduction\n\nTogether, the following components represent the three layers of the new AI platform: AI Gateway: Kong AI Gateway (including MCP support) controls both GenAI and MCP flow and orchestrates the existing services like Vector Databases, Event Streaming,\n\nMarco Raffaelli\n\n# Kong and Straiker: Runtime Security and Agent-Level Control for AI Agents\n\nKong AI Gateway handles the traffic patterns production agent systems depend on. The Straiker integration can be applied to configured traffic so the relevant request context is evaluated before the action continues. For LLM traffic, Straiker evalua\n\nParth Shah\n\n# Kong Gateway 3.9: Extended AI Support and Enhanced Security\n\nToday we're excited to announce Kong Gateway 3.9! Since unveiling Kong Gateway 3.8 at API Summit 2024 just a few months ago, we’ve been busy making important updates and improvements to Kong Gateway. This release introduces new functionality arou\n\nAlex Drag\n\n# AI FinOps: Moving Beyond Cost Visibility to Control, Optimization, and Value\n\nPreventing runaway spending is critical, but it’s only part of the challenge. Enterprises also need to continuously improve the economics of their AI workloads. Kong combines cost visibility and governance with capabilities designed to reduce unnece\n\nDan Temkin\n\n# AI Observability: Monitoring and Troubleshooting Your LLM Infrastructure\n\nTraditional observability shows whether infrastructure and services are available, responsive, and error-free. AI observability retains those signals, then adds context ordinary APM often lacks. This includes models, tokens, retrieval results, evalu\n\nKong\n\n# AI Gateway vs. Direct LLM API Integration: The Architecture Decision Defining Your AI Strategy\n\nMost teams start the same way. A developer creates an API key, calls OpenAI or Anthropic, and ships a prototype. The problems surface when that prototype becomes five production services calling three providers. Hardcoded provider dependencies are\n\nKong\n\n# A Unified Gateway for APIs + Agentic Applications on VMware VKS with Kong Konnect\n\nBuilt on top of Kong API Gateway, the Kong AI Gateway is designed to address key challenges in enterprise AI adoption. Modern AI applications rarely rely on a single model; instead, they orchestrate multiple GenAI providers, agent frameworks, Age\n\nAnika Suri\n\n## Ready to see Kong in action?\n\nGet a personalized walkthrough of Kong's platform tailored to your architecture, use cases, and scale requirements.", "url": "https://wpnews.pro/news/post-quantum-cryptography-pqc-in-kong-api-ai-gateway", "canonical_source": "https://konghq.com/blog/engineering/post-quantum-cryptography-pqc-in-kong-api-ai-gateway", "published_at": "2026-12-03 17:04:00+00:00", "updated_at": "2026-12-03 17:18:03.654195+00:00", "lang": "en", "topics": ["artificial-intelligence", "ai-infrastructure", "ai-products"], "entities": ["Kong", "Kong API Gateway", "Kong AI Gateway", "Zongmin Li", "OpenSSL 3.5", "X25519MLKEM768"], "also_reported_by": [], "takeaway": "Kong AI Gateway 2.0.0 and current Kong API Gateway releases on OpenSSL 3.5 negotiate X25519MLKEM768 by default on non-FIPS builds; verify with openssl s_client -tls1_3 -groups X25519MLKEM768 and enforce via nginx_http_ssl_ecdh_curve.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/post-quantum-cryptography-pqc-in-kong-api-ai-gateway", "markdown": "https://wpnews.pro/news/post-quantum-cryptography-pqc-in-kong-api-ai-gateway.md", "text": "https://wpnews.pro/news/post-quantum-cryptography-pqc-in-kong-api-ai-gateway.txt", "jsonld": "https://wpnews.pro/news/post-quantum-cryptography-pqc-in-kong-api-ai-gateway.jsonld"}}