Filebeat连接Kafka ssl 报错

想把Filebeat接入服务商提供的Kafka服务,给了连接Kafka的client.keystore.jks和client.truststore.jks的两个文件,请问Filebeat应该怎么配置ssl连接呢?
我自己尝试了在output.kafka:下添加配置
ssl.truststore.location:client.truststore.jks文件路径
ssl.keystore.location: client.keystore.jks文件路径
 
启动后报错
kafka/log.go:36 Failed to connect to broker IP:port: x509: cannot validate certificate for 220.181.172.48 because it doesn't contain any IP SANs
 
向各位大神求解,谢谢🙏
 
   
已邀请:

rockybean - Elastic Certified Engineer, ElasticStack Fans,公众号:ElasticTalk,慕课网《ElasticStack 从入门到实践》讲师

赞同来自:

证书有问题,你的连接端证书没有 IP SAN,估计是域名,你要改为域名连接

要回复问题请先登录注册