What drives the cost of post-quantum migration for reverse proxies and load balancers

The cost of moving reverse proxies and load balancers to post-quantum key exchange depends mostly on the OpenSSL or build line you run, how each listener is switched on, and whether backend connections need the same change.

On this page

Which factors raise or lower the cost of post-quantum migration for reverse proxies and load balancers

Cost for a reverse proxy or load balancer is driven mainly by three things: the TLS library and how the build is sourced, the number of listeners and policies that must change, and whether the backends you connect to support post-quantum cryptography. The NGINX blog ties post-quantum key exchange to the OpenSSL version in the operating system image. Debian 13, Ubuntu 26.04 and SLES 16 ship OpenSSL 3.5.x, while Debian 12, Ubuntu 24.04 and RHEL 10 do not, so an NGINX deployment on those systems may need a rebuild or a new base image. RHEL 9.8 and later is opt-in through a crypto policy, and Amazon Linux 2023 needs ssl_ecdh_curve set manually. Those are configuration steps rather than rebuilds, and they cost far less. HAProxy's article adds that its post-quantum curves appear only in HAProxy Technologies builds, so the build and package source you already use is a cost factor in its own right. HAProxy Enterprise 3.2 and later and HAProxy Community 3.3 and later include hybrid support natively, which you can confirm with haproxy -vv.

The number of listeners is the second cost driver, because AWS requires explicit opt-in on existing listeners. Each Application or Network Load Balancer listener must be moved to a PQ-TLS security policy through the Console, CLI, API or SDK, so a fleet with many listeners carries many change items. Infrastructure-as-code adds a hidden cost: AWS documents that the console defaults to a PQ policy while the CLI, CloudFormation and CDK default to ELBSecurityPolicy-2016-08. Templates that were written for the CLI will keep the classical policy unless someone edits them, so review those files as part of the change. Backend connections are the third factor. HAProxy's article says its configuration protects only the client-to-edge leg, so backend legs stay classical unless the backends support post-quantum cryptography. AWS also notes that backend targets limited to TLS 1.0 or 1.1 will fail to connect and must be updated, which can add work when legacy services sit behind the proxy.

Cost factors by product line, version and source

This table lists each cost factor against the product, version or component it applies to, with the source and its date. Read each row as a check item: the factor sets how much work that product line needs, and the sources listed on this page do not give prices or durations, so confirm effort with the vendor and in your own environment. The main takeaway is that many costs are configuration changes and listener updates, while rebuilds, build sourcing and backend support drive most of the variable effort.

Product or componentCost factorWhat it means for effortSource and date
NGINX with OpenSSL 3.5 or laterOpenSSL version in the OS imageHybrid key exchange needs OpenSSL 3.5 or later. Debian 13, Ubuntu 26.04 and SLES 16 ship 3.5.x, while Debian 12, Ubuntu 24.04 and RHEL 10 do not, so those hosts need a different build path.NGINX blog PQC, 3 December 2025
NGINX on RHEL 9.8 and laterCrypto policy opt-inEnabling post-quantum key exchange is a configuration step through the crypto policy, not a rebuild. Confirm the setting on each host.NGINX blog PQC, 3 December 2025
NGINX on Amazon Linux 2023Manual ssl_ecdh_curve settingThe curve must be set by hand in the NGINX configuration. This is a per-server change item to track in the inventory.NGINX blog PQC, 3 December 2025
HAProxy Enterprise 3.2 and laterVendor build with AWS-LCPost-quantum curves are in HAProxy Technologies builds. Sourcing the correct build and package is a cost item, and haproxy -vv confirms the crypto library.HAProxy blog PQC, updated 3 December 2026
HAProxy Community 3.3 and laterNative hybrid support with AWS-LCHybrid post-quantum key exchange is supported natively in this release line. Confirm the version and library on each instance before planning upgrade work.HAProxy blog PQC, updated 3 December 2026
HAProxy, all buildsLarger handshake messages and CPU useLarger keys and ciphertexts can push the ClientHello and ServerHello past one packet, so latency and MTU testing may be needed. The article also describes a slight CPU penalty once post-quantum is enabled.HAProxy blog PQC, 3 December 2026
AWS Application and Network Load BalancersExplicit listener updateExisting listeners must be explicitly updated to a PQ-TLS policy, so each listener is a separate change item across consoles, CLI, API and SDK.AWS What's New, 21 November 2025
AWS ALB policies in infrastructure as codeDefault policy differs by creation methodThe console defaults to a PQ policy, while the CLI, CloudFormation and CDK default to ELBSecurityPolicy-2016-08. Templates must be updated or the classical policy persists.AWS ELB ALB security policies
AWS ALB backend targetsLegacy TLS versionsBackend targets limited to TLS 1.0 or 1.1 fail to connect and must be updated before the policy change, which adds work where old backends remain.AWS ELB ALB security policies
Cloudflare-hosted reverse proxiesKey exchange and signatures scheduled separatelyKey agreement is default, while signature support is blocked for Caddy, Traefik and rpxy. Key exchange and signature migration can be planned as two separate workstreams.Cloudflare PQC support

