Test WinRM over HTTPS on a host
GET/api/v1/ManagedResource/WinRmHttps/:resourceId/Test
Connects to the host on its configured WinRM over HTTPS port without sending credentials and returns the thumbprint of the certificate the host presents, as a JSON string. Use it to check the connection before you trust or configure a certificate.
Permission required: Administrator signed in with multifactor authentication, or an application account.
Request
Responses
- 200
- 400
- 403
- 404
Returns the certificate thumbprint as a JSON string.
The resource has no host or service account, the host could not be reached within 15 seconds, or it did not answer as expected. The body is a message.
The signed-in user does not have the required role.
The resource does not exist.