Redis database: [redis-cli -u <uri>] isn't compatible with flag [--tls]
... / Redis database: [redis-cl...
BMPCreated with Sketch.BMPZIPCreated with Sketch.ZIPXLSCreated with Sketch.XLSTXTCreated with Sketch.TXTPPTCreated with Sketch.PPTPNGCreated with Sketch.PNGPDFCreated with Sketch.PDFJPGCreated with Sketch.JPGGIFCreated with Sketch.GIFDOCCreated with Sketch.DOC Error Created with Sketch.
Question

Redis database: [redis-cli -u <uri>] isn't compatible with flag [--tls]

by
PatrickP4
Created on 2022-08-22 15:40:55 (edited on 2024-09-04 14:23:25) in Database (lab)-old

In the URI, we embed username/password as well as the database URL/port. Without the flag [--tls], whatever later commands result in "Error: Server closed the connection", which hints at using the flag [--tls]. However, when using such flag, whatever later commands lead to "(error) NOAUTH Authentication required.", which is untrue as we already embed Username/password in the URI.

Said in other words, [redis-cli -u ] isn't compatible with flag [--tls]. As far as I know, there is no possible work-around.