Skip to content

Grafana, Prometheus, Zipkin, Kafka TLS / SSL configured.

Notifications You must be signed in to change notification settings

zaxxio/spring-boot-apm-agentless

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Configure SSL

Step 1: Generate a Private Key for the CA:

openssl genrsa -out ca-key 2048

Step 2: Create a Self-Signed CA Certificate

openssl req -new -x509 -key ca-key -days 365 -out ca-cert

Step 3: Generate a KeyStore for Kafka Server:

keytool -keystore kafka.server.keystore.jks -alias localhost -validity 365 -genkey -keyalg RSA

Step 4: Export the Kafka Server Certificate

keytool -keystore kafka.server.keystore.jks -alias localhost -certreq -file cert-file

Step 5: Sign the Kafka Server Certificate with Your CA

openssl x509 -req -CA ca-cert -CAkey ca-key -in cert-file -out cert-signed -days 365 -CAcreateserial -passin pass:password

Step 6: Import the CA Certificate and Signed Certificate into the Kafka KeyStore:

keytool -keystore kafka.server.keystore.jks -alias CARoot -import -file ca-cert
keytool -keystore kafka.server.keystore.jks -alias localhost -import -file cert-signed

Step 7: Create a TrustStore for Kafka

keytool -keystore kafka.server.truststore.jks -alias CARoot -import -file ca-cert

About

Grafana, Prometheus, Zipkin, Kafka TLS / SSL configured.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published