Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ssl/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
谷歌云上的KAFKA loadbalancer SSL端口出错_Ssl_Apache Kafka - Fatal编程技术网

谷歌云上的KAFKA loadbalancer SSL端口出错

谷歌云上的KAFKA loadbalancer SSL端口出错,ssl,apache-kafka,Ssl,Apache Kafka,我在gcp上安装了一个卡夫卡集群。 我在端口9093上设置了SSL 以下是我的听众和广告听众的样子: listeners=PLAINTEXT://host_ip:9092,SSL://host_ip:9093 advertised.listeners=SSL://hostname:9093 listener.security.protocol.map=PLAINTEXT:PLAINTEXT,SSL:SSL inter.broker.listener.name=SSL 在使用ssl端口和密钥在k

我在gcp上安装了一个卡夫卡集群。 我在端口9093上设置了SSL

以下是我的听众和广告听众的样子:

listeners=PLAINTEXT://host_ip:9092,SSL://host_ip:9093
advertised.listeners=SSL://hostname:9093
listener.security.protocol.map=PLAINTEXT:PLAINTEXT,SSL:SSL
inter.broker.listener.name=SSL
在使用ssl端口和密钥在kafka上生成或使用LB时,我得到以下错误: 原因:java.security.cert.CertificateException:未找到与LB_名称匹配的名称

    ./kafka-console-consumer.sh --bootstrap-server LB_NAME:9093 --topic test  --from-beginning --consumer.config /var/tellme/kafka/ssl/client/client.properties
但是,使用主机名为9093的相同命令也可以正常工作

有没有办法使用主机名配置SSL并在Loadbalancer上使用