-
Notifications
You must be signed in to change notification settings - Fork 17
Changed default: enable SSL certificate verification by default #27
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -19,7 +19,7 @@ struct HttpConfig { | |
| bool use_ssl = true; | ||
| int connection_timeout_sec = 30; | ||
| int read_timeout_sec = 120; | ||
| bool verify_ssl_cert = false; | ||
| bool verify_ssl_cert = true; | ||
|
||
|
|
||
| // Retry configuration | ||
| retry::RetryConfig retry_config; | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This security-sensitive default merits an explanatory comment (e.g., rationale, how to override for self-signed certificates) above the field to prevent silent confusion. Suggest adding a brief doc comment: // When true, performs SSL certificate validation. Set to false only for controlled test environments with self-signed certs.