From: Jonathan on
I am trying to create an HTTPS listener in WinRM and am getting the error:

WSManFault
Message
ProviderFault
WSManFault
Message = The WS-Management service cannot process the
request.
The value for the selector Transport is invalid.

Error number: -2144108451 0x8033805D
The WS-Management service cannot process the request because a value for the
sel
ector is invalid.


The command I am running is (with the thumbprint removed):

winrm create
winrm/config/Listener?Address=*+Transport=HTTPS@{Hostname="%COMPUTERNAME%";CertificateThumbprint="XXXXX"}

I am able to create an HTTP listener on the same machine without issue - I
am only encountering this problem with HTTPS.

Any advice/direction is appreciated.

Thanks!
From: Jonathan on
I found a solution. More searching turned up winrm qc -transport:https which
provided a more useful error. I was using a self-signed certificate in this
case - trying to validate WinRM setup before going to our CA.

Now to work through establishing a remote session.

"Jonathan" wrote:

> I am trying to create an HTTPS listener in WinRM and am getting the error:
>
> WSManFault
> Message
> ProviderFault
> WSManFault
> Message = The WS-Management service cannot process the
> request.
> The value for the selector Transport is invalid.
>
> Error number: -2144108451 0x8033805D
> The WS-Management service cannot process the request because a value for the
> sel
> ector is invalid.
>
>
> The command I am running is (with the thumbprint removed):
>
> winrm create
> winrm/config/Listener?Address=*+Transport=HTTPS@{Hostname="%COMPUTERNAME%";CertificateThumbprint="XXXXX"}
>
> I am able to create an HTTP listener on the same machine without issue - I
> am only encountering this problem with HTTPS.
>
> Any advice/direction is appreciated.
>
> Thanks!