Function net::connector::create_tls_config
source ยท pub fn create_tls_config(
ca_certificates: CACertificates,
ignore_certificate_errors: bool,
override_manager: CertificateErrorOverrideManager,
) -> TlsConfig
Expand description
Create a TlsConfig to use for managing a HTTP connection. This currently creates a rustls ClientConfig.
FIXME: The ignore_certificate_errors
argument ignores all certificate errors. This
is used when running the WPT tests, because rustls currently rejects the WPT certificiate.
See https://github.com/servo/servo/issues/30080