Why are the winrm Connections in Ansible Failing and Returning SSL: UNSUPPORTED_PROTOCOL

Solution Verified - Updated -

Issue

Ansible is returning the following error during the connection to the window host.

TASK [win_ping] ***********************************************************************************************************************
fatal: [xxxxxxxx]: UNREACHABLE! => {"changed": false, "msg": "ssl: HTTPSConnectionPool(host='xxxxxxxxxxxxx', port=5986): Max retries exceeded with url: /wsman (Caused by SSLError(SSLError(1, '[SSL: UNSUPPORTED_PROTOCOL] unsupported protocol (_ssl.c:897)'),))", "unreachable": true}

Environment

ansible + winrm + windows host

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content