-
Notifications
You must be signed in to change notification settings - Fork 682
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot run against remote WinRM SSL systems #221
Comments
Hi @troyready Thanks for the request. Could you do me a favor and try to output the config that is sent to train. See https://github.com/chef/inspec/blob/master/lib/inspec/backend.rb#L16 and add a |
Sure:
|
@troyready That looks pretty good. Which Windows version are you using? Could you share the configuration that you have used for winrm? |
Sure -- the one I've been testing is a Server 2012 system:
|
I've been testing this today a bit and I haven't been able to reproduce it in test-kitchen (everything works maddeningly fine). It seems that there's something specific to our domain-bound systems that's causing the issue. I'll keep investigating, but would of course appreciate any guidance in troubleshooting if you find the time. |
@troyready As I got you, the system is working well with train. Please try to run inspec in shell mode. Let's see what error you get there.
|
Oh geez, this has ended up being user error, and it wasn't being displayed here because I was obfuscating the password being used. So sorry for bugging you with it. It turned out that our password contained the string |
Thanks for sharing the finding @troyready. I am very happy that you resolved the issue. Do not hesitate to add a new issue if you find something that does not work as expected. |
Signed-off-by: Sam Cornwell <14048146+samcornwell@users.noreply.github.com>
When I attempt to run a simple inspec file (just contains the port 80 should not not be open example from the readme), I get the following error:
I tried connecting directly with train though and I don't experience any errors:
(^ outputs my ip info as expected)
I've tried debugging this for a bit and didn't come up with anything conclusive. Would greatly appreciate any advice/direction on troubleshooting it / improving the project.
The text was updated successfully, but these errors were encountered: