• hrishi18pathak's avatar
    In clustering mode currently, ClusterConfiguration for every server endpoint... · 1b01dc86
    hrishi18pathak authored
    In clustering mode currently, ClusterConfiguration for every server endpoint is built using the output of "CLUSTER NODES" command which consists of IP addresses of the nodes inside the cluster (SetClusterConfiguration and UpdateClusterRange methods)
    However, when we try to authenticate the client to the ssl endpoint, inside SocketMode ISocketCallback.Connected, using the ssl.AuthenticateAsClient method it throws an exception
    "The remote certificate is invalid according to the validation procedure” since we are trying to authenticate using the IP address as opposed to the Dns Host name.
    An existing workaround this problem is to configure "SslHost" explictly inside the connection string or specify it inside ConfigurationOptions.
    However if the users of the client do not configure this explicitly, it is a reasonable fallback behavior to infer this information from the specified server endpoints. The fallback behavior will be as follows:
    If all the endpoints inside the configuration are dns endpoints and have identical hostnames, the SslHost is the dns host name for one for one of these endpoints.
    1b01dc86
Name
Last commit
Last update
..
Issues Loading commit data...
Properties Loading commit data...
AsyncTests.cs Loading commit data...
BasicOps.cs Loading commit data...
BatchWrapperTests.cs Loading commit data...
Bits.cs Loading commit data...
Cluster.cs Loading commit data...
Commands.cs Loading commit data...
Config.cs Loading commit data...
ConnectFailTimeout.cs Loading commit data...
ConnectToUnexistingHost.cs Loading commit data...
ConnectingFailDetection.cs Loading commit data...
ConnectionShutdown.cs Loading commit data...
DatabaseWrapperTests.cs Loading commit data...
Databases.cs Loading commit data...
DefaultPorts.cs Loading commit data...
Expiry.cs Loading commit data...
FloatingPoint.cs Loading commit data...
HyperLogLog.cs Loading commit data...
Keys.cs Loading commit data...
KeysAndValues.cs Loading commit data...
Lex.cs Loading commit data...
Lists.cs Loading commit data...
Locking.cs Loading commit data...
Migrate.cs Loading commit data...
MultiAdd.cs Loading commit data...
MultiMaster.cs Loading commit data...
Naming.cs Loading commit data...
PreserveOrder.cs Loading commit data...
Profiling.cs Loading commit data...
PubSub.cs Loading commit data...
PubSubCommand.cs Loading commit data...
RealWorld.cs Loading commit data...
SSDB.cs Loading commit data...
SSL.cs Loading commit data...
Scans.cs Loading commit data...
Scripting.cs Loading commit data...
Secure.cs Loading commit data...
Sentinel.cs Loading commit data...
Sets.cs Loading commit data...
StackExchange.Redis.Tests.csproj Loading commit data...
TaskTests.cs Loading commit data...
TestBase.cs Loading commit data...
TestInfoReplicationChecks.cs Loading commit data...
TransactionWrapperTests.cs Loading commit data...
Transactions.cs Loading commit data...
VPNTest.cs Loading commit data...
WithKeyPrefixTests.cs Loading commit data...
WrapperBaseTests.cs Loading commit data...
packages.config Loading commit data...