RealTimeServerTlsConnectionManager.SetAllowedDomains Method
Sets the list of allowed domains. This represents the list of computers that are allowed to make incoming connections when mutual TLS is used. The subject or alternate subjects in the certificate are matched against this list. Only computers that have a matching entry in this list will be allowed to make incoming connections. This can be set even while listening and will affect future incoming connections. The domain check is done based on suffix match. So, it is important to use "." at the beginning for domains. For example, ".microsoft.com" rather than "microsoft.com". If there is no leading ., then it is assumed to be FQDN and a complete match will be performed.
Namespace: Microsoft.Rtc.Signaling
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public Sub SetAllowedDomains ( _
allowedDomainsToSet As IEnumerable(Of String) _
)
'Usage
Dim instance As RealTimeServerTlsConnectionManager
Dim allowedDomainsToSet As IEnumerable(Of String)
instance.SetAllowedDomains(allowedDomainsToSet)
public void SetAllowedDomains(
IEnumerable<string> allowedDomainsToSet
)
Parameters
- allowedDomainsToSet
Type: System.Collections.Generic.IEnumerable<String>
The list of allowed domains.
See Also
Reference
RealTimeServerTlsConnectionManager Class