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.