Open chrisbaldauf opened 9 years ago
I checked this out briefly this morning, with an eye to making vagrant-winrm-s smarter about which gem it loads. However, where winrm 1.3 has an ignore cert option, version 1.1.3 (which is used by Vagrant) does not. Even after manually adding it for testing via a script, I was unable to get it working.
The next version of Vagrant will have this out-of-the-box...mostly.
The one problem is that it is hard-coded to allow basic auth only which means we can't do domain authentication. A pull request to vagrant to make that false (or dependent on the presence of '\' in the username or something) probably wouldn't be out of the question.
I confirmed that flipping that bit worked from box Linux and Windows hosts.
This might Just Work :tm: now. 1.7.4 supports SSL and ignore-cert out of the box.
Currently if you initialize a Vagrantfile that uses the WinRM communicator and then attempt to do a push from a Mac or Linux box, you receive the error message below. Now that we (roughly) know how to make this work for domain accounts over SSL instead of SSPI Negotiate, change the transport and conditionally require winrm-s.
@maclennann