RealTimeServerTlsConnectionManager.NeedMutualTls Property
Gets or sets whether a mutual TLS connection is required for outgoing TLS connections.
Namespace: Microsoft.Rtc.Signaling
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public Property NeedMutualTls As Boolean
Get
Set
'Usage
Dim instance As RealTimeServerTlsConnectionManager
Dim value As Boolean
value = instance.NeedMutualTls
instance.NeedMutualTls = value
public bool NeedMutualTls { get; set; }
Property Value
Type: System.Boolean
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | Thrown when the set operation is called for a connection manager that is not listening or does not have a certificate. |
Remarks
If the certificate information was not set, then this flag cannot be set to true. Turning off Mutual TLS will clear the allowed domains list. Turning on Mutual TLS will initialize the allowed domains to contain just the local host.
See Also
Reference
RealTimeServerTlsConnectionManager Class