Which parts of a proxy stack add effort when switching on post-quantum key exchange

Enabling post-quantum key exchange on a reverse proxy or load balancer touches more than one setting. The components below run in parallel, so a gap in any one of them can stall the whole change, and each one maps to a different cost owner.

OpenSSL version and build source

Key exchange support depends on the TLS library the proxy is linked against. NGINX must be compiled against OpenSSL 3.5 or later to use the X25519MLKEM768 group, and HAProxy's post-quantum curves appear only in HAProxy Technologies builds. Check the library and build source first, because a version that lacks support means a rebuild or a new package, which is the most expensive path. Ask the vendor or your distribution which build you are running and whether it includes the group.

NGINX PQC blog

OS image and crypto policy

The operating system image often decides the library version you get without a rebuild. Debian 13, Ubuntu 26.04 and SLES 16 ship OpenSSL 3.5, while Debian 12, Ubuntu 24.04 and RHEL 10 do not. On RHEL 9.8 and later, post-quantum key exchange is opt-in through a crypto policy, and on Amazon Linux 2023 the ssl_ecdh_curve setting must be set manually. An OS upgrade or a policy change can be cheaper than a rebuild, but it is still a change window.

NGINX PQC blog

Listener and server block changes

Each listener is a separate change item. AWS requires explicit opt-in on existing Application and Network Load Balancer listeners, through the console, CLI, API or SDK. Defaults also differ by creation method: the console defaults to a post-quantum policy, while the CLI, CloudFormation and CDK default to ELBSecurityPolicy-2016-08. Infrastructure-as-code templates must be updated, or new listeners will be created without post-quantum support. Inventory every listener before scheduling changes.

AWS ALB security policies

Classical certificates and signatures

Post-quantum key exchange does not change certificate signatures. HAProxy's article states that hybrid ML-KEM covers key exchange only, and that certificate signatures still use RSA or ECDSA. Cloudflare's support page shows signature support blocked for Caddy, Traefik and rpxy while key agreement is available, so the two migrations can be scheduled separately. Plan certificate work as its own project, and confirm with each certificate authority when post-quantum signatures will be available to you.

Cloudflare PQC support

Backend connections

Post-quantum protection covers only the client-facing leg of the proxy. HAProxy's article says its configuration secures only the client-to-edge connection, and backend connections stay classical unless the backend supports post-quantum cryptography. AWS also notes that backend targets limited to TLS 1.0 or 1.1 will fail to connect and must be updated. Ask each backend owner whether their service supports post-quantum key exchange before assuming end-to-end protection.

HAProxy PQC article

Performance and packet-size testing

Larger post-quantum keys and ciphertexts can push the ClientHello and ServerHello past one packet, which can require latency and MTU testing. HAProxy's article also describes a slight CPU penalty once post-quantum key exchange is enabled. Load-test with realistic client mixes before cutover, including clients that lack post-quantum support, since they fall back to classical key exchange. Record the results as part of the change evidence.

HAProxy PQC article

How the migration effort differs by deployment model

