Error setting up HTTPS endpoint for WinRM

103 views
Skip to first unread message

ryan.me...@workiva.com

unread,
Feb 6, 2017, 9:41:47 AM2/6/17
to Ansible Project
I have been working on an issue with getting the HTTPS endpoint for WinRM to bind to the self signed cert the Ansible setup script creates. I'm pretty stumped at this point, it seems I had it working at one time but after rebuilding the workspace I am back to square one. All controls I can think of have been turned off, UAC, Firewall, CredSSP. Here is the log output:

.\ConfigureRemotingForAnsible.ps1 -Verbose
VERBOSE: Verifying WinRM service.
VERBOSE: PS Remoting is already enabled.
(Legacy) Self-signed SSL certificate generated; thumbprint: XXXXXXXXXXXXX
VERBOSE: Enabling SSL listener.
New-WSManInstance : A specified logon session does not exist. It may already have been terminated.
At D:\Users\wdesk.synctesting\downloads\ansible-devel\examples\scripts\ConfigureRemotingForAnsible.ps1:216 char:5
+     New-WSManInstance -ResourceURI 'winrm/config/Listener' -SelectorSet $selecto ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [New-WSManInstance], InvalidOperationException
    + FullyQualifiedErrorId : WsManError,Microsoft.WSMan.Management.NewWSManInstanceCommand
                                                                                                                     

Trond Hindenes

unread,
Feb 7, 2017, 5:11:12 PM2/7/17
to Ansible Project
What's your operating system?
Reply all
Reply to author
Forward
Message has been deleted
0 new messages