allowTlsCertificateForHost

fun allowTlsCertificateForHost(certificate: <Error class: unknown class>, host: String)

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 g_uri_get_host().

Since

2.40

Parameters

certificate

a #GTlsCertificate

host

the host for which a certificate is to be allowed