TlsConnection.setUseSystemCertdb

Sets whether @conn uses the system certificate database to verify peer certificates. This is %TRUE by default. If set to %FALSE, then peer certificate validation will always set the %G_TLS_CERTIFICATE_UNKNOWN_CA error (meaning #GTlsConnection::accept-certificate will always be emitted on client-side connections, unless that bit is not set in #GTlsClientConnection:validation-flags).

More...
class TlsConnection
void
setUseSystemCertdb

Parameters

useSystemCertdb bool

whether to use the system certificate database

Detailed Description

Deprecated: Use g_tls_connection_set_database() instead

Meta