Apr 29 2022 02:55 PM
Hello,
How do people add clusters to windows admin center with winrm https enabled? Seems like if I used the FQDN of the cluster on the certificate it works but then I cannot connect to the servers themselves.
Apr 29 2022 05:59 PM
Solution
Hi,
I don't use the Windows Admin Center, so I'm coming from a position of ignorance here, but I'm comfortable with WinRM and certificates.
If you're getting an error message or number, drop it in here so we know what we're dealing with.
But for the sake of offering some initial guesses:
You can check if the first point is an issue by running the following via PowerShell on each host (I've assumed the default WinRM TLS port is being used):
Get-NetTCPConnection -LocalPort 5986
For the second, there's multiple ways you can check the certificate, so I'll leave it up to you to choose one, but you'd want to see either:
On point 2, if you have more than one eligible certificate, you may need to double-check which one ended up being bound, which you can do so using the following command to pull the thumbprint (assumes you're either on the host or checking remotely via Invoke-Command):
(Get-ChildItem -Path WSMan:\localhost\Service\CertificateThumbprint).Value
Anyhow, if you have any specific errors you can drop in here, that'd help a lot in getting us to focus on the right area(s).
Cheers,
Lain
Apr 29 2022 06:52 PM