![stunnel tutorial stunnel tutorial](https://4.bp.blogspot.com/--V3gIzOUkpc/UaxePdkXTZI/AAAAAAAADSg/2e9skxaoev8/s1600/stunnel.png)
![stunnel tutorial stunnel tutorial](https://www.keycdn.com/img/support/certificate-revocation-list.png)
Here is the relevant configurations in 1.server's nf (entire file is available here client = yesĪnd this is for 0.server (entire file is available here client = no Since the Kafka Broker running on 0.server declares its address as 127.0.0.1:9092, GetKafka (Kafka client) sends request to 127.0.0.1:9092, and the request eventually transferred to the Broker through Stunnel pair.At 0.server, the request is proxied again by the Stunnel running on 0.server, then finally arrives at Zookeeper. Then the local Stunnel on 1.server proxies the request to 0.server:2181 over SSL. GetKafka's Zookeeper Connection String is set to 127.0.0.1:2181 which is local Stunnel is listening to.If Zookeeper is in different server (recommended) and you need to secure this connection via Stunnel as well, then you need to apply the same method as the one used between GetKafka and Zookeeper. Kafka Broker joins the Kafka cluster and declares its address as 127.0.0.1:9092.A single Zookeeper and Kafka broker is running on 0.server.Ī GetKafka NiFi processor in 1.server consumes messages through Stunnel: I used two servers for this experimentation. Let's see how it can be applied to NiFi GetKafka. Thank you for sharing such detailed example. Most part of it is derived from this informative Git comment I wouldn't be able to set it up without this comment.
![stunnel tutorial stunnel tutorial](https://www.hostingtermurah.net/wp-content/uploads/2018/01/Install-SSH-Support-SSL-Step-6.png)
#Stunnel tutorial how to
This article contains example and illustrations describing how it works and how to configure it. Stunnel is a proxy that can make insecure network transmission secure by wrapping it with SSL. How to connect GetKafka to Kafka through Stunnel