Skip to content

Conversation

@jakubenglicky
Copy link
Contributor

Add key sslrootcert for define path to CA Root Cert, if sslmode: verify-ca defined.

@hrach
Copy link
Member

hrach commented Mar 10, 2025

Couldl you please update

| `ssl*` | *MySQL only*; use `sslKey`, `sslCert`, `sslCa`, `sslCapath` and `sslCipher` to set SSL options for connection; |
as well? I.e. add pgsql options there :) thx

@hrach
Copy link
Member

hrach commented Mar 27, 2025

@jakubenglicky does it work for you? :)

@jakubenglicky
Copy link
Contributor Author

@jakubenglicky does it work for you? :)

Unfortunately, it's not working. Please leave it open for a while. I can see the correct path to the certificate in the connection string, but I still get an exception, even though i defined path like that /etc/do-certs/ca-certificate.crt
Screenshot 2025-03-28 at 11 57 07

@jakubenglicky
Copy link
Contributor Author

@hrach Hi. Now, it's work! Is it possible to merge it?

@hrach
Copy link
Member

hrach commented Oct 21, 2025

@jakubenglicky thx, both keys are correct/needed? :) thx

@hrach
Copy link
Member

hrach commented Oct 22, 2025

Docs here https://www.postgresql.org/docs/current/libpq-connect.html
Maybe we miss sslkey as well :)

@hrach hrach merged commit 851b91f into nextras:main Oct 22, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants