Good Day,
Errors trying to start KAFKA 4.1 server with SSL using PEM files. Was 
successful starting it without SSL. Under LINUX with Java 17.

After reading several older posts about PEM files and Kafka nothing is still 
working. I'm either getting

  1.  Failed to load PEM SSL keystore   (when putting keys and certs in files)
Or

  1.  No matching PRIVATE KEY entries in PEM file    (putting key and cert 
contents in the server.properties file)

I've tried using encrypted (password) and unencrypted (no password) Private 
Keys - no difference.

My keys/certs/ and CA certs all match up (openssl commands performed to verify)

I have a private key, a server certificate (1 cert) and a CA cert (6 certs). 
There are no clear instructions on whether intermediate or all signing certs 
should be
part of   ssl.keystore.certificate.chain=

Or, it is unclear how ssl.keystore.location= should be constructed if using 
files.

There are just no good recent examples to be found anywhere, and APACHE KAFKA 
documentation does not discuss this.

Can the Kafka team provide a proven example of PEM key, cert, and CA cert (with 
multiple certs in it) and how to configure this please.

Thank You,
--Alex R



Reply via email to