Closed dannmartens closed 1 year ago
I have the same issue with Vagrant 2.3.5
Me too, found this workaround for now
vagrant plugin install --plugin-clean-sources --plugin-source https://rubygems.org vagrant-*
@alexkart @ciarancourtney are you both on windows as well?
@alexkart @ciarancourtney are you both on windows as well?
Yes.
Me too, found this workaround for now
vagrant plugin install --plugin-clean-sources --plugin-source https://rubygems.org vagrant-*
workd for me
I still see this issue with Vagrant 2.3.6 Windows/AMD64 (upgraded from 2.3.4) on Windows 10. The workaround worked for me as well.
I can confirm, updating from Vagrant 2.3.4 to 2.3.6 on Windows 11 completely breaks Vagrant setup. This happened to me on two machines, so there must be a bug.
Trying https://github.com/hashicorp/vagrant/issues/13156#issuecomment-1551561004 with this worked for me too:
C:\>vagrant plugin install --plugin-clean-sources --plugin-source https://rubygems.org vagrant-reload vagrant-vbguest winrm winrm-elevated
better workaround:
drop https://curl.se/ca/cacert.pem in "C:\HashiCorp\Vagrant\embedded"
that fixes it for me, as that's what https://github.com/hashicorp/vagrant-installers/pull/270 was supposed to do.
I ended up putting the cacert.pem manually in C:\HashiCorp\Vagrant\embedded as @marlop352 proposed.
The first workaround which was proposed earlier kept giving me the same error:
$ vagrant plugin install --plugin-clean-sources --plugin-source https://rubygems.org vagrant- Installing the 'vagrant-' plugin. This can take a few minutes... ERROR: SSL verification error at depth 3: unable to get local issuer certificate (20) ERROR: You must add /C=US/O=Starfield Technologies, Inc./OU=Starfield Class 2 Certification Authority to your local trusted store
I tried a curl one-liner, but note that access to C:\HashiCorp\Vagrant\embedded requires elevated privileges (Administrator: Command Prompt):
C:\> curl -o "C:\HashiCorp\Vagrant\embedded\cacert.pem" https://curl.se/ca/cacert.pem
After installing Vagrant 2.3.5 (Windows/AMD64) and VMware Utility 1.0.22, resuming failed:
Normally, I would simply update the plugins to install the corresponding version for the VMware utility, but this time:
I have uninstalled 2.3.5 and re-installed 2.3.4 so I can continue working.