I am getting the following error within an external web app running on windows iis server connecting to Redis:
Couldn't connect to Redis server(s) 'redis-....test.cluster....:6379', will reconnect in 00:00:00.0400000
StackExchange.Redis.RedisConnectionException: It was not possible to connect to the redis server(s); The remote certificate is invalid according to the validation procedure.
at StackExchange.Redis.ConnectionMultiplexer.ConnectImpl(Func`1 multiplexerFactory, Action`1 log)
at StackExchange.Redis.ConnectionMultiplexer.Connect(ConfigurationOptions configuration, Action`1 log)
at Hangfire.Pro.Redis.RedisStorage.CreateMultiplexer(EventWaitHandle reconnectEvent)
at Hangfire.Pro.Redis.RedisStorage.ConnectLoop()
I added the enterprise root and intermediate certificate to the trusted certificates by mmc.
Test:
- Used Tool "Another Redis Desktop Manager" with same connection string --> works fine
- I created a TestRedis.exe which also use the StackExchange.REDIS in the same version and connected to REDIS with same connection string --> works fine
Any ideas or hints, what I can do fix the problem?