Enable TLS connection for Redis
Hello!
This is a hopefully simple PR to allow users to configure Redis to connect to a TLS-enabled Redis endpoint. It proposes a new environment variable REDIS_PROTOCOL that can be passed to the container, and replaces all areas (that I found) where tcp:// was either hard-coded or the assumed (omitted) default. All adjustments will continue to use tcp as the default if the env var isn't passed, so this shouldn't impact existing installations.
I don't do PR's very frequently so apologies if I missed something here, but I'm interested in thoughts/feedback!
Thank you!
Hello,
I was here to add this feature, but you've done it. Do you think tat you can add suport for mTLS to ?
Seems not complicated if cert,key and ca are given with base64 string. With something like REDIS_CLIENT_CERT_BASE64 and so on ?
I will probably add support for mTLS with Mariadb to ...
Needs documentation in REDME
Good point @J0WI , thanks! Just updated README for that.
This merge is of public interest. Why hasn't it been accepted yet?
Is this waiting on me for anything? I'll be happy to fix/update whatever else is necessary to get this finished :slightly_smiling_face:
It needs rebase. Please only commit the docker-entrypoint.sh in the Git root, the other files are just generated.