Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redis scale out of ASP.Net SignalR is missing the support for mutual Authentication connection to Redis #4667

Open
Prayash-01 opened this issue Mar 14, 2023 · 0 comments

Comments

@Prayash-01
Copy link

Microsoft.AspNet.SignalR.Redis

Redis as the messaging backplane for scale out of ASP.Net SignalR is missing the support for mutual Authentication connection to Redis

Expected behavior

SignalR connection should support mutual Authentication connection to Redis

  • There should be a way to send client's certificate info for server to validate the client.
  • There should be a way to set server's certificate info for client to alidate the server

Actual behavior

There seems to be no mechanish to send client's certificate info and server's certificate info

Steps to reproduce

Create new RedisScaleoutConfiguration.
It only accepts: string server, int port, string password, string eventKey
or string connectionString, string eventKey

Suggested Solution

In DependencyResolverExtensions, update UseRedis method to accept StackExchange.Redis.ConfigurationOptions as parameter. This ConfigurationOptions object can already be set with Redis server's configuration including client and server certificate information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant