diff --git a/common/helpers/tls.go b/common/helpers/tls.go index 0c674c53..068d9bbb 100644 --- a/common/helpers/tls.go +++ b/common/helpers/tls.go @@ -14,7 +14,7 @@ import ( // TLSConfiguration defines TLS configuration. type TLSConfiguration struct { // Enable says if TLS should be used to connect to brokers - Enable bool `validate:"required_with=CAFile CertFile KeyFile Username Password SASLAlgorithm"` + Enable bool `validate:"required_with=CAFile CertFile KeyFile"` // Verify says if we need to check remote certificates Verify bool // CAFile tells the location of the CA certificate to check broker