When NGINX is compiled from source on an operating system image, the main cost driver is the OpenSSL version that the build links against. NGINX must be compiled against OpenSSL 3.5 or later to use the X25519MLKEM768 group, and OpenSSL 3.5 was released in April 2025 (NGINX blog PQC). If the image ships an older OpenSSL line, the team must either build OpenSSL 3.5 or later separately and point the NGINX build at it, or replace the base image. Each of these is an engineering task with one-time build pipeline changes and a recurring obligation to rebuild and retest on every OpenSSL security release. Because the team owns the binary, it also owns the cost of tracking upstream changes and of running its own test matrix.

  • Build pipeline changes: Adding a separately built OpenSSL 3.5 or later to the image or build container.
  • Recurring rebuilds: Each OpenSSL and NGINX update triggers a new build and regression pass.
  • Test coverage: Handshake tests against clients that do and do not support hybrid key exchange.
  • Fallback handling: Confirming that clients without post-quantum support fall back to classical key exchange over TLS 1.3.
  • Staff time: Engineers who own the build and release process carry the work, which is usually the largest recurring cost.

Before quoting, ask the team to confirm the OpenSSL version in the current base image with the NGINX build options and the output of nginx -V.

Where each change falls in the client-to-backend path

The path starts at the client, which negotiates with the proxy listener and its TLS policy, a configuration setting on the listener. The proxy's TLS library, either OpenSSL 3.5 or later or the AWS-LC library in HAProxy builds, performs the key exchange, so that component often needs a rebuild or package change rather than a config edit. The certificate on the listener still carries a classical RSA or ECDSA signature, since hybrid ML-KEM covers key exchange only. The backend leg stays classical unless the backend itself supports post-quantum cryptography, so check that before counting it as protected.

Shows which proxy path components take configuration changes, rebuilds or backend work.

How to estimate the migration effort for your proxies

This sequence turns a vague sense of migration cost into a dated list of listeners, builds, templates and backend tests, each with a recorded line item. The output is a budget that separates configuration changes from rebuilds and testing, so you can see what drives the total before you ask a vendor or partner to quote.

  1. Confirm the TLS library and build

    Run haproxy -vv on each HAProxy instance to read the build and the crypto library it links against, and check the OpenSSL version for NGINX with nginx -V and the OpenSSL library on the host. The NGINX blog says NGINX must be compiled against OpenSSL 3.5 or later to use the X25519MLKEM768 group, and that the OpenSSL version in the operating system image decides whether post-quantum key exchange is available. HAProxy's article says the post-quantum curves ship only in HAProxy Technologies builds, so record whether each instance is a community build, an enterprise build or a distribution package. This step is closed when every instance has a row showing its product, version, crypto library and whether a rebuild or package change is needed.

  2. Count every listener and its policy

    List each listener on each instance, including the port, the TLS policy or cipher configuration in use, and the owning team. AWS says the post-quantum policies require explicit opt-in on existing listeners, through the Console, CLI, API or SDK, so each listener is a separate change item even when the policy is the same. NGINX and HAProxy use configuration keys rather than a separate opt-in, so note the exact setting that must change in each file. This step is closed when the listener count is recorded per instance and every listener has a current policy and a target policy written next to it.

  3. Check infrastructure-as-code defaults

    Review the Terraform, CloudFormation, CDK or Ansible templates that create or update load balancers, and record which security policy each template sets. AWS documents different defaults by creation method: the console defaults to a post-quantum policy, while the CLI, CloudFormation and CDK default to ELBSecurityPolicy-2016-08. Templates that omit the policy will create listeners that differ from what the console produces, so each template is a separate change item and a possible source of drift. This step is closed when every template that creates a listener has been read, its policy value is recorded, and any template that relies on a default is flagged.

  4. Test backend TLS versions

    Find backend targets that still accept TLS 1.0 or TLS 1.1, since AWS documents that such targets will fail to connect once the load balancer policy is updated. Also check that backends support the key exchange you plan to enable, because HAProxy's article says its configuration protects only the client-to-edge leg, and backend connections stay classical unless the backends support post-quantum cryptography. Record each backend that needs a TLS change or a backend upgrade as its own line item, with the owning team. This step is closed when every backend pool is listed with its supported TLS versions and key exchange, and each mismatch has a line item.

  5. Measure handshake size and latency

    Test client handshakes against a staging listener with the target policy, and record the ClientHello and ServerHello sizes and the handshake latency. HAProxy's article says larger post-quantum keys and ciphertexts can push the handshake past one packet, which can require latency and MTU testing, and it describes a slight CPU penalty once post-quantum cryptography is enabled. Measure CPU on the instances under representative load before and after the change, since the sources do not give a figure for the penalty in your environment. This step is closed when the handshake sizes, latency and CPU results are recorded for each instance type and each client group you tested, and any results that exceed your thresholds have a line item for capacity or path changes.

  6. Record each change as a budget line item

    Gather every change from the previous steps into one list, with one row per item and the columns product, instance or listener, change type, owner, and whether the cost is one-time or recurring. Separate configuration changes, such as a policy or ssl_ecdh_curve setting, from rebuilds and package changes, since the NGINX blog says some platforms need configuration steps rather than rebuilds. Add rows for testing, capacity and template updates, and mark which rows depend on vendor support or a build from a vendor. Ask each vendor or partner to quote against this list, not against a general migration. This step is closed when the list has been reviewed by the engineering and budget owners and every row has an owner and a cost category.

