Hello,
I am trying to use Redis Session State Providers for my web app which is using framework 4.7.1.
We are able to connect to redis with hist and password when the TLS mode in Redis is set to None.
But when we enable TLS mode in redis to "Require all communication to be encrypted" the socket was closed error is seen.
Basically we want to set up ssl when connecting to redis enterprise from. Net using password authenrication. In the web config under session state we have put ssl=true
We are using the configuration mentioned in the below Microsoft doc with ssl=true.
https://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-aspnet-session-state-provider
Our belief was that iis would verify the redis cert and the transport layer would be ssl encrypted but it's not working.
Any guidance would be much appreciated.
Thank you!!