File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -972,7 +972,7 @@ This configures the store to look up CA certificates from the system default cer
972972
973973In order to authenticate the client to the cluster, you need to pass in a certificate and key created for the client and trusted by the brokers.
974974
975- ** NOTE** : You can disable hostname validation by passing ` verify_hostname : false` .
975+ ** NOTE** : You can disable hostname validation by passing ` ssl_verify_hostname : false` .
976976
977977``` ruby
978978kafka = Kafka .new (
@@ -981,6 +981,7 @@ kafka = Kafka.new(
981981 ssl_client_cert: File .read(' my_client_cert.pem' ),
982982 ssl_client_cert_key: File .read(' my_client_cert_key.pem' ),
983983 ssl_client_cert_key_password: ' my_client_cert_key_password' ,
984+ ssl_verify_hostname: false ,
984985 # ...
985986)
986987```
You can’t perform that action at this time.
0 commit comments