microsoft/SdnDiagnostics

RestName property for Get-NetworkController may be $null

arudell opened this issue · 0 comments

Describe the bug
Network Controller can either use IP Address (RestIPAddress) or RestName, however not both. This causes Get-SdnInfrastructureInfo to fail to load in environments as the RestURI cannot be configured into cache for subsequent calls.

Using an IP address returns an authentication error

System.Net.WebException: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. ---> System.Security.Authentication.AuthenticationException: The 
remote certificate is invalid according to the validation procedure.

Environment Details (please complete the following information):

  • Windows Server OS: Windows Server 2019
  • SdnDiagnostics Version: 2.2201.198.12840