Ansible winrm to connect to windows guest via certificate.
782 views
Skip to first unread message
Rui Pereira
unread,
Jul 28, 2017, 11:59:51 AM7/28/17
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
Hello Guys,
I'm trying to understand the way to go here. I want to secure as much as possible my connection from my ansible box to the guests. In terms of Linux i already have all the communication based on SSH keys. In terms of windows i have it working via https && user and pass. (basic authentication.)
I want to upgrade this to a higher standard but all the solutions that I've faced so far requires an active directory / Keberos which is not suitable for my scenario. I need to keep things as much simple as possible. Can someone point me in the right direction to configure winrm connections via certificate authentication? I can't install any AD on the environment. How to make winrm secure connections with certificates?
Thank-you for all the possible help.
Jordan Borean
unread,
Aug 4, 2017, 2:52:20 AM8/4/17
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
Certificate auth is a bit of a pain with WinRM, I found the best article to get this working would be http://www.hurryupandwait.io/blog/certificate-password-less-based-authentication-in-winrm. Personally I would say NTLM is more secure than Basic auth as you are not sending the actual password to the server (rather a hash of the password). You also have CredSSP as an option with local accounts but there is not much point using that is using local accounts.
Rui Pereira
unread,
Sep 5, 2017, 12:52:42 PM9/5/17
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