Skip to content

Comments

fix: do not verify TLS cert when connecting to the DB#603

Merged
hauleth merged 1 commit intomainfrom
do-not-verify-tls-cert
Feb 21, 2025
Merged

fix: do not verify TLS cert when connecting to the DB#603
hauleth merged 1 commit intomainfrom
do-not-verify-tls-cert

Conversation

@hauleth
Copy link
Contributor

@hauleth hauleth commented Feb 21, 2025

No description provided.

@hauleth hauleth requested a review from a team as a code owner February 21, 2025 12:13
@hauleth
Copy link
Contributor Author

hauleth commented Feb 21, 2025

To clarify, it is safe, as it is how it was working in OTP 25. OTP 26 or 27 changed that to default to :verify_peer. This forces old behaviour (as otherwise it will fail). I wasn't sure if I can use OS provided root certs to verify that certificate, so I set it to :verify_none. This still uses secure communication.

@hauleth hauleth merged commit fae3576 into main Feb 21, 2025
7 of 8 checks passed
@hauleth hauleth deleted the do-not-verify-tls-cert branch February 21, 2025 12:26
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