openssl s_client -connect kafka-kafka-bootstrap:9093 -showcerts
openssl s_client -connect kafka-kafka-bootstrap:9093 2>&1 < /dev/null | sed -n '/-----BEGIN/,/-----END/p'
openssl rsa -noout -text -in user.key
openssl x509 -in ca.crt -text -noout
openssl s_client -connect kafka-kafka-bootstrap:9093 2>/dev/null | openssl x509 -text -noout
openssl s_client -CAfile ca.crt -connect kafka-kafka-bootstrap:9093
openssl s_client -CAfile ca.crt -cert user.crt -key user.key -verify 10 -tls1_2 -state -quiet -connect kafka-kafka-bootstrap:9093
openssl x509 -inform der -in cert.crt -out cert.pem