我想对kafka集群ssl设置的密码进行加密。
我目前的设置:
listeners=SSL://:9095, PLAINTEXT://:9094
ssl.keystore.location=keystore.jks
ssl.keystore.password=password
ssl.key.password=phoenix
ssl.truststore.location=keystore.jks
ssl.truststore.password=password
security.inter.broker.protocol=SSL但是我不想要一个普通的密码,因为我希望这个密码是加密的
发布于 2017-04-27 11:40:24
我认为kafka没有提供任何存储加密密码的选项。这个文档专门说Since we are storing passwords in the broker config, it is important to restrict access via file system permissions.
发布于 2021-10-07 20:00:35
以下几点对我有用:
动态更新密码 动态更新的密码配置值在存储在ZooKeeper中之前是加密的。代理配置
password.encoder.secret必须在server.properties中配置,以启用密码信任的动态更新。不同的经纪人可能会有不同的秘密。
来源:http://kafka.apache.org/documentation/#dynamicbrokerconfigs
https://stackoverflow.com/questions/43249661
复制相似问题