WebKit2.WebContext.prototype.allow_tls_certificate_for_host

function allow_tls_certificate_for_host(certificate: Gio.TlsCertificate, host: String): void {
    // Gjs wrapper for webkit_web_context_allow_tls_certificate_for_host()
}
  

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

Since 2.6

certificate

a Gio.TlsCertificate

host

the host for which a certificate is to be allowed