You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+17Lines changed: 17 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -137,6 +137,7 @@ See:
137
137
--tls-client-key-password string Password to decrypt rsa private key
138
138
--tls-enable Whether or not to use TLS when connecting to the broker
139
139
--tls-insecure-skip-verify It controls whether a client verifies the server's certificate chain and host name
140
+
--same-client-cert-enable Use only when mutual TLS is enabled on proxy and broker. It controls whether a proxy validates if proxy client certificate matches brokers client cert (tls-client-cert-file)
140
141
141
142
### Usage example
142
143
@@ -213,6 +214,22 @@ SASL authentication is performed by the proxy. SASL authentication is enabled on
Server.Flags().BoolVar(&c.Kafka.TLS.SameClientCertEnable, "same-client-cert-enable", false, "Use only when mutual TLS is enabled on proxy and broker. It controls whether a proxy validates if proxy client certificate matches brokers client cert (tls-client-cert-file)")
154
+
152
155
// SASL by Proxy
153
156
Server.Flags().BoolVar(&c.Kafka.SASL.Enable, "sasl-enable", false, "Connect using SASL")
154
157
Server.Flags().StringVar(&c.Kafka.SASL.Username, "sasl-username", "", "SASL user name")
returnerrors.New("ClientCertFile is required on Kafka TLS and TLS must be enabled on both Proxy and Kafka connections when SameClientCertEnable is enabled")
324
+
}
321
325
ifc.Auth.Local.Enable&&c.Auth.Local.Command=="" {
322
326
returnerrors.New("Command is required when Auth.Local.Enable is enabled")
0 commit comments