From 2b9b22def68df864b4539a081dab9b42fb15753b Mon Sep 17 00:00:00 2001 From: Christian Kratky Date: Thu, 6 Jun 2019 19:27:25 +0200 Subject: [PATCH] Expose new options in server TLS options. --- Source/MQTTnet/Server/MqttServerTlsTcpEndpointOptions.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Source/MQTTnet/Server/MqttServerTlsTcpEndpointOptions.cs b/Source/MQTTnet/Server/MqttServerTlsTcpEndpointOptions.cs index 88d2f86d..212b0521 100644 --- a/Source/MQTTnet/Server/MqttServerTlsTcpEndpointOptions.cs +++ b/Source/MQTTnet/Server/MqttServerTlsTcpEndpointOptions.cs @@ -11,7 +11,10 @@ namespace MQTTnet.Server public byte[] Certificate { get; set; } + public bool ClientCertificateRequired { get; set; } + public bool CheckCertificateRevocation { get; set; } + public SslProtocols SslProtocol { get; set; } = SslProtocols.Tls12; } }