-
Notifications
You must be signed in to change notification settings - Fork 150
[PERF FW] Insecure cert libcurl #3434
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
97738dd
f1b4161
c786f1a
5bd9ecf
bdc4903
61520e2
5308b04
4be12ad
f37342d
97c452f
9403da2
cf3c6e5
9ac1b53
1c2332d
176c661
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 |
|---|---|---|
|
|
@@ -128,7 +128,11 @@ namespace Azure { namespace Core { namespace Http { | |
| */ | ||
| struct WinHttpTransportOptions final | ||
| { | ||
| // Empty struct reserved for future options. | ||
| /** | ||
| * @brief When `true`, allows an invalid certificate authority. If this flag is set, the | ||
| * application does not receive a WINHTTP_CALLBACK_STATUS_FLAG_INVALID_CA callback. | ||
| */ | ||
| bool IgnoreUnknownServerCert = false; | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should we avoid abbreviations and use nit: What should the reader infer from
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. In a TLS 1.2 connection, there are two possible certificates: The server certificate and the client certificate. The server validates the client certificate, and the client validates the server certificate. This variable controls the validation of the server certificate, so it makes sense to me that the variable name should probably include "Server", since there is some level of ambiguity present. Having said that, the variable doesn't control if it ignores an unknown server certificate, instead as you mentioned, the flag controls if an unknown CA should be allowed, which is somewhat different (a server certificate could be invalid if (for instance) the subject didn't match the IP address of the server - this flag doesn't disable that check). |
||
| }; | ||
|
|
||
| /** | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.