Costs the sources do not quantify and what to ask vendors

The sources on this page describe what changes in a reverse proxy or load balancer, but they do not give prices, fees, overhead figures or backend timelines. The cards below list those open points, what to ask the vendor or cloud provider, and what to measure in your own environment before you put a number in a budget.

Per-hour and licence fees

Managed load balancers bill by usage and listeners, and commercial proxy builds are licensed separately, so a post-quantum change can alter the bill in ways the sources do not state. The HAProxy article says the post-quantum curves ship only in HAProxy Technologies builds, which means the licence tier you hold may decide whether you can enable them at all. Ask the vendor whether the PQ-capable build sits in your current tier and whether any new listener or policy adds a charge. Measure your current listener and licence count so you can compare it against the quote.

HAProxy PQC article

Vendor support charges for builds

Using a vendor build with post-quantum curves may come with support terms that differ from the packages your distribution ships. Building NGINX against OpenSSL 3.5 or later is a sourcing decision as much as a technical one, and the NGINX article does not say what support covers a custom build. Ask whether support extends to a build compiled against your OpenSSL version and whether a rebuild after each security patch is billable. Measure how often your team would need to rebuild in a year, counting OpenSSL and proxy releases.

NGINX PQC article

Expected CPU overhead on your hardware

The HAProxy article describes a slight CPU penalty once post-quantum key exchange is enabled, but it gives no figure, and the penalty depends on your connection volume, TLS session reuse and processor. Ask the vendor for benchmark results on hardware close to yours, and ask whether the figure covers hybrid key exchange only. Measure handshakes per second and CPU utilization at peak on a staging instance with the PQ policy enabled, and compare them with the same test on the classical policy.

HAProxy PQC article

Larger handshakes and MTU effects

Larger post-quantum keys and ciphertexts can push the ClientHello and ServerHello past one packet, according to the HAProxy article, which can add latency or fragmentation. The sources do not quantify the size increase for your traffic or your network path. Ask the vendor whether it has measured packet counts and handshake latency for the hybrid group you plan to use. Measure handshake size and latency from the client networks you serve, including any path with a reduced MTU.

Backend post-quantum support timelines

The HAProxy article says its configuration protects only the client-to-edge leg, and backend connections stay classical unless the backends support post-quantum cryptography. The sources do not give dates for backend support in your servers or your cloud targets. Ask each backend vendor, and your cloud provider for load balancer targets, for a dated statement of when backend post-quantum support will be available. Measure which backend connections carry sensitive data today so you know which legs matter most while you wait.

Cloud listener and template changes

