RealTimeServerTlsConnectionManager.SetAllowedDomains Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public:
void SetAllowedDomains(System::Collections::Generic::IEnumerable<System::String ^> ^ allowedDomainsToSet);
public void SetAllowedDomains (System.Collections.Generic.IEnumerable<string> allowedDomainsToSet);
member this.SetAllowedDomains : seq<string> -> unit
Public Sub SetAllowedDomains (allowedDomainsToSet As IEnumerable(Of String))
Parameters
- allowedDomainsToSet
- IEnumerable<String>
The list of allowed domains.