File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -28,9 +28,6 @@ var systemCertPool = x509.SystemCertPool
2828// Note: Since there isn't anything specific to a server connection. Components
2929// with server connections should use TLSSetting.
3030type TLSSetting struct {
31- // If true, load system CA certificates pool in addition to the certificates
32- // configured in this struct.
33- IncludeSystemCACertsPool bool `mapstructure:"include_system_ca_certs_pool"`
3431 // Path to the CA cert. For a client this verifies the server certificate.
3532 // For a server this verifies client certificates. If empty uses system root CA.
3633 // (optional)
@@ -39,6 +36,10 @@ type TLSSetting struct {
3936 // In memory PEM encoded cert. (optional)
4037 CAPem configopaque.String `mapstructure:"ca_pem"`
4138
39+ // If true, load system CA certificates pool in addition to the certificates
40+ // configured in this struct.
41+ IncludeSystemCACertsPool bool `mapstructure:"include_system_ca_certs_pool"`
42+
4243 // Path to the TLS cert to use for TLS required connections. (optional)
4344 CertFile string `mapstructure:"cert_file"`
4445
You can’t perform that action at this time.
0 commit comments