Quantum-secure PostgreSQL: SSL and the client path

PostgreSQL uses OpenSSL for TLS. Check the server SSL settings, the certificate chain and the client negotiation; the database protocol is not a PQ guarantee.

Quick answer: PostgreSQL uses OpenSSL for TLS. Check the server SSL settings, the certificate chain and the client negotiation; the database protocol is not a PQ guarantee.

What this guide covers

This guide covers TLS key exchange and certificate readiness for PostgreSQL. It does not cover data at rest, code signing or QKD, where those are separate controls.

Fix it

Check ssl = on, ssl_min_protocol_version, ssl_ecdh_curve and the certificate files in postgresql.conf. The server must link OpenSSL 3.5+ for hybrid ML-KEM. Keep a classical fallback and test the client driver separately.

Verify it

Use openssl s_client -starttls postgres -groups X25519MLKEM768 against the server where supported, or test the TLS listener from a client. Add the host on quantum/quantumcert if the port is reachable from an agent.

Failure example

The server links OpenSSL 3.5, but the client driver bundles an older library. The server-side test passes and the application stays classical. Test the client path your application uses.

Automate it

  • Use a Command Processor to collect the version, linked TLS library and effective configuration.
  • Use an AgentFlow to inventory the host, add the quantum and quantumcert checks and produce a report.
  • Use a Connect to repeat the check and alert on regression.

Limits

  • One target, one port and one agent per check.
  • The agent's algorithm set matters.
  • Key exchange and certificate signatures are separate.
  • No data-at-rest or QKD coverage.
  • A clean check does not prove every service or virtual host is configured.

Next

Keep exploring

Quantum-secure MySQL and MariaDB: TLS listeners

The server and client TLS stack decide the group. Check tls_version, the linked OpenSSL and the certificate, then test from the client path.

Quantum-secure OpenSSL: hybrid TLS that actually negotiates

Enable hybrid ML-KEM key exchange on OpenSSL 3.5+, prove the negotiated group, and separate the session from the certificate.

Find the OpenSSL your services actually use

Inventory the OpenSSL version, providers and linked services before changing a TLS setting that may not apply.

Browse the library · Quantum readiness docs · Check a system