无法添加Vagrant scotchbox

时间:2016-10-13 06:05:04

标签: bash ssl curl virtualbox vagrant-windows

我在系统上设置苏格兰威士忌时遇到问题。我使用的操作系统是Windows 8.1 pro 64位操作系统,使用git bash。

vs code

$ vagrant --version Vagrant 1.8.6

从github克隆了苏格兰威士忌的回购后,我按照说明中的说法做了流浪汉。它给了我以下错误:

VirtualBox-5.1.6

$ vagrant up

default: An error occurred while downloading the remote file. The error message, if any, is reproduced below. Please fix this error and try again.

SSL certificate problem: self signed certificate in certificate chain 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.

此外,我尝试重新安装流浪汉和虚拟盒子,但没有运气。

1 个答案:

答案 0 :(得分:0)

找到另一种方法,手动添加苏格兰威士忌,add vagrant box manually,然后克隆scotch-repo。根据回购修改了流浪文件,并做了流浪汉。它工作正常,但仍然在github上提出了这个问题。