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 "accept-certificate" will always be emitted on client-side connections, unless that bit is not set in "validation-flags"). Since 2.28

class TlsConnection
void
setUseSystemCertdb

Parameters

useSystemCertdb int

whether to use the system certificate database

Meta