Connect DeepStream with MessageBroker plugin to a REDIS database and SSL certificates


I want to do the same as it is explained on this page (which is for Kafka) but with REDIS.

How do I configure SSL certificates, encryption, etc?
I have valid certificates tested in client - server REDIS connection but I do not know here to put the client certificates when using DeepStream.

Is this valid for REDIS?

proto-cfg = "security.protocol=ssl;<path to your ca>/ca-client-cert;ssl.certificate.location=<path to your certificate >/client1_cert.pem;ssl.key.location=<path to your private key>/client1_private_key.pem;ssl.key.password=test1234;ssl.key. password=abcdefgh;
ssl.cipher.suites=ECDHE-RSA-AES256-GCM-SHA384; debug=broker,security"

The various options specified in the config file are described below:

  • security.protocol.ssl : use SSL as the authentication protocol
  • : path where your client CA certificate is stored
  • ssl.certificate.location : path where your client certificate is stored
  • ssl.key.location : path where your protected private key is stored
  • ssl.cipher.suites=ECDHE-RSA-AES256-GCM-SHA384
  • ssl.key.password : password for your private key provided while extracting it from the p12 file

We support secure communication for kafka only by now.