credssp: ('Connection aborted.'; ConnectionResetError(104; 'Connection reset by peer')
839 views
Skip to first unread message
AdminLP
unread,
Jan 23, 2023, 12:35:30 PM1/23/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ansible Project
We are facing below error on Windows 2008 servers in Ansible report .
credssp: ('Connection aborted.'; ConnectionResetError(104; 'Connection reset by peer'))
--> 2008 server upgraded to PS ver 5.1 --> WinRM is Enabled with CredSSP - true
jbor...@gmail.com
unread,
Jan 23, 2023, 4:09:48 PM1/23/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ansible Project
Most likely there is no common cipher support between the Ansible host and the remote Windows host. Server 2008 is quite old and only supports a very limited set of cipher suites. This is an issue because newer hosts and OpenSSL they ship with now define a more retrictive set of protocols and cipher suites they support. Another problem is that the ephemeral certificate that Windows creates for CredSSP uses an older signature algorithm that may not be supported by newer OpenSSL hosts. The issue https://github.com/jborean93/requests-credssp/issues/27 goes over this problem in a lot more detail but the end result is you should:
Generate a new certificate with a stronger signature algorithm and set WinRM to use that, or
Relax the security settings on the OpenSSL policy (really you shouldn't do this)