TLS connection to MSK brokers: org.apache.kafka.common.errors.SslAuthenticationException: SSL handshake failed #873
-
Hello, My AKHQ TLS Config connections:
test:
properties:
bootstrap.servers: "b-1.test-kafka-ms.xxxxxx.c3.kafka.eu-west-3.amazonaws.com:9094,b-3.test-kafka-ms.xxxxc3.kafka.eu-west-3.amazonaws.com:9094,b-2.tels-kafka-ms.xxxxx.c3.kafka.eu-west-3.amazonaws.com:9094"
security.protocol: "SSL"
ssl.protocol: "TLS"
ssl.truststore.location: "/tmp/akhq/keystore.jks"
ssl.truststore.password: "tmp-akhq-tls"
ssl.truststore.type: "JKS"
ssl.keystore.type: "PKCS12"
ssl.keystore.location: /tmp/akhq/keymsk.p12
ssl.keystore.password: "tmp-akhq-tls"
ssl.key.password: "tmp-akhq-tls Script used to generate keystoreCERT_DIR="/tmp/akhq"
SERVICE="tmp-akhq-tls"
openssl pkcs12 -export \
-inkey ${CERT_DIR}/keymsk.pem \
-in ${CERT_DIR}/certmsk.pem \
-out ${CERT_DIR}/keymsk.p12 \
-passout pass:${SERVICE} \
-name akhq
keytool -v -importkeystore \
-noprompt \
-srckeystore ${CERT_DIR}/keymsk.p12 \
-srcstoretype PKCS12 \
-srcstorepass ${SERVICE} \
-destkeystore ${CERT_DIR}/keystore.jks \
-deststoretype JKS \
-storepass ${SERVICE} \
-keypass ${SERVICE} Error Message
|
Beta Was this translation helpful? Give feedback.
Answered by
tchiotludo
Oct 21, 2021
Replies: 1 comment 8 replies
-
The error is explicit 😄 |
Beta Was this translation helpful? Give feedback.
8 replies
Answer selected by
tchiotludo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The error is explicit 😄
java.nio.file.NoSuchFileException: /tmp/akhq/keymsk.p12
, the akhq server can't find the file because it don't exist