Closed shahhd closed 3 years ago
Stabbing in the dark a little here: is it possible the user your website is running as does not have permissions to view the certificate store?
What error do you get? Whenever reporting a bug, it's best to include the error - that's why we put so much effort into the logging :)
I am having a very weird issue with StackExchange.Redis to connect with Redis.
I have enabled SSL on Redis database and I am not able to connect from client to Redis server with SSL certificate with below code.
However, If I create a console application and connect to Redis with above code then I am able to connect, but If I used same code from my web application to connect to redis then I am not able to connect.
Not sure if I am missing something.
Also, I went through "mgravell" post
In that post he has configured "CertificateValidation" method, In my scenario I want Redis to validate SSL certificate. so I have not implementation validation. And implemented "CertificateSelection" method to provide client certificate.