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

Hi!

I want to do the same as it is explained on this page (which is for Kafka) but with REDIS.
https://docs.nvidia.com/metropolis/deepstream/dev-guide/text/DS_IoT.html

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?

[message-broker]
proto-cfg = "security.protocol=ssl;ssl.ca.location=<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
  • ssl.ca.location : 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.