Quantcast
Channel: Active questions tagged redis+session - Stack Overflow
Viewing all articles
Browse latest Browse all 309

How to configure tls for Microsoft.Web.RedisSessionStateProvider?

$
0
0

Good afternoon.

I need to set up tls in a project, however there is a problem with Microsoft.Web.RedisSessionStateProvider. The connection is configured in the package itself, and I need to implement logic like this one:

ConfigurationOptions options = ConfigurationOptions.Parse(connectionString);options.CertificateSelection += delegate {    var cert = new X509Certificate2(CERT_PATH, CERT_PASSWORD);    return cert;};options.CertificateValidation += CheckServerCertificate;result = ConnectionMultiplexer.Connect(options);

Tell me how can I do this? The internal methods of RedisSessionStateProvider are marked as internal.


Viewing all articles
Browse latest Browse all 309


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>