NeedMutualTls Property
Gets and 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
Returns true if required; otherwise false.
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 is not set, this flag cannot be set to true. Turning off Mutual TLS clears the allowed domains list. Turning on Mutual TLS initializes the allowed domains to contain just the local host.
See Also
Reference
RealTimeServerTlsConnectionManager Class