Why Am I Getting Kerberos Does Not Support Message Encryption Error While Using WinRM With Kerberos Over HTTP ?

Solution Verified - Updated -

Issue

While trying to use WinRM connection with kerberos and "ansible_winrm_message_encryption" set to always over HTTP. It throws the below error:

winrm.exceptions.WinRMError: message encryption is set to 'always' but the selected auth method kerberos does not support it

Environment

Ansible
Ansible Tower

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