Skip to content

Commit eb3cf10

Browse files
authored
change parameter to ssl_verify_hostname in readme
1 parent 51b69e9 commit eb3cf10

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -972,7 +972,7 @@ This configures the store to look up CA certificates from the system default cer
972972

973973
In 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
978978
kafka = 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
```

0 commit comments

Comments
 (0)