From eb3cf10662a3b9d1551822cb2eb77d2d52ac9c77 Mon Sep 17 00:00:00 2001 From: contrun Date: Thu, 6 Aug 2020 12:51:56 +0800 Subject: [PATCH] change parameter to ssl_verify_hostname in readme --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 21577ffd5..d92628dcb 100644 --- a/README.md +++ b/README.md @@ -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( @@ -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, # ... ) ```