Which PostgreSQL clients and drivers need review before post-quantum TLS
The platform team should know that PostgreSQL's current documentation, checked 2026-12-03, gives no client-side setting for choosing post-quantum key exchange groups. A hybrid ML-KEM group appears only when the server's ssl_groups names a group that the linked OpenSSL build supports. A February 2026 pgsql-hackers message shows this working on PostgreSQL 18 with OpenSSL 3.5, where ssl_groups set to X25519MLKEM768:X25519:prime256v1 negotiated the hybrid group over TLS 1.3. The PostgreSQL 18 and 19 release notes do not mention post-quantum cryptography, so no release note should be read as adding it.
In the connection path, the components to review are libpq itself, the drivers and poolers that build on it, and any proxies between the application and the server. libpq gets its TLS from OpenSSL, so the OpenSSL version and build on each client host decides what key exchange groups are offered. Drivers that bundle their own TLS stack, rather than linking the system OpenSSL, need a separate check. Connection poolers and TLS-terminating proxies complete a second TLS session, so each hop needs its own answer. Confirm with each vendor which TLS library and version each component uses, and whether it passes group preferences through.
For each component, record the TLS library and version, the sslmode the application uses (the libpq default is prefer, which the documentation says makes no security sense and keeps only for backward compatibility), and whether the component can be configured with any group name at all. Where the answer is no, the component cannot be moved to a post-quantum group until its vendor changes that. Treat that list as the input to the upgrade plan, and ask each vendor for written confirmation of what it supports.
Which connection settings apply to which PostgreSQL version and component
This table compares the TLS group, verification and authentication settings that apply to each PostgreSQL version and component, as of the documentation checked on 2026-12-03. Read each row to see which setting governs key exchange or certificate checks, which version introduced it, and where a post-quantum group could be set. No client-side post-quantum group setting is documented, so confirm the group list on both ends in your own environment before relying on any hybrid key exchange.
| Component and setting | Version and default | Source and date | What to confirm |
|---|---|---|---|
| Server ssl_groups | PostgreSQL 19 default is X25519:prime256v1, a colon-separated named group list | PG Connection settings, 19, checked 2026-12-03 | Whether your OpenSSL build supports any hybrid group you add to the list |
| Server ssl_ecdh_curve | Renamed to ssl_groups in PostgreSQL 18; the old name still works | PG 18 release notes, released 2025-09-25 | Which name your configuration files and tooling use on each major version |
| Hybrid group on PostgreSQL 18 with OpenSSL 3.5 | ssl_groups set to X25519MLKEM768:X25519:prime256v1 negotiated X25519MLKEM768 over TLS 1.3 | PG hackers thread message dated 2026-02-19 by Dmitry Dolgov | Reproduce the result in your own build; the thread is a single report, not a supported configuration |
| Pre-18 versions and ML-KEM names | The same message reports ssl_ecdh_curve rejected the ML-KEM group name; no committer answer on backporting appears in the thread text read | PG hackers thread, 2026-02-19 | Whether a backport to supported older versions is planned, and with the vendor |
| libpq sslmode | Default is prefer, which the documentation says makes no sense from a security point of view; verify-full checks the CA chain and host name | PG libpq connection parameters, current docs, checked 2026-12-03 | Set verify-full explicitly in every client configuration and driver |
| libpq channel_binding | Default is prefer when libpq is compiled with SSL support | PG libpq connection parameters, current docs, checked 2026-12-03 | Whether your driver exposes this option and what it sends |
| libpq groups parameter | No client-side groups parameter is documented | PG libpq connection parameters, checked 2026-12-03 | How your client library chooses groups, including the OpenSSL defaults it inherits |
| Post-quantum group settings, any component | None documented for the client side; the server documentation for 19 describes no post-quantum feature | PG 18 and 19 release notes; PG Connection settings, 19, checked 2026-12-03 | Vendor statements or later release notes that add a post-quantum setting |
Which clients, drivers, poolers and proxies sit in the connection path
A PostgreSQL connection rarely runs straight from application to server. Libraries, language drivers, poolers and proxies each handle TLS on the way, and each one needs review before post-quantum key exchange is turned on. The cards below cover each component and what the supplied documentation does and does not establish.
libpq and its SSL parameters
libpq is PostgreSQL's client library, and it relies on OpenSSL for TLS rather than providing its own code. Server certificate checking is controlled by sslmode, which defaults to prefer, and the documentation calls prefer insecure and kept only for backward compatibility. Use verify-full to check both the CA chain and the host name. The libpq connection parameters page documents no client-side groups parameter, so libpq gives no PostgreSQL-specific setting to choose key exchange groups. Confirm which OpenSSL build your libpq links against.
libpq connection parametersLanguage drivers built on libpq
Drivers such as psycopg and node-postgres are wrappers, and their TLS behavior depends on whether they call libpq or ship their own protocol code. Confirm this for each driver, along with the OpenSSL version it uses and how it exposes sslmode, certificate paths and channel binding. JDBC is a separate implementation with its own SSL properties, so it cannot be assumed to behave like libpq. Record the driver version and runtime used in each application, because a fix in one place does not reach the others.
Connection poolers such as PgBouncer
A pooler terminates the client connection and opens its own connection to the server, so each hop has its own TLS settings to review. The supplied facts do not describe PgBouncer's TLS support, its OpenSSL dependency or its group configuration, so confirm these in its documentation for your version. Check whether TLS is required on both the client side and the server side, and whether the pooler passes certificate verification through or ends it. Treat each hop as a separate review item in your inventory.
TLS-terminating proxies
Some deployments place a TLS-terminating proxy in front of PostgreSQL, so the connection a client sees is not the one that reaches the server. The facts do not cover any specific proxy product, so confirm its TLS library, supported key exchange groups and certificate handling with its vendor. Note whether the proxy re-encrypts traffic to the server and with what settings. If the proxy ends TLS, PostgreSQL's own ssl_groups setting does not govern the client-facing handshake.
Server-side group setting for hybrid key exchange
On the server, ssl_groups selects the named groups for TLS key exchange, and its documented default is X25519:prime256v1 with no post-quantum group. A pgsql-hackers message from 2026-02-19 shows PostgreSQL 18 negotiating the hybrid group X25519MLKEM768 with OpenSSL 3.5 when ssl_groups names it. That message reports the setting cannot take this value in earlier versions. Check that every client in the path supports the same group, since a single component without it will fall back or fail.
Connection settings, PG 19How the client path differs by deployment and by pooler or proxy
When a libpq-based client connects straight to a PostgreSQL server, the TLS handshake runs between the two. The server offers the groups listed in its ssl_groups setting, and the client's OpenSSL decides which of those it accepts. The PostgreSQL 19 documentation gives X25519:prime256v1 as the default, and that default contains no post-quantum group. A hybrid group such as X25519MLKEM768 appears only when the operator sets ssl_groups to a name the linked OpenSSL build supports. A February 2026 pgsql-hackers message reports this working with PostgreSQL 18 and OpenSSL 3.5. The libpq documentation provides no client-side parameter for choosing groups, so the server setting is the only PostgreSQL control point on this path.
- Server setting: Check the value of
ssl_groupsinpostgresql.confand record whether it names any post-quantum group. - Linked OpenSSL version: Confirm which OpenSSL build the server binary loads, since the group must be supported by that library.
- Client OpenSSL: Confirm the client library's OpenSSL build also supports the chosen group, because both sides must agree.
- Server version: Note that the ML-KEM group name was rejected by
ssl_ecdh_curvebefore PostgreSQL 18, so older servers need a different path. - Certificate verification: Check that clients use
sslmode=verify-fullso the server identity is checked independently of the key exchange group.
In your environment, confirm the exact ssl_groups value on each server and the OpenSSL version each client library loads, since these two facts together decide what is negotiated.
When a connection pooler sits between applications and PostgreSQL and terminates TLS itself, two separate TLS sessions exist: one from the application to the pooler, and one from the pooler to the server. Each session negotiates its own key exchange group with its own OpenSSL build. The application's client library does not control the pooler-to-server group, and the server's ssl_groups setting does not control the application-to-pooler group. The facts supplied do not describe any specific pooler product's group handling, so each pooler's documentation and build must be checked directly.
- Two handshakes: Treat the application-to-pooler and pooler-to-server links as separate negotiations with separate group lists.
- Pooler build: Identify the OpenSSL version the pooler links against, since a pooler built without ML-KEM support cannot offer that group.
- Pooler-to-server group: Check which group the pooler offers to the server, and whether the server's
ssl_groupsincludes it. - Application-facing settings: Confirm which TLS options the pooler exposes to clients, and whether it passes through or replaces the client's
sslmode. - Authentication path: Confirm whether the pooler forwards SCRAM exchanges and channel binding, since
channel_bindingdepends on the TLS session the client sees.
In your environment, ask the pooler vendor or read its documentation for the OpenSSL version it ships and its supported group configuration, and test both links separately.
A TLS-terminating proxy accepts encrypted connections from clients, ends TLS on its own side, and opens a new connection to PostgreSQL. As with a pooler, the client-facing and server-facing handshakes are independent. The proxy's TLS library, not PostgreSQL's, decides which key exchange groups it offers to clients. If the proxy re-encrypts toward the server, the server-side group depends on the proxy's build and on the server's ssl_groups value. If the proxy forwards traffic without re-encrypting, the handshake reaches the server unchanged, but the proxy still holds the plaintext in between. The supplied facts do not name any proxy product or its group support.
- Client-facing group: Confirm which groups the proxy's TLS stack offers to applications, and whether it can be configured.
- Server-facing encryption: Establish whether the proxy re-encrypts toward PostgreSQL or forwards the stream, since this changes which handshake applies.
- Certificate handling: Confirm which certificate the proxy presents to clients and whether
sslmode=verify-fullchecks that name. - Server-side verification: If the proxy connects to PostgreSQL, confirm whether it verifies the server certificate and host name.
- Proxy version: Record the proxy version and its OpenSSL or TLS library, since the supported groups depend on that build.
In your environment, document each TLS hop through the proxy and the library behind it, then confirm the group offered on each hop with a handshake test.
PostgreSQL does not provide its own TLS code. It depends on the OpenSSL library it was linked against, on both client and server. A PostgreSQL binary built or packaged with an OpenSSL release that lacks ML-KEM support cannot negotiate X25519MLKEM768, no matter what ssl_groups says. Setting the group name in the configuration has no effect in that case, because the library does not recognize it. The hackers thread indicates that the group name was rejected by the older configuration parameter, and the current documentation does not state a minimum OpenSSL version for ML-KEM support. The OpenSSL version the server and each client library load is therefore the deciding fact.
- Linked library: Check which OpenSSL build the PostgreSQL binary and each client library load at runtime, not only the version installed.
- Packaged builds: Confirm whether a distribution package links against a shared OpenSSL that the operating system updates, or a bundled copy.
- Client libraries: Check every language driver and libpq-based library in use, since each may load a different OpenSSL.
- Rejected group names: Watch the server log at startup for errors about unsupported group names when
ssl_groupsis set. - Fallback behavior: Confirm which group the handshake falls back to when the preferred group is not supported, and record the negotiated group in tests.
In your environment, verify the OpenSSL version loaded by the server and each client, and test a handshake to confirm the group actually negotiated, rather than inferring it from configuration.
Where each component negotiates TLS in the PostgreSQL connection path
The path starts at the application, which calls libpq through a driver, and libpq is the client component that negotiates TLS with OpenSSL. An optional pooler or proxy may sit between the client and the server, and each hop can be a separate TLS session that ends at that component. The server ends its own session with OpenSSL, where ssl_groups sets the key exchange groups it offers and sslmode governs whether the client verifies the server certificate. Check each hop separately, because the server's ssl_groups setting does not change the client's negotiation.
Where TLS sessions end in the PostgreSQL connection path.
What a platform team should check first in the client path
The sequence below maps every component between an application and the PostgreSQL server, records the versions that decide how TLS is negotiated, and confirms what each side actually agrees on before any post-quantum setting is changed. The result is a dated record that shows which parts of the path can change and which need upgrades first.
Inventory every client, driver, pooler and proxy
The platform team lists each application client, language driver, connection pooler and proxy that sits between users and the PostgreSQL server, including any load balancer that passes the connection through. For each entry, record the TLS library it links against, such as OpenSSL, and whether it is built with SSL support. Libraries bundled inside a driver or container image often differ from the operating system copy, so check the actual binary or image, not only the package name. The step is closed when every hop has a named owner and a TLS library recorded against it. Illustrative example: a Java service using a pooler that links its own OpenSSL build is two separate entries, not one.
Record OpenSSL and PostgreSQL versions on each server
For each PostgreSQL server, record the PostgreSQL major version and the OpenSSL version it was built against, using the server's own reporting rather than memory. PostgreSQL does not provide its own TLS code and relies on OpenSSL on both client and server, so the OpenSSL version is the value that decides which key exchange groups can be offered. Also note which PostgreSQL majors are still supported according to the project's versioning page, as checked on 2026-12-03. Confirm the openssl.cnf file each server reads, including any redirection through the OPENSSL_CONF environment variable. The step is closed when each server has a row with its major version, OpenSSL build and configuration file path.
Confirm negotiated groups with a test connection
On a non-production server, run a test connection from each client path and check which TLS group the two sides negotiate. PostgreSQL 18 and later expose the server setting ssl_groups, which selects named groups for key exchange, and its documented default is X25519:prime256v1. A hybrid group such as X25519MLKEM768 is negotiated only when both the server's ssl_groups value and the OpenSSL build on each side support it, which a public PostgreSQL developer thread from 2026-02-19 showed with OpenSSL 3.5. The libpq client page documents no client-side groups parameter, so the client-side result depends on its OpenSSL build. The step is closed when each path has a recorded negotiated group, and any path that falls back to a classical group is flagged.
Check sslmode settings on every client
Review the sslmode setting in each client connection string, driver configuration and pooler configuration. The libpq default is prefer, which the PostgreSQL documentation says makes no sense from a security point of view and is kept for backward compatibility, so an unset value means the connection may proceed without verifying the server. For server verification, verify-full checks both the CA chain and the host name. Note the server-side ssl and client certificate settings that apply to the same path, including ssl_ca_file and clientcert options in pg_hba.conf. The step is closed when every client has a stated sslmode value, and any path left on prefer is listed with its owner.
Document the result for the review record
Write one record that ties together the inventory, the server versions, the negotiated groups and the sslmode values for each path. Mark which items were verified by a test connection and which are only read from configuration, so reviewers can tell the difference. Include the date of each check and the names of the PostgreSQL and OpenSSL versions tested. Note any path where a component could not be tested, and what would be needed to test it. The step is closed when the record is saved where the security and vendor-risk owners can read it, and each open item has an owner.
What PostgreSQL and its ecosystem have not documented for client groups
Does libpq have a parameter to choose post-quantum key exchange groups?
No. As of the libpq connection parameters page checked on 2026-12-03, libpq documents no client-side groups parameter, so there is no PostgreSQL-specific setting on the client to choose key exchange groups. The server side is different: the ssl_groups setting in PostgreSQL 18 and later sets the named groups for TLS key exchange, and it is passed to OpenSSL. Before you plan client changes, confirm with the libpq documentation for your exact version, and check whether the OpenSSL build that libpq links against accepts the group names you intend to use. Ask the PostgreSQL project, through its mailing lists or documentation maintainers, whether a client-side groups parameter is planned and for which versions.
Do the PostgreSQL release notes mention post-quantum cryptography?
Not in the PostgreSQL 18 or 19 release notes, as checked on 2026-12-03. Those notes, and the current server and libpq documentation, do not mention post-quantum cryptography, ML-KEM, ML-DSA or SLH-DSA. The documented ssl_groups default of X25519:prime256v1 contains no post-quantum group. Because the documentation is silent, any use of a hybrid group depends on your own OpenSSL build and your own ssl_groups setting. Ask the project whether it plans to document post-quantum key exchange in release notes, and in which version the documentation will first describe it. Re-check the release notes for each new major version before you record an answer.
Can the ML-KEM hybrid group be backported to PostgreSQL versions before 18?
The question is open. A pgsql-hackers message dated 2026-02-19 by Dmitry Dolgov shows PostgreSQL 18 with ssl_groups set to X25519MLKEM768:X25519:prime256y1 negotiating the hybrid group X25519MLKEM768 over TLS 1.3 with OpenSSL 3.5. The same message says earlier versions could not do this, because ssl_ecdh_curve rejected the ML-KEM group name, and it asks whether the change could be backported. The thread text reviewed contains no committer answer on that point. Put this question to the PostgreSQL project and to your distribution's packager: will pre-18 releases accept the ML-KEM group name, and in which minor releases. Until you have a written answer, treat pre-18 versions as unconfirmed.
What do connection poolers and proxies support for post-quantum TLS?
The facts reviewed do not cover this. The researched material describes the PostgreSQL server and libpq only, so it gives no statement from any pooler or proxy vendor about post-quantum key exchange, certificates or group selection. Connection poolers and proxies sit in the same connection path, and each terminates or re-originates TLS on its own. Ask each vendor: which TLS library and version does your product link, does it negotiate hybrid ML-KEM groups on both its client-facing and backend-facing sides, how is the group list configured, and what is your published timeline. Record each answer with its date and version.
Which settings control PostgreSQL server key exchange groups today?
On the server, ssl_groups (PostgreSQL 18 and later) holds a colon-separated list of named groups for TLS key exchange. Its documented default in PostgreSQL 19 is X25519:prime256v1. The setting was introduced in PostgreSQL 18 as a rename of ssl_ecdh_curve, and the old name still works. The documentation states that X25519 is not allowed when OpenSSL is in FIPS mode. Confirm the exact behavior for your version with the connection settings page, and test that OpenSSL accepts each group name you list. Ask the project to confirm whether it will add a hybrid group to the default list and in which release.
Who should we ask about post-quantum support for PostgreSQL drivers?
Start with the driver maintainers and the vendors who package them, because the PostgreSQL documentation covers the server and libpq only. Drivers in other languages, such as JDBC, Go, Rust and Node.js libraries, may use their own TLS stacks, and the researched material does not describe them. Ask each driver maintainer: which TLS library does the driver use, whether it passes through the OpenSSL group configuration, whether it exposes a groups option, and what it has published on post-quantum key exchange. Ask your application owners to inventory every driver in use, and record the answer for each version you run.
Does the PostgreSQL project publish a post-quantum roadmap?
Not in the material reviewed. The release notes and current server and libpq documentation, checked on 2026-12-03, describe no PostgreSQL-specific post-quantum key exchange or signature feature. The project has not published a roadmap in these sources, and there is no official statement about pooler or proxy vendors either. Ask the PostgreSQL Global Development Group, through its public channels, whether a roadmap exists and what it covers. Request a dated written statement, and record the version to which each commitment applies. Re-check the documentation at each release, because statements can change.
What breaks or falls back when a client does not negotiate the hybrid group
The main risk in setting ssl_groups to a hybrid group is silent fallback. The server's ssl_groups setting is a colon-separated preference list, such as X25519MLKEM768:X25519:prime256v1. If the client, a pooler or a proxy in the path cannot negotiate the hybrid group, the handshake can complete with a classical group such as X25519 or prime256v1. The default in PostgreSQL 19 is X25519:prime256v1, so a connection that falls back lands on a group that carries no post-quantum protection, and nothing in the connection itself signals that the fallback happened. Confirm the negotiated group on each client path with the OpenSSL tooling and logs available in your environment, rather than assuming the server setting is what each connection used.
Two configurations make fallback more likely to go unnoticed. The first is FIPS mode. The PostgreSQL documentation states that X25519 is not allowed when OpenSSL is in FIPS mode, so a FIPS deployment needs group names that the linked OpenSSL build accepts in that mode, and the default list cannot be used unchanged. Check fips_mode() on the server, and test the group list on each FIPS host before relying on it. The second is the client-side verification mode. The libpq sslmode parameter defaults to prefer, which the documentation says makes no sense from a security point of view and is kept only for backward compatibility. Under prefer, a client can fall back to an unencrypted connection, and it does not verify the server certificate. Set sslmode=verify-full on clients that must reach a post-quantum-capable server, since it checks both the CA chain and the host name.
Common questions about PostgreSQL clients and post-quantum TLS
Is PostgreSQL quantum safe?
PostgreSQL does not provide its own TLS code. It relies on OpenSSL on both the client and the server, so whether a connection can use a post-quantum key exchange depends on the OpenSSL build on each side and on the ssl_groups setting on the server. The PostgreSQL 18 and 19 release notes and the current server and libpq documentation, checked on 2026-12-03, do not mention post-quantum cryptography, ML-KEM, ML-DSA or SLH-DSA. The documented default for ssl_groups is X25519:prime256v1, which contains no post-quantum group. A February 2026 mailing list message reported PostgreSQL 18 negotiating the hybrid group X25519MLKEM768 over TLS 1.3 with OpenSSL 3.5 when ssl_groups was set to include it. That is a reported test, not a documented feature, so confirm the behavior in your own environment before relying on it.
Which PostgreSQL version is needed for the hybrid key exchange group?
The February 2026 mailing list report used PostgreSQL 18 with OpenSSL 3.5. Earlier versions could not do this because the older ssl_ecdh_curve setting rejected the ML-KEM group name. PostgreSQL 18 renamed that setting to ssl_groups and allows a colon-separated list. The same report asked whether the change could be backported to earlier versions, and the thread text available contains no committer answer. Plan on PostgreSQL 18 or later as the starting point, and confirm with the project or your distribution whether any older branch receives the change. Also check that the OpenSSL build on both client and server supports the group you intend to use.
Does enabling post-quantum TLS on PostgreSQL cost extra?
The documentation gives no cost figures and no PostgreSQL-specific licensing for post-quantum key exchange. The cost depends mostly on your existing setup. PostgreSQL is open source and the ssl_groups setting is part of the server configuration. The main variable costs are the OpenSSL version, which may require upgrading the operating system packages, and the engineering time to test every client and pooler in the path. Those costs are one-time for the upgrade and recur only when the underlying libraries are updated. Ask your distribution or any commercial PostgreSQL vendor whether support or licensing changes for a version that includes the feature, and ask for that in writing before budgeting.
What breaks when PostgreSQL moves to a post-quantum key exchange?
The key exchange is only one part of the connection. Any client that negotiates TLS through an OpenSSL build that lacks the chosen group will fall back or fail, depending on the client's sslmode setting. The libpq sslmode defaults to prefer, which the documentation describes as kept only for backward compatibility. Clients set to verify-full will fail on a handshake they cannot complete, so test that path explicitly. Check these components in your inventory:
- Client libraries and language drivers that link their own copy of OpenSSL
- Connection poolers and proxies that terminate TLS on one side and open a new connection on the other
- Replication and
pg_basebackupconnections, which use the same libpq security settings - Server certificates and keys, since changing the key exchange does not change the certificate type
What should I ask a driver or connection pooler vendor?
Ask which TLS library the product uses and which version of OpenSSL it links against in the build you run. Ask whether it lets you set or pass through named key exchange groups, and whether that setting reaches the server connection. The libpq connection parameters page documents no client-side groups parameter, so a driver may not expose one at all. Ask whether a pooler terminates the client TLS session and opens a separate server connection, because the post-quantum property would then apply to each leg separately. Ask for the vendor's stated plan and the date it was published, and get the answer in writing. Do not accept a general claim of support as an answer to these specific questions.
Can our team test post-quantum TLS on PostgreSQL ourselves?
Yes, a platform team can run a test without outside help if it has a lab environment and access to the PostgreSQL 18 or later server and the client builds in use. Start by setting ssl_groups on a test server to a list that includes a hybrid group your OpenSSL build supports, and keep the classic group as a fallback in the list. Then connect from each client and driver you run, and record the negotiated group and any errors. Test with sslmode=verify-full as well as the default, because the default can hide failures. Repeat the test through each pooler and proxy in the path. Keep the test results as evidence of what was tested, with the exact versions of PostgreSQL, OpenSSL and each client. If you lack in-house capacity, a fixed-scope engagement from DeployOpen can plan and run this testing, scoped in writing before work starts.
How do I confirm which group a connection actually negotiated?
The facts supplied do not name a PostgreSQL setting or view that reports the negotiated key exchange group, so check this at the TLS layer rather than in PostgreSQL itself. Use an OpenSSL client tool built against the same library version as the application to connect to the server, and inspect the handshake output for the group chosen. Compare that result with the server's ssl_groups value, which the server reads from postgresql.conf. Confirm the server's OpenSSL build with the version it reports at startup and in your package manager. Record the group, the versions and the date for each test, since the mailing list report is from February 2026 and the setting defaults may change in later releases.
Does PostgreSQL support post-quantum signatures for certificates or authentication?
The documentation checked on 2026-12-03 describes no PostgreSQL-specific post-quantum signature feature. Server and client certificates are loaded from files and must match their private keys, and the documentation states no restriction on the key type. That means a certificate using a post-quantum signature algorithm could be loaded if your OpenSSL build and your certificate authority support it, but PostgreSQL does not document that as a tested path. The password hashing method, SCRAM-SHA-256 under RFC 7677, uses no public-key signature and is outside this question. Treat certificate and signature support as a separate assessment, and confirm it with the vendor and in your own environment before you record an answer.
How to test a hybrid group negotiation without guessing
The only reliable way to learn whether a PostgreSQL connection negotiates a hybrid group is to run a test on a non-production server and record what each client actually gets. Set ssl_groups to X25519MLKEM768:X25519:prime256v1, but only on a server where you have first confirmed that the linked OpenSSL build supports X25519MLKEM768. The PostgreSQL documentation gives the default as X25519:prime256v1 and does not list a post-quantum group, so the hybrid name works only when OpenSSL accepts it. If the build does not recognize the name, the server may refuse to start or fall back, and you will not learn which from the setting alone. Confirm the OpenSSL version with the same binary that PostgreSQL uses, not the one in your shell path.
With the server configured, connect with each client you plan to review, including psql, the drivers your applications use, and any libpq-based tools. For each connection, record the negotiated group and the TLS version, and compare them against the group list you set. Use a fixed test matrix so that a result from one client can be checked against the same test on another. Keep the server logs and the client output together, and note the exact PostgreSQL, OpenSSL and driver versions beside each row. Do not assume a client that negotiated a hybrid group on one machine will do the same on another, since the client-side OpenSSL build can differ.
Repeat the same test through each connection pooler and proxy in the path, such as PgBouncer or any other pooler or load balancer your team runs. A pooler terminates TLS on its own, so the group negotiated between the application and the pooler can differ from the group negotiated between the pooler and the server. Record both legs separately. The results depend on the OpenSSL build linked into each component, so treat every result as valid only for that environment and record it per environment, with the build version next to it. Results from one staging host do not transfer to production, and you should repeat the test whenever any of those builds changes.
How DeployOpen helps platform teams review the PostgreSQL client path
PostgreSQL does not provide its own TLS code, so the client path depends on OpenSSL, libpq and each driver, pooler or proxy built on them. DeployOpen maps every component between an application and the PostgreSQL server, records the TLS settings each one actually uses, and documents what your team must confirm before enabling post-quantum key exchange.
How we scope
- Inventory every application, driver, connection pooler and proxy that opens connections to your PostgreSQL servers.
- Record the OpenSSL version and libpq version each client links against, since these set what the client can negotiate.
- Agree the written scope, deliverables and timeline in advance, with ongoing support available as a retainer.
How we build
- Check each client's sslmode, certificate verification and host name checking against your intended policy.
- Test whether the server's ssl_groups setting can take a hybrid group name with the OpenSSL build each client uses.
- Run test connections in a controlled environment and capture the negotiated key exchange group for each path.
How we hand over
- Deliver a written inventory listing each client component, its version, its TLS settings and its tested behavior.
- Flag clients whose libraries cannot negotiate the groups you need, and note which upgrades or rebuilds each would require.
- Provide a retest plan so your team can repeat the checks after each client, driver or OpenSSL upgrade.
How we support
- Retest the client path after upgrades to PostgreSQL, OpenSSL, libpq or any driver in the connection chain.
- Confirm with each vendor or project which versions they support before you change production settings.
- Keep the inventory current so your compliance and security teams can review it at each assessment.

