Things work well when I am running using plain text but when I enable SSL I end up with the above issue.
I have created the certificate with CN=*.mydomainname as we are using the same certificate for all the brokers.
As we are using openshift every time a new deployment is made or a property is updated a new container is launched with a new hostname hence I cannot keep the fully qualified hostname while creating the certificate.
I am doing a 3 node setup of confluent kafka on openshift with the following properties in yml. containers:
I am getting the following exception while trying to test the same with SSL enabled between the brokers.
[2018-12-25 14:33:35,961] WARN [RequestSendThread controllerId=1] Controller 1's connection to broker kf-3.kafka-dev.svc:9093 (id: 3 rack: null) was unsuccessful (kafka.controller.RequestSendThread) org.apache.kafka.common.errors.SslAuthenticationException: SSL handshake failed Caused by: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
Things work well when I am running using plain text but when I enable SSL I end up with the above issue.
I have created the certificate with CN=*.mydomainname as we are using the same certificate for all the brokers.
As we are using openshift every time a new deployment is made or a property is updated a new container is launched with a new hostname hence I cannot keep the fully qualified hostname while creating the certificate.
Any help would be appreciated.