Closed Tavpritesh closed 9 years ago
I have the same error on ubuntu 14.04. I have updated curl to the latest version refreshed certs
sudo update-ca-certificates --fresh
But still bet this error.
sayth@:~/MyDataScienceToolbox$ vagrant up Bringing machine 'default' up with 'virtualbox' provider... ==> default: Box 'data-science-toolbox/data-science-at-the-command-line' could not be found. Attempting to find and install... default: Box Provider: virtualbox default: Box Version: >= 0 ==> default: Loading metadata for box 'data-science-toolbox/data-science-at-the-command-line' default: URL: https://atlas.hashicorp.com/data-science-toolbox/data-science-at-the-command-line ==> default: Adding box 'data-science-toolbox/data-science-at-the-command-line' (v1.0.0) for provider: virtualbox default: Downloading: https://atlas.hashicorp.com/data-science-toolbox/boxes/data-science-at-the-command-line/versions/1.0.0/providers/virtualbox.box 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: 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. sayth@:~/MyDataScienceToolbox$
Updating Vagrantfile to this worked for me.
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.require_version ">= 1.5.0"
Vagrant.configure(2) do |config|
config.vm.box_download_insecure = "data-science-toolbox/data-science-at-the-command-line"
config.vm.box = "data-science-toolbox/data-science-at-the-command-line"
config.vm.network "forwarded_port", guest: 8000, host: 8000
config.vm.provider "virtualbox" do |vb|
vb.gui = true
vb.memory = 2048
vb.cpus = 2
end
end
Unfortunately, I'm unable to reproduce this error on Arch Linux and Windows 7, and I currently don't have a machine running Ubuntu 14.04. Others seem to get the same error with different boxes. This suggests that this issue is not specific to DSATCL. @MortalCatalyst, thank you for your solution.
Hi Jeroen, performing vagrant up led to the following SSL error, can you please update the certificates or guide me to a solution. Thanks.
[centos@localhost MyDataScienceToolbox]$ vagrant up Bringing machine 'default' up with 'virtualbox' provider... ==> default: Box 'data-science-toolbox/data-science-at-the-command-line' could not be found. Attempting to find and install... default: Box Provider: virtualbox default: Box Version: >= 0 ==> default: Loading metadata for box 'data-science-toolbox/data-science-at-the-command-line' default: URL: https://atlas.hashicorp.com/data-science-toolbox/data-science-at-the-command-line ==> default: Adding box 'data-science-toolbox/data-science-at-the-command-line' (v1.0.0) for provider: virtualbox default: Downloading: https://atlas.hashicorp.com/data-science-toolbox/boxes/data-science-at-the-command-line/versions/1.0.0/providers/virtualbox.box 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: 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.