InSpec WinRM authentication protocol type


#1

Hey now,

Is it possible specify the authentication protocol type of basic for inspec winrm?

I am getting WinRM::WinRMAuthorizationError (WinRM::WinRMAuthorizationError) when connecting with inspec with SSL, and the event log on Server 2016 shows the authentication type is NTLM.

I have successfully tested the connection with knife wsman test, and I can execute commands with knife winrm if --winrm-authentication-protocol basic is specified.

If I specify --winrm-authentication-protocol negotiate for knife winrm I get the same error as with inspec.

My inspec version is 3.0.52
chef gem list | grep winrm shows:
winrm (2.3.0)
winrm-elevated (1.1.0)
winrm-fs (1.3.1)

Thanks!

J