-
Notifications
You must be signed in to change notification settings - Fork 610
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to use SSL connection #70
Comments
have you resolved this issue? |
The args required to enable tls/ssl could be
The app uses the caRoot, cert and key file. One needs to create these files from Keystore file instead of using Keystore file directly. The below commands helps you to crreate the file. pkcs 12keytool -importkeystore -srckeystore $KEYSTORE_FILE -destkeystore keystore.p12 -deststoretype PKCS12 -srcstorepass $PASSWORD -deststorepass $PASSWORD -noprompt Private Keyopenssl pkcs12 -in keystore.p12 -nocerts -out key.pem -passin pass:$PASSWORD -passout pass:$PASSWORD -nodes Caopenssl pkcs12 -cacerts -nokeys -in keystore.p12 -out ca.pem -passin pass:$PASSWORD Certopenssl pkcs12 -clcerts -nokeys -in keystore.p12 -out cert.pem -passin pass:$PASSWORD |
@Gangareddy, Hi ,Following your methood, I met a problem as below. I used openssl command to check the key.pem as below.
what did I miss? thanks. |
in my site,i use ssl to connect kafka cluster
eg:
security.protocol=SSL
ssl.truststore.location=/kafka-ssl-client/client_java_client.truststore.jks
ssl.keystore.location=/client_java_client.keystore.jks
ssl.truststore.password=test
ssl.keystore.password=test
ssl.key.password=test
how can i use kafka_exporter to connect success?
The text was updated successfully, but these errors were encountered: