kafka消费端 配置ssl安全连接报错
报错内容如下aused by: org.apache.kafka.common.KafkaException: org.apache.kafka.common.KafkaException: Failed to load SSL keystore D:\XXXsrc\main\resources\s_it_irm.keystore.jks of type JKS
Caused by: java.io.IOException: Keystore was tampered with, or password was incorrect
at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:785)
at sun.security.provider.JavaKeyStore$JKS.engineLoad(JavaKeyStore.java:56)
at sun.security.provider.KeyStoreDelegator.engineLoad(KeyStoreDelegator.java:224)
at sun.security.provider.JavaKeyStore$DualFormatJKS.engineLoad(JavaKeyStore.java:70)
at java.security.KeyStore.load(KeyStore.java:1445)
at org.apache.kafka.common.security.ssl.SslEngineBuilder$SecurityStore.load(SslEngineBuilder.java:286)
... 18 common frames omitted
Caused by: java.security.UnrecoverableKeyException: Password verification failed
at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:783)
... 23 common frames omitted
配置是这样的
大佬们有遇到过Kafka接入这块的问题吗 像这样的如何 解决呢。。 提示是你得秘钥有问题,你检查你得秘钥是否可以正常使用 先检查下配置的密码是否正确,再检查下密码库文件是否在正确
页:
[1]