TLSMode

TLS Modes. For better security, use as many flags as possible.

Values

ValueMeaning
none

No TLS

enabled1 << 0

Basic TLS, ignore all certificate errors

requireValidCert1 << 1

Require at least a valid certificate, trustworthiness not checked

requireMatchingName1 << 2

Require the certificate to match the hostname

requireTrust1 << 3

Require the certificate to have a trustworthy certificate chain

Meta