Skip to content
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

Support for connecting to winrm over ssl #54

Merged
merged 1 commit into from
Apr 5, 2018

Conversation

marcparadise
Copy link
Member

Small PR to enable ssl connections for WinRM.

This still needs validation against a running WinRM instance with SSL enabled, and a minor update to Target::Converge#perform_command in order to make connection parameters testsable.

Signed-off-by: Marc A. Paradise marc.paradise@gmail.com

@marcparadise marcparadise requested a review from a team April 4, 2018 20:25
Copy link
Contributor

@tyler-ball tyler-ball left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This LGTM. We may also want to support the self_signed option but we could add a new PR for that when we need it in the future

Copy link
Contributor

@jonsmorrow jonsmorrow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

This adds the options --ssl-verify and --[no-]ssl-verify
to permit WinRM connections over https.

This also moves managing translation of connection parameters
to RemoteConnection instead of having
some pieces in Target and some in RemoteConnection.

Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
@marcparadise
Copy link
Member Author

This is now updated with a '--[no]-ssl-verify' option and handling/instructions for ssl host verification failed.

Copy link
Contributor

@jonsmorrow jonsmorrow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@tyler-ball tyler-ball left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tenor-50368936

@marcparadise marcparadise merged commit 6a34d1d into master Apr 5, 2018
@chef-ci chef-ci deleted the SHACK-118/ssl-winrm branch April 5, 2018 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants