Open jenssc opened 3 years ago
Actually only working for net5.0!
Tried to run the code for all targets (net48, net5.0 and netcoreapp3.1) and only net5.0 is working:
secure-with-tls.exe Connecting to EventStoreDB at:
esdb://admin:changeit@localhost:2113?Tls=true&TlsVerifyCert=true SUCCESS! Append result: C:12529/P:12529
this can be worked around on .NET 3.1 by initializing the channel credentials on the client settings
var settings = EventStoreClientSettings.Create("esdb://user:password@domain:port");
settings.ChannelCredentials = new SslCredentials();
Describe the bug Running the secure-with-tls sample in .net 48 I constantly get this exception:
What am I doing wrong?
To Reproduce Steps to reproduce the behavior:
Config/Logs/Screenshots
EventStore details
EventStore server version: 21.2.0.0
Operating system: Microsoft Windows NT 10.0.18363.0