From 5266147669756a31a74a89cb25e9d43143055f91 Mon Sep 17 00:00:00 2001 From: irving ou Date: Wed, 22 May 2024 17:20:58 -0400 Subject: [PATCH] Update Connection.cs --- ffi/dotnet/Devolutions.IronRdp/src/Connection.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ffi/dotnet/Devolutions.IronRdp/src/Connection.cs b/ffi/dotnet/Devolutions.IronRdp/src/Connection.cs index 74df6571..6c2cc099 100644 --- a/ffi/dotnet/Devolutions.IronRdp/src/Connection.cs +++ b/ffi/dotnet/Devolutions.IronRdp/src/Connection.cs @@ -47,7 +47,10 @@ public static class Connection promise.SetResult(certificate!.GetPublicKey()); return true; }); - await sslStream.AuthenticateAsClientAsync(servername); + await sslStream.AuthenticateAsClientAsync(new SslClientAuthenticationOptions() + { + AllowTlsResume = false + }); serverPublicKey = await promise.Task; framedSsl = new Framed(sslStream); connector.MarkSecurityUpgradeAsDone();