Skip to content

feat(options): Add skip_verify param #3216

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

Merged
merged 5 commits into from
Feb 4, 2025
Merged

feat(options): Add skip_verify param #3216

merged 5 commits into from
Feb 4, 2025

Conversation

jouir
Copy link

@jouir jouir commented Dec 29, 2024

When parsing a URL, add a "skip_verify" query param to disable TLS certificate verification.

Inspired by various Go drivers:

Partially related to #2024.

When parsing a URL, add a "skip_verify" query param to disable TLS certificate
verification.

Inspired by various Go drivers:

* ClickHouse: https://github.com/ClickHouse/clickhouse-go/blob/v2.30.0/clickhouse_options.go#L259
* MongoDB: https://github.com/mongodb/mongo-go-driver/blob/v2.0.0/x/mongo/driver/connstring/connstring.go#L609
* MySQL: https://github.com/go-sql-driver/mysql/blob/v1.8.1/dsn.go#L175

Signed-off-by: Julien Riou <julien@riou.xyz>
@jouir
Copy link
Author

jouir commented Dec 31, 2024

The CI seems to be broken for recent pull requests, not because of this change.

@ndyakov
Copy link
Member

ndyakov commented Feb 3, 2025

@jouir Thank you for contributing. Would you mind adding more information in the godoc of ParseURL ?

@ndyakov ndyakov merged commit 3d4310a into redis:master Feb 4, 2025
15 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.

2 participants