NetworkSession.allowTlsCertificateForHost

void allowTlsCertificateForHost(gio.tls_certificate.TlsCertificate certificate, string host)

Ignore further TLS errors on the host for the certificate present in info.

If host is an IPv6 address, it should not be surrounded by brackets. This expectation matches [glib.uri.Uri.getHost].

Parameters

certificatea #GTlsCertificate
hostthe host for which a certificate is to be allowed