AWS says existing listeners need an explicit opt-in to a PQ-TLS policy, and its console, CLI and infrastructure-as-code defaults differ. The sources do not state the labour or the risk of changing many listeners at once. Ask the cloud provider whether a PQ policy change causes a connection reset or a brief outage on an existing listener. Measure how many listeners and templates you run and how many use a policy that predates post-quantum support.

AWS announcement

Where cost overruns happen during proxy migration

Most cost overruns in a reverse proxy or load balancer migration start with the build, not the configuration. For NGINX, the OpenSSL version in the operating system image decides whether post-quantum key exchange is available at all. The NGINX blog shows that Debian 13, Ubuntu 26.04 and SLES 16 ship OpenSSL 3.5.x, while Debian 12, Ubuntu 24.04 and RHEL 10 do not. NGINX must be compiled against OpenSSL 3.5 or later to use the X25519MLKEM768 group, and OpenSSL 3.5 was released in April 2025. A team that discovers this after the fleet is built faces a rebuild or an image change, which costs far more than a configuration edit. For HAProxy, the post-quantum curves appear only in HAProxy Technologies builds, so confirm package sourcing before scheduling work. Run haproxy -vv on each instance to confirm the build and crypto library, and treat any instance that lacks the curves as a rebuild item.

Configuration overruns come from settings that look finished but are not. On AWS, existing Application Load Balancer and Network Load Balancer listeners need an explicit change to a PQ-TLS policy, so each listener is its own change item. The console defaults new listeners to a post-quantum policy, while the CLI, CloudFormation and CDK default to ELBSecurityPolicy-2016-08. An infrastructure-as-code template that was never updated can silently keep the old policy, and a deployment that reports success will not reveal it. Backend targets limited to TLS 1.0 or 1.1 will fail to connect and must be updated, which can stall a cutover if those backends are discovered late. On NGINX, RHEL 9.8 and later is opt-in through a crypto policy, and Amazon Linux 2023 requires ssl_ecdh_curve to be set manually. These are small edits, but they multiply across many instances and templates, so inventory every listener, template and crypto policy before estimating effort.

Questions budget owners and engineers ask about proxy migration cost

Is my reverse proxy quantum safe once I enable post-quantum key exchange?

Not fully. Enabling post-quantum key exchange protects the session key negotiated with each client, but it does not change the signatures on your certificates. HAProxy's documentation says hybrid ML-KEM covers key exchange only, and that certificate signatures still use RSA or ECDSA while support for NIST post-quantum signature algorithms in certificate authorities and TLS stacks is still coming. Cloudflare's support page likewise lists signature support as blocked for some proxies while key agreement is available by default, so the two migrations can be scheduled separately. Budget for them as separate work items. Confirm the signature status of your certificate authority and proxy version with each vendor before you assume either is covered.

Does post-quantum TLS on AWS load balancers cost extra?

The sources this page relies on do not state an AWS price for post-quantum policies, so confirm the charge with AWS before you budget. What the sources do establish is the work involved. AWS announced on 21 November 2025 that Application Load Balancers and Network Load Balancers support post-quantum key exchange through new TLS security policies, and existing listeners must be explicitly updated to use one. Each listener is therefore a change item. Templates built with the CLI, CloudFormation or CDK default to ELBSecurityPolicy-2016-08 while the console defaults to a post-quantum policy, so infrastructure-as-code needs an explicit change as well. Ask your cloud team to count listeners and templates, since that count drives the effort.

Which proxy version or build creates the most migration work?

The biggest driver is the TLS library underneath the proxy. For NGINX, the OpenSSL version in the operating system image decides whether post-quantum key exchange is available. NGINX must be compiled against OpenSSL 3.5 or later to use the X25519MLKEM768 group, and OpenSSL 3.5 was released in April 2025. Debian 13, Ubuntu 26.04 and SLES 16 ship 3.5.x, while Debian 12, Ubuntu 24.04 and RHEL 10 do not, so those hosts need a rebuild or a new base image. Some systems need only configuration: RHEL 9.8 and later is opt-in through a crypto policy, and Amazon Linux 2023 needs ssl_ecdh_curve set manually. For HAProxy, the post-quantum curves appear only in HAProxy Technologies builds, with HAProxy Enterprise 3.2 and later and Community 3.3 and later supporting them natively. Run haproxy -vv on each instance to confirm the build and the AWS-LC library.

