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

GROUP-105 Updated configuration to correctly identify root certs paths #41

Merged
merged 1 commit into from
Jun 26, 2024

Conversation

makmn1
Copy link
Member

@makmn1 makmn1 commented Jun 26, 2024

Description of Changes

This pull request solves two issues with how the root certificate for the Postgres server is passed to the R2DBC and JDBC drivers.

R2DBC Driver Handling of sslRootCert Property

The driver searches in the classpath by default. Providing a the classpath: prefix should then be avoided. If the file cannot be found in the classpath, it's searched as a normal file URL.

Source

JDBC Driver Handling of sslRootCert Property via Flyway

The driver seems to use the classpath: prefix. However, we have to provide the certificate path via the URL, since Flyway Community Edition does not support JDBC properties passed through the YML configuration.

@makmn1 makmn1 self-assigned this Jun 26, 2024
@makmn1 makmn1 merged commit 4d9369a into main Jun 26, 2024
2 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.

1 participant