Certificates and verify-full
What certificate your database endpoint presents, what a client has to do to verify it properly, what rotation asks of you, and what a compromise would reach.
Your database endpoints present a certificate issued by a public authority, covering both of their
hostnames: the direct one and the one ending in -pooler. Every connection is encrypted. A client
that also verifies the certificate checks it against roots it already has. There is no bundle to
install and no path to configure.
Verify it
psql "postgresql://[email protected]/appdb?sslmode=verify-full&sslrootcert=system"The default line on the Connect tab is sslmode=require, which encrypts the connection and accepts a
certificate from anyone. That protects against passive interception and not against an active one.
verify-full checks the chain and that the hostname matches, and it is what Verify the
certificate on the Connect tab gives, in each client's own form.
TLS and certificate verification lists them, and
how each was shown to refuse a wrong certificate.
sslrootcert=system needs libpq 16 or newer. libpq 14 and 15 refuse the line rather than connect
without the check.
Connect to the hostname, not to an IP address. verify-full matches the hostname against the
certificate and an IP address will not match.
The private key
The private key is generated on the host that runs your service, inside that service's own directory, owned by the service user at mode 0600. PostgreSQL refuses to start with a key any wider than that.
The key never leaves the host. The host builds a certificate signing request; the control plane completes the authority's challenge and returns a signed certificate. Nothing carries the key to another host, to the control plane or into a secrets store.
What replaced the earlier design
Until 22 September 2026 this page described issuance from a certificate authority of ours, with a
bundle customers would deploy alongside their application. That design is withdrawn. It was never
built, no such authority ran, and the bundle it depended on was never downloadable, so
verify-full against a Balta service was not something a customer could execute.
Public issuance is the design now, for one reason that outweighs the rest: it verifies against a store the customer's platform already maintains, so the step that was never finished is a step that no longer exists. The internal private authority stays where it was, for mutual TLS between our own components on our own network. It is not what your connection is presented.
Rotation
Certificates are short-lived, and a short lifetime is the revocation control that actually works here, because PostgreSQL clients rarely check revocation lists.
Replacement changes nothing on your side. A client that verifies checks against roots your
operating system, your JVM, your Node build or certifi maintains, and those roots are not ours to
rotate.
What a compromise would reach
Stated plainly, because a vague claim here is worth nothing:
| Compromised | Reaches |
|---|---|
| One database runtime | The private key for that endpoint. Nothing that impersonates another customer |
| One host, at root | The private keys of the endpoints on that host |
| The control plane | The ability to order new certificates for hostnames we control |
No key on a database host can be presented for a hostname it does not cover, because each key is generated for one service and the certificate over it names that service's two endpoints.