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
quantumandquantumcertchecks 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.