fix: accept RDS certificates without EKU using verified OpenSSL TLS
This commit is contained in:
@@ -45,6 +45,9 @@ For CLI PostgreSQL connections, use --ca-bundle PATH before the connection strin
|
||||
and specify sslmode=require. Unset PGSSLROOTCERT; legacy launchers are rejected
|
||||
instead of silently losing their custom CA verification.
|
||||
Only the selected bundle is trusted for that connection; system trust is unchanged.
|
||||
Explicit CA bundles use OpenSSL verification for compatibility with RDS certificates
|
||||
that omit Extended Key Usage; incompatible EKU, invalid chains, dates, and hostnames
|
||||
are still rejected. System trust uses the native platform TLS verifier.
|
||||
Certificates and hostnames are verified before authentication; no plaintext fallback
|
||||
with a CA bundle. Missing, empty, or invalid selected files block connection.
|
||||
Use a bundle from the trusted issuer, not an unverified server's certificate.
|
||||
|
||||
Reference in New Issue
Block a user