Just Do It ! 행동하지 않으면 성공도 실패도 없다

Kafka Encryption with SSL/TLS

Encryption with SSL/TLS mTLS kafka #!/usr/bin/env bash ############### Parameters ############### PASSWORD='password' VALIDITY=730 KAFKA_BROKER_COUNT=3 ############### Existing certs Cleanup ############### rm -rf ./certs && mkdir certs cd certs ############### Creating sslconfig file for CA ############### cat > "openssl.cnf" << EOF [req] default_bits = 4096 encrypt_key = no # Change to encrypt the private key using des3 or similar default_md = sha256 prompt = no utf8 = yes # Specify the DN here so we aren't prompted (along with prompt = no above).