Vagrant 流浪者/小狗默认值:框';PUPPET/debian75-x64和x27;找不到

Vagrant 流浪者/小狗默认值:框';PUPPET/debian75-x64和x27;找不到,vagrant,puphpet,Vagrant,Puphpet,我是Vagrant的新手,我使用PuPHPet构建Vagrant文件,但当我执行Vagrant up命令时,我得到以下错误: λ vagrant up Bringing machine 'default' up with 'virtualbox' provider... ==> default: Box 'puphpet/debian75-x64' could not be found. Attempting to find and install... default: Box Pro

我是Vagrant的新手,我使用PuPHPet构建Vagrant文件,但当我执行Vagrant up命令时,我得到以下错误:

λ vagrant up

Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'puphpet/debian75-x64' could not be found. Attempting to find and install...
default: Box Provider: virtualbox
default: Box Version: >= 0
The box '["puphpet/debian75-x64"]' 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/puphpet/debian75-x64"]
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.

如果您使用的是较旧版本的Vagrant,那么包中的证书捆绑包可能已损坏。这似乎是在1.7.2中 . 如果出于某种原因,您必须使用较旧版本的Vagrant,或者您在使用最新版本的Vagrant时仍然存在问题,您可以将您的ca-certificates.crt复制到Vagrant的cacert.pem,方法是:

cat /etc/ssl/certs/ca-certificates.crt >> /opt/vagrant/embedded/cacert.pem
或者,您可以告诉Vagrant不要担心证书链被破坏,方法是在您的证书链中添加以下行:

或者通过指定
vagrant框的选项添加
,如下所示:

vagrant box add --insecure puphpet/debian75-x64

出于某种原因,Vagrant似乎很难遵循证书链,并且没有获得中间证书。如果您转到浏览器中的URL,会发生什么情况?你有完全安全的连接吗?试着用这种方式检查证书信息。另外,你使用的是什么版本的Vagrant?当我在浏览器中访问url时,我在浏览器中无限期地加载,而我使用的Vagrant版本是“Vagrant 1.7.2”。谢谢你的关注
vagrant box add --insecure puphpet/debian75-x64