Does PostgreSQL support post-quantum cryptography today?
If an inventory or questionnaire asks whether PostgreSQL supports post-quantum cryptography, the short answer for the PostgreSQL 18 and 19 release notes and current documentation, checked 2026-12-03, is that none of them describe a post-quantum feature. Key exchange and signatures must be answered separately. The documentation covers neither a PostgreSQL-specific post-quantum key exchange nor a post-quantum signature or certificate feature, so record each as a separate line in your inventory.
Key exchange is the part that can move today, and it depends on OpenSSL, not on PostgreSQL's own code. PostgreSQL does not provide its own TLS implementation, so the setting ssl_groups (default X25519:prime256v1 in PostgreSQL 19) passes group names to the linked OpenSSL build. A pgsql-hackers message dated 2026-02-19 shows PostgreSQL 18 with ssl_groups set to X25519MLKEM768:X25519:prime256v1 negotiating the hybrid group X25519MLKEM768 over TLS 1.3 with OpenSSL 3.5. Treat that as a demonstrated configuration from a mailing list post, not a documented feature. The same thread says earlier versions could not do this because ssl_ecdh_curve rejected the ML-KEM group name, and it does not record a committer answer on backporting.
For signatures and certificates, the facts supply no PostgreSQL-specific support. Server certificates and keys are loaded from ssl_cert_file and ssl_key_file, and the documentation sets no restriction on key type beyond matching the certificate. Confirm with your PKI team and the vendor which certificate types your deployment uses, and check what the linked OpenSSL build offers before stating anything about post-quantum certificates.
Which PostgreSQL versions can negotiate a post-quantum group
This table compares PostgreSQL release lines on whether they can negotiate a post-quantum key exchange group, whether they support post-quantum signatures or certificates, and what they do by default. Read each row as a release line, and treat the key exchange column as conditional: it applies only when ssl_groups names a group that a supporting OpenSSL build provides. The main takeaway is that no release line documents post-quantum signatures or certificates, and no release enables a post-quantum group by default.
| Release line | Post-quantum key exchange | Post-quantum signatures or certificates | Default behavior |
|---|---|---|---|
| PostgreSQL 19 (19.0, first released 2026-11-19) | Possible only with ssl_groups set to a post-quantum group name and a supporting OpenSSL build | None documented | Default ssl_groups is X25519:prime256v1, with no post-quantum group |
| PostgreSQL 18 (18.7, first released 2025-09-25) | Possible only with ssl_groups set to a post-quantum group name and a supporting OpenSSL build; a 2026-02-19 developer message shows X25519MLKEM768 negotiated with OpenSSL 3.5 | None documented | Default ssl_groups is X25519:prime256v1, with no post-quantum group |
| Versions before 18 | Not possible through ssl_ecdh_curve, which rejected ML-KEM group names; the 2026-02-19 message asks whether this could be backported, and the thread shows no answer | None documented | Default ssl_ecdh_curve did not include a post-quantum group |
| PostgreSQL 14 | Not applicable; no longer supported as of 2026-12-03 | Not applicable | Not applicable |
| Source and date | PG Connection settings, 19 (checked 2026-12-03); PG hackers thread (2026-02-19) | PG 18 and 19 release notes and current server and libpq documentation (checked 2026-12-03) | PG Connection settings, 19 (checked 2026-12-03) |
Which key exchange group and which signature types PostgreSQL can use
PostgreSQL's TLS behavior is set by a small group of server and client settings, and a few of them are the only levers for key exchange. The documented defaults contain no post-quantum group, and the documentation names no post-quantum signature type for server certificates, so each card below separates what the server, the client and pgcrypto can and cannot do today.
Server key exchange groups with ssl_groups
On PostgreSQL 19 the server setting ssl_groups lists the named groups for TLS key exchange as a colon-separated list, and its documented default is X25519:prime256v1. That default contains no post-quantum group. Changing it is the only documented route to a different group, so check the value on every server and confirm that the OpenSSL build it links against supports any group you add. In PostgreSQL 18 this setting was named ssl_ecdh_curve, and the old name still works.
Hybrid group shown in a developer thread
A February 2026 message on the pgsql-hackers list shows PostgreSQL 18 with ssl_groups set to X25519MLKEM768:X25519:prime256v1 negotiating the hybrid group X25519MLKEM768 over TLS 1.3 with OpenSSL 3.5. The same message says earlier versions rejected the ML-KEM group name because of the old ssl_ecdh_curve setting, and asks whether the change could be backported without a committer answer in the text. Treat this as a demonstration in one build, not as a documented PostgreSQL feature.
TLS 1.3 cipher suites with ssl_tls13_ciphers
The server setting ssl_tls13_ciphers governs TLS 1.3 cipher suites and is separate from ssl_groups, which governs key exchange groups. When left blank, it uses OpenSSL's built-in suites. The ssl_ciphers setting covers TLS 1.2 and lower, with a default of HIGH:MEDIUM:+3DES:!aNULL. Neither setting selects a key exchange group or a signature type, so review them only for cipher policy, not as a post-quantum control.
No documented post-quantum certificate signatures
The PostgreSQL documentation checked on 2026-12-03 describes no certificate support for ML-DSA or SLH-DSA. The SSL documentation states no restriction on certificate key type, only that the private key must match the certificate loaded through ssl_cert_file and ssl_key_file. Whether a given certificate chain with a post-quantum signature loads depends on the linked OpenSSL build, so ask your certificate issuer and test the exact chain in your environment before planning around it.
Client side has no groups parameter
The libpq connection parameters page documents no client-side setting for choosing key exchange groups. Client certificates and keys default to ~/.postgresql/postgresql.crt and ~/.postgresql/postgresql.key, and the sslmode parameter, which defaults to prefer, controls certificate verification rather than key exchange. Any post-quantum group a client negotiates therefore comes from the OpenSSL build that libpq links against, so check that build on each client host, driver and pooler.
pgcrypto has no signing or post-quantum functions
The pgcrypto extension requires OpenSSL and provides digest functions such as md5, sha1 and the SHA-2 family, along with crypt types and symmetric encrypt and decrypt with bf and aes. Its PGP public-key functions cover DSA, Elgamal and RSA keys, and the page lists no signing functions and no post-quantum algorithm. pgcrypto is therefore not a route to post-quantum signatures or key exchange, and it is outside the TLS path entirely.
pgcrypto docsWhat the PostgreSQL support depends on
PostgreSQL does not ship its own TLS code. Both the server and the client rely on the OpenSSL library they were built against, so whether a post-quantum group can be negotiated depends first on that OpenSSL build. The server also reads the system-wide openssl.cnf, and the OPENSSL_CONF environment variable can point it at a different file. Engineers should confirm which OpenSSL version the server binary is linked to, and which configuration file the server process actually loads, before drawing any conclusion from the PostgreSQL settings alone. The ssl_groups setting passes its group list to OpenSSL, so a group name is only usable if the linked OpenSSL build supports it.
The one documented example of this is a pgsql-hackers message dated 2026-02-19. It shows PostgreSQL 18 with ssl_groups set to X25519MLKEM768:X25519:prime256v1 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. The facts do not document a minimum OpenSSL version for ML-KEM beyond that 3.5 example, so the reader should confirm the supported group list with the OpenSSL build in use. Also check the FIPS mode of that build, because the PostgreSQL 19 documentation states that X25519 is not allowed when OpenSSL is in FIPS mode, which would remove the default group from the negotiation.
On the OpenSSL floor, the PostgreSQL 18 release notes say support for OpenSSL versions older than 1.1.1 was removed. That is a compatibility floor, not a post-quantum requirement, and it does not tell a reader whether a given 1.1.1 or 3.x build has the groups they need. Client and server both need the same check: the server's ssl_groups decides what it offers, and the client's OpenSSL build decides what it can accept. The libpq documentation gives no client-side groups parameter, so the client's own OpenSSL build and configuration are the controls to review.
How to test whether a PostgreSQL connection negotiates ML-KEM
This sequence checks whether a PostgreSQL server and client agree on the ML-KEM hybrid group during the TLS handshake, using settings and an OpenSSL-based client tool you run yourself. It also confirms that clients without ML-KEM support still connect.
Confirm a supported PostgreSQL major version
Check which PostgreSQL build the server runs. As of 2026-12-03, the PostgreSQL versioning page lists 18 (18.7, released September 25, 2025) and 19 (19.0, released November 19, 2026) as supported. The ssl_groups setting that this test depends on was introduced in PostgreSQL 18 under its old name, ssl_ecdh_curve, so versions before 18 cannot use it. Run the server's version report from the database and record the exact release string, since the group behavior depends on the build as well as the major version.
Confirm the linked OpenSSL supports the group
PostgreSQL relies on OpenSSL for TLS, so the group must be supported by the OpenSSL library the server is linked against, not just by the PostgreSQL version. The documented example that negotiated the hybrid group used OpenSSL 3.5. Confirm the OpenSSL version that the server binary loads on its host, and check the build's own documentation for group support. If the linked library is older or uses a different provider, the ML-KEM group will not be available regardless of the PostgreSQL setting.
Set ssl_groups with the ML-KEM group first
Set the server parameter ssl_groups to a colon-separated list that places the ML-KEM hybrid group ahead of the classical groups, following the layout in the hackers thread of 2026-02-19: X25519MLKEM768:X25519:prime256v1. The documented default is X25519:prime256v1, which contains no post-quantum group. Write the change to postgresql.conf or set it with ALTER SYSTEM, then record the exact value so the test can be repeated. Keep the classical groups in the list so that clients without ML-KEM support can still complete the handshake.
Restart or reload the server as required
Check the parameter's context in the server documentation before choosing between a reload and a restart. Apply the change using the method that the setting requires, then confirm the new value is active from a fresh session. If the value does not change after the reload, assume the setting needs a full restart and repeat the check. Do not treat the change as applied until a new session shows the new value.
Verify the negotiated group from a client
The PostgreSQL documentation names no server command or SQL function that reports the negotiated key exchange group, so this verification step is your own test. From a client host with an OpenSSL-based tool built with ML-KEM support, open a TLS session to the server's port and inspect the handshake output for the group that was selected. Record the client tool, its OpenSSL version and the group reported. If the group shown is a classical one, the server and client did not agree on ML-KEM, and the cause needs to be found before the result is treated as a positive test.
Confirm clients without ML-KEM still connect
Repeat the connection from a client whose OpenSSL build does not support ML-KEM, or that offers only classical groups. The connection should complete using a classical group from the same ssl_groups list. Record the result, because a failure here means the list does not keep a fallback group, or that a client in your environment depends on settings the list does not provide. Keep both results with the configuration, so a reviewer can see the ML-KEM outcome and the fallback outcome side by side.
What PostgreSQL does not document as supported
The PostgreSQL 18 and 19 release notes and the current server and libpq documentation, as checked on 2026-12-03, do not describe post-quantum signatures, certificates, key exchange groups or validation. The items below are the gaps to confirm before you record PostgreSQL as post-quantum ready, since each one is a separate question about what the project has documented.
ML-DSA and SLH-DSA signatures and certificates
The checked pages document no ML-DSA, SLH-DSA or other post-quantum signature algorithm for server certificates, client certificates or certificate chains. The server reads ssl_cert_file, ssl_key_file and ssl_ca_file, and the documentation states only that the key must match the certificate, with no key type restriction. A post-quantum certificate would therefore depend on the linked OpenSSL build and the certificate tooling you use, not on a PostgreSQL setting. Ask the vendor or project directly whether any post-quantum signature path has been tested end to end.
SSL TCP docsPost-quantum groups in the default ssl_groups
The documented default for ssl_groups in PostgreSQL 19 is X25519:prime256v1, and it contains no post-quantum group. Hybrid ML-KEM use appears only when an administrator sets ssl_groups to a group name the linked OpenSSL build supports, as one February 2026 mailing list message shows for OpenSSL 3.5. Do not record a default configuration as post-quantum key exchange. Confirm the value on each server with SHOW ssl_groups and check the OpenSSL version it is built against.
Connection settingsClient-side group selection in libpq
The libpq connection parameters page documents no client-side parameter for choosing TLS key exchange groups. Clients therefore have no PostgreSQL-specific setting to request a post-quantum group, and the group negotiated is whatever the client's OpenSSL build and the server's ssl_groups allow. Driver and pooler teams that want to test a post-quantum handshake should confirm which OpenSSL version their client library loads, since that version sets the available groups.
libpq connection parametersML-KEM backport to versions before 18
A February 2026 pgsql-hackers message reports that PostgreSQL versions before 18 rejected the ML-KEM group name because ssl_ecdh_curve did not accept it. The message asks whether the change could be backported. The text available to me contains no committer answer, and the PostgreSQL 18 release notes do not record a backport. Treat versions before 18 as unsupported for this path unless the project publishes a backport. Confirm the current status on the thread before you record it.
Hackers threadpgcrypto post-quantum algorithms or signing
The pgcrypto documentation lists digest functions md5, sha1 and the SHA-2 family, crypt types, and encrypt and decrypt with bf and aes. Its PGP public-key support is documented for DSA, Elgamal and RSA, and the page lists no signing functions. No post-quantum algorithm appears in the checked pgcrypto pages. Any stored data protected through pgcrypto therefore inherits the public-key limits of those algorithms, and this should appear in your inventory.
pgcrypto docsProject validation or certification of post-quantum builds
The checked PostgreSQL pages publish no validation, certification or test report for any post-quantum build. The release notes and documentation do not name a validated module, version or issuer. Any post-quantum result you see in a test or a third-party build reflects that build's OpenSSL and configuration, not a PostgreSQL validation. Ask the project or your distributor for any written statement on validation before you cite one in evidence.
PG 19 release notesHow support differs by deployment type
A source build against OpenSSL is the case where the documented behavior applies most directly, because you choose the OpenSSL version and the configure options yourself. PostgreSQL relies on OpenSSL for TLS and reads the system-wide openssl.cnf, so the library you link against determines which key exchange groups are available. The documented default for ssl_groups is X25519:prime256v1, and the documentation shows no post-quantum group in that default. A hybrid ML-KEM group appears only when ssl_groups names a group that your linked OpenSSL build supports, as one 2026-02-19 pgsql-hackers message shows for PostgreSQL 18 with OpenSSL 3.5.
- Linked OpenSSL version: Record the exact version that
configurefound, since group support depends on it. ssl_groupssetting: The default contains no post-quantum group, so any hybrid group must be set explicitly.- Version of PostgreSQL: The 2026-02-19 example was on PostgreSQL 18, and the thread reports that earlier versions rejected the ML-KEM group name in
ssl_ecdh_curve. - OPENSSL_CONF: Confirm which openssl.cnf the server reads, since the environment variable can redirect it.
- Client libraries: Check that each libpq client was built against an OpenSSL that also supports the group.
Confirm these items against your own build output and configuration before you record any support statement.
Operating-system and distribution packages of PostgreSQL carry their own OpenSSL version and build options, and the facts supplied for this page do not name any distribution build. A package may link a different OpenSSL than the one you tested, or enable and disable options that change what ssl_groups accepts. Treat the documented defaults as the upstream baseline and verify each package separately, because the vendor patch set may differ.
- Package OpenSSL version: Find the linked OpenSSL version in the package metadata or by running the server binary's linked libraries.
- Build options: Ask the distributor which configure options were used and whether SSL support is compiled in.
- Major version: Confirm the packaged PostgreSQL major version, since the release notes differ between versions.
- Backported changes: Ask whether the distributor backported any TLS changes, since patch-level packages can differ from upstream.
- Update cadence: Ask how quickly security fixes to the bundled OpenSSL reach the package.
Record the package name, version and OpenSSL version together, because the answer applies only to that combination.
Managed and cloud-hosted PostgreSQL services run a PostgreSQL build the provider controls, and the facts for this page cover no vendor-managed service. The provider decides the OpenSSL version, the ssl_groups setting, which settings you can change, and whether the server accepts hybrid key exchange at all. Upstream documentation describes the open-source server, so it does not tell you what a managed instance does. You need the provider's own statement for each service and region you use.
- Provider-set TLS policy: Ask whether the service lets you change
ssl_groupsorssl_min_protocol_version, or fixes them. - Underlying OpenSSL version: Ask which OpenSSL version the service uses and when it is updated.
- Client connection path: Ask whether the provider's proxy or load balancer terminates TLS, since that changes which library negotiates the key exchange.
- Certificate and key handling: Ask who manages the server certificate and private key, and whether you can supply your own.
- Written statement: Request the provider's documented position on post-quantum key exchange for the service version you run.
Do not assume that a managed service behaves like the upstream defaults until the provider confirms it in writing.
The facts supplied for this page contain no information about commercial PostgreSQL editions, and their TLS, key exchange and build choices may differ from the community server. Do not assume that a commercial edition has the same defaults, OpenSSL version or group support as the community source. Ask the vendor for each edition and version you plan to use, and record the answer against that edition name.
- Edition and version: Name the exact commercial edition and version the vendor's answer applies to.
- Bundled TLS library: Ask which TLS library and version the edition ships with, and whether it can be changed.
- Key exchange configuration: Ask which named groups the edition accepts and whether any post-quantum group is available.
- Support statement: Ask for the vendor's written position, with the date, for post-quantum key exchange in that edition.
- Upgrade path: Ask what changes are needed when the edition gains post-quantum support, and whether that requires a new major version.
Without a vendor statement for the specific edition, record the support status as unconfirmed.
What changes when a post-quantum group is turned on
Turning on a post-quantum key exchange group in PostgreSQL changes only the TLS key exchange step, and only when both sides can use it. The server's ssl_groups setting is a colon-separated list of named groups, and the documented default is X25519:prime256v1, which contains no post-quantum group. A hybrid group such as X25519MLKEM768 is negotiated only if the client also offers it, and the server's OpenSSL build supports it. A client without support falls back to the classical groups in the list, so an upgraded server still accepts older clients. Test this with a client you actually run, because a successful connection from a newer client does not show what an older one will negotiate.
The group choice is separate from the other security settings on a connection. Client certificate checking is controlled by ssl_ca_file and the clientcert=verify-ca or clientcert=verify-full options on hostssl lines in pg_hba.conf, or by the cert authentication method. Server certificate verification is controlled by the client's sslmode, where verify-full checks both the CA chain and the host name. The channel_binding option, which defaults to prefer, and the sslmode setting are not changed by which key exchange group is negotiated. Changing ssl_groups therefore does not alter who is authenticated or how certificates are checked.
The facts supplied give no figures on handshake size, latency, or how firewalls, load balancers and TLS-inspecting middleboxes handle larger hybrid key exchange messages. Measure these in your own environment before rollout, with the exact OpenSSL build, client libraries and network path your connections use. Confirm in the PostgreSQL 19 connection settings reference and your OpenSSL documentation which group names your build accepts, since PostgreSQL 18 and earlier could not set the ML-KEM group name through ssl_ecdh_curve.
What a team should do next, by situation
Each team's next step depends on its PostgreSQL major version, its OpenSSL build and what a customer or contract requires of it. The steps below separate what can be tested now from what needs a planned upgrade and what must be recorded accurately in an assessment.
Confirm the PostgreSQL version and OpenSSL build
The database administrator runs SHOW server_version to record the major version, then checks which OpenSSL library the server and each client link against. PostgreSQL 18 and 19 are the versions this page covers, and PostgreSQL 18.7 is listed as supported as of 2026-12-03. Confirm the OpenSSL version on the server host and in each client package, since the library, not PostgreSQL, supplies the key exchange groups. The step is done when the version, the OpenSSL build and the owner of each are written in the inventory.
Test ssl_groups on PostgreSQL 18 or 19 outside production
On a PostgreSQL 18 or 19 server linked to an OpenSSL build that supports the ML-KEM hybrid group, the database engineer sets ssl_groups to a list that includes the hybrid group, such as X25519MLKEM768:X25519:prime256v1, in a non-production environment. The reference thread reports that this negotiated the hybrid group over TLS 1.3 with OpenSSL 3.5, so the engineer should confirm the group is supported by the linked build before relying on that result. Record the negotiated group from a test client and the PostgreSQL version in the test record. Do not change the production default, which is X25519:prime256v1 and contains no post-quantum group.
Plan an upgrade for versions before 18
On a PostgreSQL version before 18, ssl_groups cannot take the ML-KEM group name, because the thread reports that ssl_ecdh_curve rejected it. The team should add a planned upgrade to a supported major version to its inventory, using the PostgreSQL versioning page to check support status. Note in the plan that the post-quantum test of the thread asked whether the change could be backported to earlier versions, and that the thread text the team can read contains no committer answer. Ask the vendor or the PostgreSQL community whether a backport is planned before counting on one.
Record the questionnaire answer with its date and test
When a vendor questionnaire or customer assessment asks about post-quantum support, the security or compliance lead records the answer as no documented post-quantum feature in the PostgreSQL 18 and 19 release notes and server and libpq documentation, as checked on 2026-12-03. Attach the 2026-02-19 hackers thread as the test evidence, and state that the result depends on the OpenSSL build and on setting ssl_groups by hand. Keep the date on the answer, since the documentation can change. The step is done when the answer, its checking date and its evidence sit together in the assessment record.
Ask the customer what a CNSA 2.0 clause requires
When a federal contract cites CNSA 2.0, the contract or compliance lead reads the clause and asks the customer what it requires of this PostgreSQL deployment, in writing. The NSA guidance applies to national security systems, and the contract terms define any requirement that binds the supplier. Do not treat that guidance as binding on a commercial organization on its own. The step is done when the customer's written answer, or a documented decision to ask further, is filed with the contract.
What to ask PostgreSQL project maintainers or your distributor
The PostgreSQL documentation checked on 2026-12-03 records no published roadmap for post-quantum cryptography. The questions below are the ones to put to the project, to your distributor or to your managed service provider, so that each answer can be recorded and checked against a version and a build.
Documented post-quantum support and dates
Ask whether any PostgreSQL release will document post-quantum key exchange or signatures, and by what date. The PostgreSQL 18 and 19 release notes and the current server and libpq documentation, as checked on 2026-12-03, do not mention post-quantum cryptography, ML-KEM, ML-DSA or SLH-DSA. Record the answer with the version it applies to and the date it was given, and ask for it in writing.
PG 19 release notesBackporting ML-KEM to older versions
The pgsql-hackers thread of 2026-02-19 reports that PostgreSQL versions before 18 rejected the ML-KEM group name in ssl_ecdh_curve, and asks whether that change could be backported. The thread text reviewed contains no committer answer. Ask the project whether a backport is planned for versions still in support, and ask your distributor whether it would carry one.
Hackers threadOpenSSL versions tested with ML-KEM
PostgreSQL relies on OpenSSL on both client and server, and ssl_groups is passed to OpenSSL. The thread shows a PostgreSQL 18 build negotiating X25519MLKEM768 with OpenSSL 3.5. Ask the project which OpenSSL versions it tests with ML-KEM group names, and whether any test coverage exists for this setting. Your own build must still be checked against the group names your OpenSSL version supports.
Connection settings, 19A groups parameter for libpq
The libpq connection parameters page documents no client-side groups parameter. Ask whether the project plans to add one, so that client applications can choose key exchange groups in the same way the server does with ssl_groups. Until one exists, client-side key exchange follows the OpenSSL build linked into each client library, so record which clients you run and which OpenSSL they link.
libpq connection parametersPost-quantum certificate types
The PostgreSQL documentation does not state any restriction on the key type of server certificates, only that the key must match the certificate. Ask whether any post-quantum certificate or signature type is planned for server, client or certificate authentication, and by when. Record the answer alongside the certificate authority you rely on, because certificate issuance is controlled by that authority, not by PostgreSQL.
SSL TCP docsDistribution and managed service build details
If you receive PostgreSQL from a Linux distribution or a managed service, ask which OpenSSL version and which build options they ship, and whether that build supports the hybrid group names in ssl_groups. A managed service may not expose ssl_groups at all. Ask for the answer per product and version, and check it against the server setting your service allows you to change.
PG Versioning pageQuestions engineers and vendor-risk reviewers ask about PostgreSQL post-quantum support
Is PostgreSQL quantum safe?
No vendor or project claim of that kind is made, and the facts do not support calling PostgreSQL quantum safe. The PostgreSQL 18 and 19 release notes and the current server and libpq documentation, checked 2026-12-03, do not mention post-quantum cryptography, ML-KEM, ML-DSA or SLH-DSA. What the facts do show is a hybrid key exchange demonstrated on PostgreSQL 18 with ssl_groups set to X25519MLKEM768:X25519:prime256v1 and OpenSSL 3.5, as described in a pgsql-hackers message dated 2026-02-19. That is a demonstration in a thread, not a documented feature. Treat the result as a configuration you must verify in your own build, not as a property of the product.
Which PostgreSQL version is needed for post-quantum key exchange?
The facts point to PostgreSQL 18 or later, paired with an OpenSSL build that supports the hybrid group. The hybrid group was negotiated on PostgreSQL 18 with OpenSSL 3.5. The same thread 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 contains no committer answer, so do not assume earlier releases will receive it. Confirm the minimum version and OpenSSL build with the PostgreSQL project and your distribution before planning.
Does enabling post-quantum TLS on PostgreSQL cost extra?
The facts give no price, and PostgreSQL itself is open source, so the main costs are in the work around it. Expect cost in OpenSSL build and packaging work, testing of every client and driver in the connection path, and staff time to set and verify ssl_groups. Ask your team or any outside provider to quote these as separate line items: the OpenSSL version you will run, the build or package changes, the client test plan, and the rollout window. Costs recur when you take new PostgreSQL and OpenSSL releases, so ask what maintenance each option needs after the first change.
What breaks if a client does not support the hybrid group?
The facts do not describe a specific failure mode for a client that lacks the group, so do not assume a clean fallback. The server can only negotiate groups that both sides offer, and the libpq connection parameters page documents no client-side setting to choose key exchange groups. Test every client, driver, pooler and proxy in the path before changing ssl_groups on a production server. Keep a rollback plan that restores the documented default of X25519:prime256v1, and confirm in a lab how each client behaves when the hybrid group is offered first.
What should I ask PostgreSQL or my vendor about post-quantum plans?
Ask for a written statement covering the minimum PostgreSQL and OpenSSL versions for hybrid key exchange, whether the project plans to make ML-KEM groups a documented setting, and whether any backport to earlier major versions is planned. Also ask whether client libraries and drivers you use will expose a way to choose groups, and whether signature or certificate support is planned. The PostgreSQL project has published no post-quantum roadmap in the documentation checked on 2026-12-03, so any answer should be dated and attributed to a named source. See the vendor questions section of this page for the full list.
Can my team test this in a lab, or do we need outside help?
Your team can test the hybrid group in a lab without outside help, provided you have a PostgreSQL 18 build linked to OpenSSL 3.5 or later. Set ssl_groups to a list that includes the hybrid group, confirm the negotiated group with your client tools, and record every client that fails. Moving this into production usually needs planning, configuration and testing across your own infrastructure. DeployOpen can plan, configure and test the change in your environment under a written scope agreed before work starts, and it does not issue audit reports or certifications. Ask for a fixed-scope proposal that lists the systems, clients and deliverables covered.
How DeployOpen helps plan and test PostgreSQL post-quantum settings
DeployOpen works through the PostgreSQL settings that affect post-quantum readiness, starting with the server version and OpenSSL build in your environment. We confirm what your deployment actually negotiates before recommending any change, since the documented defaults and the behavior of a given build can differ.
How we scope
- We confirm the PostgreSQL major version, OpenSSL build and client libraries in use across your estate.
- We identify which connections, replication links and client types would be affected by a change to ssl_groups.
- Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
How we build
- We test whether your server negotiates a hybrid ML-KEM group when ssl_groups lists one, using a lab build with a supported OpenSSL.
- We check each client path in a test environment, including whether the client library and TLS stack accept the same groups.
- We document every setting we changed, with the version and build it applies to, so your records match what was tested.
How we hand over
- You receive a written report covering the tested versions, the settings used and the observed negotiated groups.
- The report states what PostgreSQL's documentation does not cover, so your team can ask the vendor or project directly.
- We provide configuration files and a rollback procedure for the ssl_groups setting, so your team can reproduce the results.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers when your PostgreSQL build or OpenSSL changes.
- We can retest after each PostgreSQL minor release, since release notes may change TLS defaults or group handling.
- Support covers questions from your assessors about the evidence gathered, with the test results kept in a form your team can file.

