-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Postgresql SSL support #1288
Comments
I haven't found one |
Same problem here. |
Does this not work? |
Same here - Tried @loganmarchione workaround, and I see the string in the config.php file with the options, but still gives the same error... |
Bit of advice after playing with this for a while... In addition to using the postgresql host as a full connection string, you may also need to provide env vars for postgresql, otherwise it may always look in
To fix where it looks for the certs, try setting the following env vars to the paths you want to use (full docs here):
Spent a while on this, so hope that helps some friends down the line. |
Issue
Postgres configuration should support SSL mode.
I'm wanting to use this with a Postgres distribution that enforces SSL on connection.
Currently, the error is:
To fix this, a variable should be available:
POSTGRES_SSLMODE
which sets?sslmode=
in the connection string (orsslmode
variable equivalent)The text was updated successfully, but these errors were encountered: