Hi guys,
I'm spinning up EC2 instances on AWS and I'm getting the following error:
TASK [setup] *******************************************************************
<10.178.73.194> ESTABLISH WINRM CONNECTION FOR USER: Administrator on PORT 5986
TO 10.178.73.194
fatal: [ip-10-178-73-194.ap-southeast-2.compute.internal]: FAILED! =>
{"failed": true, "msg": "ssl: 500 WinRMTransport. Tunnel connection failed: 403
Forbidden"}
I can telnet just fine to that machine on 5986 and using the same
credentials, logged on to Windows I can setup a New-PSSession without
issues.
$options = New-PSSessionOption -SkipCACheck -SkipCNCheck -
SkipRevocationCheck
New-PSSession -ComputerName "10.178.73.194" -UseSSL -Credential $cred -
SessionOption $options
Id Name ComputerName State ConfigurationName
Availability
-- ---- ------------ ----- -----------------
------------
4 Session4 10.178.73.194 Opened Microsoft.PowerShell
Available
Anybody an idea what's happening?
Cheers!
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/b4207721-76e5-45e2-8581-7023a73d9ed8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.