feat: allow setting SSL config (#25461)
* feat: allow setting SSL config * lint * configure system network context with min TLS1.2 * fix * note defaults
This commit is contained in:
parent
515e85079f
commit
27ea3fc069
7 changed files with 108 additions and 0 deletions
|
@ -229,6 +229,10 @@ SystemNetworkContextManager::CreateNetworkContextParams() {
|
|||
|
||||
network_context_params->http_cache_enabled = false;
|
||||
|
||||
auto ssl_config = network::mojom::SSLConfig::New();
|
||||
ssl_config->version_min = network::mojom::SSLVersion::kTLS12;
|
||||
network_context_params->initial_ssl_config = std::move(ssl_config);
|
||||
|
||||
proxy_config_monitor_.AddToNetworkContextParams(network_context_params.get());
|
||||
|
||||
return network_context_params;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue