Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change parameter to ssl_verify_hostname in readme #856

Merged
merged 1 commit into from
Aug 10, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -972,7 +972,7 @@ This configures the store to look up CA certificates from the system default cer

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.

**NOTE**: You can disable hostname validation by passing `verify_hostname: false`.
**NOTE**: You can disable hostname validation by passing `ssl_verify_hostname: false`.

```ruby
kafka = Kafka.new(
Expand All @@ -981,6 +981,7 @@ kafka = Kafka.new(
ssl_client_cert: File.read('my_client_cert.pem'),
ssl_client_cert_key: File.read('my_client_cert_key.pem'),
ssl_client_cert_key_password: 'my_client_cert_key_password',
ssl_verify_hostname: false,
# ...
)
```
Expand Down