由于 SSL_Connect 错误,无法安装 vagrant 插件
Unable to install vagrant plugin due to SSL_Connect error
你好,我正在尝试安装一个 vagrant 插件,但我在 mingW64 中收到以下错误
$ vagrant plugin install vagrant-winnfsd
Installing the 'vagrant-winnfsd' plugin. This can take a few minutes...
Vagrant failed to load a configured plugin source. This can be caused
by a variety of issues including: transient connectivity issues, proxy
filtering rejecting access to a configured plugin source, or a configured
plugin source not responding correctly. Please review the error message
below to help resolve the issue:
SSL_connect returned=1 errno=0 state=error: certificate verify failed (https://api.rubygems.org/specs.4.8.gz)
Source: https://rubygems.org/
我在防火墙后面,必须手动通过公司证书。我更新了我的 Ruby 证书,但仍然没有成功。任何人都知道为什么 vagrant 不接受我的 pem/certs?
好有趣的事情。 Vagrant 使用自己的证书。在其文件夹内:
路径是:C:\HashiCorp\Vagrant\embedded\cacert.cert on windows.
添加您的公司证书,您应该可以开始了。
我解决了我自己的问题。希望这对其他人有帮助。
你好,我正在尝试安装一个 vagrant 插件,但我在 mingW64 中收到以下错误
$ vagrant plugin install vagrant-winnfsd
Installing the 'vagrant-winnfsd' plugin. This can take a few minutes...
Vagrant failed to load a configured plugin source. This can be caused
by a variety of issues including: transient connectivity issues, proxy
filtering rejecting access to a configured plugin source, or a configured
plugin source not responding correctly. Please review the error message
below to help resolve the issue:
SSL_connect returned=1 errno=0 state=error: certificate verify failed (https://api.rubygems.org/specs.4.8.gz)
Source: https://rubygems.org/
我在防火墙后面,必须手动通过公司证书。我更新了我的 Ruby 证书,但仍然没有成功。任何人都知道为什么 vagrant 不接受我的 pem/certs?
好有趣的事情。 Vagrant 使用自己的证书。在其文件夹内:
路径是:C:\HashiCorp\Vagrant\embedded\cacert.cert on windows.
添加您的公司证书,您应该可以开始了。
我解决了我自己的问题。希望这对其他人有帮助。