Skip to content

Support sslrootcert=system in the connection string #1175

Open
@contrun

Description

There is a special value for sslrootcert system introduced in postgresql 16.

https://www.postgresql.org/docs/17/libpq-connect.html

The special value system may be specified instead, in which case the system's trusted CA roots will be loaded. The exact locations of these root certificates differ by SSL implementation and platform. For OpenSSL in particular, the locations may be further modified by the SSL_CERT_DIR and SSL_CERT_FILE environment variables.

This will make ssl connection to the postgresql server much less painful.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions