Allow to change cipher suite (#1381)

* Allow to change the used Cipher Suite

* Also added cipher suite to the mqtt client part

* Added ConfigureAwait
This commit is contained in:
Tim
2022-04-21 21:02:39 +02:00
committed by GitHub
parent 2d9ae0576b
commit 9e47a0985b
4 changed files with 26 additions and 6 deletions
@@ -24,5 +24,9 @@ namespace MQTTnet.Server
public bool CheckCertificateRevocation { get; set; }
public SslProtocols SslProtocol { get; set; } = SslProtocols.Tls12;
#if NETCOREAPP3_1 || NET5_0_OR_GREATER
public System.Net.Security.CipherSuitesPolicy CipherSuitesPolicy { get; set; }
#endif
}
}