我是流浪者的新手,但几个月前我尝试过一次。
现在它只是无法正常工作,我已经生成了 puphpet 配置并下载了 - 当然 ruby 和 puppet gem 和 virtualbox 已经安装了 - 但是当我点击 vagrant 时,它会推送关于证书的错误等等:
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'hashicorp/trusty64' could not be found. Attempting to fin
install...
default: Box Provider: virtualbox
default: Box Version: >= 0
The box 'hashicorp/trusty64' could not be found or
could not be accessed in the remote catalog. If this is a private
box on HashiCorp's Atlas, please verify you're logged in via
`vagrant login`. Also, please double-check the name. The expanded
URL and error message are shown below:
URL: ["https://atlas.hashicorp.com/hashicorp/trusty64"]
Error: SSL certificate problem: unable to get local issuer certificate
More details here: http://curl.haxx.se/docs/sslcerts.html
curl performs SSL certificate verification by default, using a "bundle"
of Certificate Authority (CA) public keys (CA certs). If the default
bundle file isn't adequate, you can specify an alternate file
using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
the bundle, the certificate verification probably failed due to a
problem with the certificate (it might be expired, or the name might
not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
the -k (or --insecure) option.
我已经安装了 mozilla CA 捆绑证书并添加了系统变量“SSL_CERTIFICATE_PATH”并且路径正在运行 - 这是 gem 包管理器问题的解决方案。
任何人都有一个想法如何解决这个问题?
提前致谢, 丹尼
我正在尝试使用的系统: (Win7 x64,Ruby 2.1.5p,Vagrant 1.7.2,安装了 git)
解决了
认证问题是系统上的 AVG Antivirus 故障,由于 AVG Firewall 无法查找 cURL。我已经关闭了 avg 一段时间并下载了这些盒子......之后 - avg 再次运行 - 我可以使用之前下载的盒子启动盒子。