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

schema-only sync ignoring ssl cert path #119

Closed
terkin opened this issue Apr 16, 2021 · 1 comment
Closed

schema-only sync ignoring ssl cert path #119

terkin opened this issue Apr 16, 2021 · 1 comment

Comments

@terkin
Copy link

terkin commented Apr 16, 2021

So my config looks like

to: postgres://XXX:5432/XXX?sslmode=verify-full&sslrootcert=BaltimoreCyberTrustRoot.crt.pem

and tables sync works fine, but when I am trying to run
pgsync table_xxx --schema-only --debug
I got:

pg_restore: error: connection to database "XXX" failed: root certificate file "/Users/XXX/.postgresql/root.crt" does not exist Either provide the file or change sslmode to disable server certificate verification.

so it seams like its ignoring some db uri params during this sync mode

@ankane
Copy link
Owner

ankane commented Apr 26, 2021

Hey @terkin, thanks for reporting! This turned out to be a security vulnerability and is fixed in 0.6.7. See #121 for more info.

@ankane ankane closed this as completed Apr 26, 2021
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

No branches or pull requests

2 participants