Reputation: 7219
I don't see how to connect to Azure Redis Cache with SSL activated to my Redsmin GUI account.
Upvotes: 0
Views: 1550
Reputation: 7219
First you need your azure redis cache primary key (e.g. TkloUGvd+Eosuqr9keFhyH+A/6wRz0lcT6V
), host (e.g. myredis.redis.cache.windows.net
) and port (e.g. 6380
).
Thus your redis connection string will be something like this
redis://TkloUGvd+Eosuqr9keFhyH+A/[email protected]:6380
Then you will need to extract the certificate from windows azure in PEM format you can run the above command to do so:
openssl x509 -in <(openssl s_client -connect SERVER:SSL_PORT -prexit 2>/dev/null)
Finally just create a new "Publicly available (SSL/TLS)" server and enter both the connection string and the certificate public key et voila!
A step-by-step guide is also available in Redsmin knowledge database.
Upvotes: 3