Why Am I Getting "CERTIFICATE_VERIFY_FAILED" Error While Connecting To Windows Using Ansible ?

Solution Verified - Updated -

Issue

  • Getting following error while running ansible playbook againts windows managed node

    "msg": "kerberos: HTTPSConnectionPool(host='my.fqdn.host', port=5986): Max retries exceeded with url: /wsman (Caused by SSLError(SSLError(1, u'[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:618)'),))",
    "unreachable": true
    }
    

Environment

  • Ansible Engine

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