Skip to content
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

Add sslMode to require in PostgresqlConnectionConfiguration #2109

Merged
merged 2 commits into from
Mar 15, 2024

Conversation

Arsnael
Copy link
Contributor

@Arsnael Arsnael commented Mar 13, 2024

Default is disabled in rd2bc conf, which is an issue when trying to connect to a postgresql db using ssl.

Yes it's dirty, it was to be able to test quickly if I could connect to a postgresql db backed up by ovh service or not.

Result is yes it works :)

Will work on making the sslMode configurable at least.

Would probably be beneficial to make the all ssl configurable in case James is backed by a postgres db hosted internally with specific ssl certs, but we can probably do that later/have a ticket for it.

@Arsnael Arsnael self-assigned this Mar 13, 2024
@Arsnael Arsnael marked this pull request as ready for review March 13, 2024 07:20
@Arsnael
Copy link
Contributor Author

Arsnael commented Mar 13, 2024

That should be better :)

Ready for review

Default mode on r2dbc lib is disable, which makes our client failing to login in case ssl is required by the postgres db.
@Arsnael Arsnael changed the title POC Add sslMode to require in PostgresqlConnectionConfiguration Add sslMode to require in PostgresqlConnectionConfiguration Mar 13, 2024
@Arsnael Arsnael merged commit e8dd1d4 into apache:postgresql Mar 15, 2024
1 check 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
4 participants