Skip to content

Make PG SkipCertVerification take effect in PG-PG PGdump#4395

Merged
pfcoperez merged 1 commit into
mainfrom
DBI-782/pg-pg/config/tls/disable-tls
Jun 8, 2026
Merged

Make PG SkipCertVerification take effect in PG-PG PGdump#4395
pfcoperez merged 1 commit into
mainfrom
DBI-782/pg-pg/config/tls/disable-tls

Conversation

@pfcoperez

Copy link
Copy Markdown
Member

Default to vreify CA level.

On the one hand, In #4388 aligned PG peers TLS configuration with other connectors, adding an overlapping configuration parameters disable_tls and skip_cert_verification:

peerdb/protos/peers.proto

Lines 131 to 132 in b31f943

optional bool disable_tls = 13;
bool skip_cert_verification = 14;

On the other hand, PG to PG pipes uses direct schema dump to reproduce source entities in target PG. The mentioned change made it use disable_tls but it didn't introduce reading skip_cert_verification. This was intentional because this changes makes the default more strict for PG schema dump process.

This PR brings "default to verify host" to the PG dump process in an isolated way to be reviewed separately.

@pfcoperez
pfcoperez requested a review from Amogh-Bharadwaj June 8, 2026 06:53
@pfcoperez
pfcoperez requested a review from a team as a code owner June 8, 2026 06:53
@claude

claude Bot commented Jun 8, 2026

Copy link
Copy Markdown

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

@pfcoperez
pfcoperez merged commit 8ef1698 into main Jun 8, 2026
16 of 17 checks passed
@pfcoperez
pfcoperez deleted the DBI-782/pg-pg/config/tls/disable-tls branch June 8, 2026 07:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants