如何为 kafkarestproxy 创建信任库文件接下来如何为 rest 代理请求 mtls 身份验证。如何测试 mtls 身份验证?
当我向https://192.168.1.98:8083/发出请求时,我收到“err_connection_closed”错误。我可能做错了什么?
我的卡夫卡-rest.properties:
id=kafka-rest-test-server
listeners=https://192.168.1.98:8083
schema.registry.url=http://192.168.1.98:8081
host.name=192.168.1.98
#listeners=http://192.168.1.98:8082
#kafka.rest.resource.extension.class=io.confluent.kafkarest.security.KafkaRestSecurityResourceExtension
#confluent.rest.auth.propagate.method=SSL
#schema.registry.url=http://localhost:8081
zookeeper.connect=192.168.1.98:2181
bootstrap.servers=PLAINTEXT://192.168.1.98:9092
ssl.client.auth=true
ssl.client.authentication=REQUIRED
#Web Server cerfiticate for REST proxy
ssl.keystore.location=/opt/keys/kafka.server.keystore.jks
ssl.keystore.password=123456
ssl.key.password=123456
ssl.keystore.type=JKS
ssl.protocol=TLS
ssl.truststore.location=/opt/keys/kafka.server.truststore.jks
ssl.truststore.password=123456
ssl.truststore.type=JKS