Skip to content

Commit 5a360ca

Browse files
authored
Merge pull request #856 from contrun/patch-1
change parameter to ssl_verify_hostname in readme
2 parents 9a2a326 + eb3cf10 commit 5a360ca

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: README.md

+2-1
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)