Azure Redis and connection string using SSL

Hello lads

I have set up Azure Redis for Cache and enabled SSL connections only.

When trying to connect using redis-cli command, it worked fine and I can get PONG response over PING. I disabled certificate validation.

redis-cli -h mycache.redis.cache.windows.net -p 6380 -a mykey --tls --insecure

However, the same Azure Redis database will be used by a third-party app that only accepts REDIS connection string URI format.

I am facing problems to create a connection string to tell REDIS to ignore certificate validation. I mean, I don’t know how to convert --insecure command argument to a connection string parameters. I have been trying something like :

redis-cli -u rediss://:my-access-key>@my-cache-server.redis.cache.windows.net:6380/?ssl_cert_reqs=none&ssl=true&sslprotocols=Tls12&sslVerifyMode=None.

Nothing worked so far. I always got “SSL_connect failed: certificate verify failed” error.

Any help is much appreciated.

Thanks