Does the CPU penalty from post-quantum TLS mean a licence cost?

The HAProxy article describes a slight CPU penalty once post-quantum cryptography is enabled, and it does not describe a licence fee tied to that change. The cost is capacity: you may need more CPU on the proxy tier, or a load test to confirm that current instances still meet your peak connection rate. Larger keys and ciphertexts can also push the ClientHello and ServerHello past one network packet, so the sources recommend latency and MTU testing. Whether a particular vendor charges for an edition that includes post-quantum support is a licensing question the sources in this set do not answer. Ask the vendor directly, and ask whether the feature sits in a higher edition, a support contract or a separate build.

What should I ask a proxy or load balancer vendor about migration cost?

Ask for a written answer to four points. First, which versions, editions and builds include post-quantum key exchange, and whether it needs a vendor-specific build. Second, whether signature support for post-quantum certificates is available, and on what date. Third, what the upgrade path is for your current version, including any configuration steps and any rebuilds. Fourth, whether any licence tier or support contract changes when the feature is enabled. Also ask whether backend connections can be protected, because HAProxy's article says its configuration secures only the client-to-edge leg, and backend connections stay classical unless the backends support post-quantum cryptography. A quote should list these items separately so you can see what is one-time and what recurs.

Can my own team do the proxy migration, or do we need outside help?

Many of the changes are configuration work your team can do: enabling a crypto policy, setting a curve, or updating listener policies in AWS. Rebuilds against OpenSSL 3.5 or a switch to a vendor build take more effort, and the sources do not give a duration for either, so measure it on one instance before you plan the whole fleet. Outside help is most useful when the inventory is large, when backend and client compatibility needs load and latency testing, or when you need evidence for an auditor or a customer. DeployOpen plans, implements, tests and documents self-hosted platforms inside your own infrastructure, on a fixed scope agreed in writing before work starts. It does not issue audit reports, and it does not publish prices, so ask for a quote against a written scope. Start with an inventory of listeners, hosts and builds, since that list sets both the effort and the quote.

How DeployOpen helps scope and carry out a proxy post-quantum migration

DeployOpen approaches proxy post-quantum cost the same way it approaches any self-hosted platform: first a written inventory of which proxies and load balancers terminate TLS, which OpenSSL or HAProxy builds they run, and which listeners and backends are affected, then a fixed scope for the changes that follow. The aim is to turn the cost drivers above into named work items that the client can review and approve before anything changes.

How we scope

  • Inventory every proxy and load balancer that terminates TLS, recording product, version, OpenSSL or crypto library build, and operating system image.
  • Map each listener and backend leg, noting which ones need an explicit PQ-TLS policy change and which depend on backend support.
  • Agree a fixed-scope written plan that lists each change item, the tests to run, and the deliverables before work starts.

How we build

  • Rebuild or repackage NGINX or HAProxy against a library that supports the chosen hybrid key exchange, where the image does not already provide it.
  • Update listener policies and infrastructure-as-code templates so explicit PQ settings survive redeployment and do not revert to older defaults.
  • Test ClientHello and ServerHello sizes, latency and MTU behavior, and confirm that clients without post-quantum support still connect.

How we hand over

  • Deliver a dated inventory and change record showing, per instance, the key exchange in use and the signature algorithms still classical.
  • Document the commands used to verify the active library and group, such as haproxy -vv, so your team can repeat the checks.
  • Provide the test results and a list of open items, including backend legs and certificate signature support that depend on other vendors.

How we support

  • Ongoing support, upgrades and continuous testing are available as a retainer, so vendor updates to proxy PQ support are reviewed when they ship.
  • Retest after each OS image, OpenSSL or HAProxy upgrade, since default groups and crypto policies can change between releases.
  • Confirm with each vendor, in writing, the current status of backend and certificate signature support before you schedule the next phase.

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.