Comments (7)
If you come across this, as I have, the solution is to download Vagrant from the website itself as opposed to using the apt version in Canonical's sources, which is out of date and has this issue.
from scotch-box.
What version of Vagrant are you runniing?
from scotch-box.
What version of Vagrant are you runniing?
Version 1.7.1, like I wrote, I think that’s the latest.
$ vagrant --version
Vagrant 1.7.1
from scotch-box.
It looks like this might be an upstream problem, Vagrant shipping with a faulty certificate bundle in cURL: hashicorp/vagrant#5001.
I personally haven’t gotten it to work yet, even swapping out the cacert.pem
file, but I might just be doing it wrong.
from scotch-box.
For people running into problems, it should work using --insecure
:
$ vagrant box add scotch/box --insecure
This will still leave some problems. For example, vagrant up
will try to check for scotch/box
updates and will fail. My full Terminal log:
$ vagrant box add scotch/box --insecure
==> box: Loading metadata for box 'scotch/box'
box: URL: https://atlas.hashicorp.com/scotch/box
==> box: Adding box 'scotch/box' (v1.0.2) for provider: virtualbox
box: Downloading: https://atlas.hashicorp.com/scotch/boxes/box/versions/1.0.2/providers/virtualbox.box
==> box: Successfully added box 'scotch/box' (v1.0.2) for 'virtualbox'!
$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'scotch/box'...
==> default: Matching MAC address for NAT networking...
==> default: Checking if box 'scotch/box' is up to date...
==> default: There was a problem while downloading the metadata for your box
==> default: to check for updates. This is not an error, since it is usually due
==> default: to temporary network problems. This is just a warning. The problem
==> default: encountered was:
==> default:
==> default: SSL certificate problem: self signed certificate in certificate chain
==> default: More details here: http://curl.haxx.se/docs/sslcerts.html
==> default:
==> default: curl performs SSL certificate verification by default, using a "bundle"
==> default: of Certificate Authority (CA) public keys (CA certs). If the default
==> default: bundle file isn't adequate, you can specify an alternate file
==> default: using the --cacert option.
==> default: If this HTTPS server uses a certificate signed by a CA represented in
==> default: the bundle, the certificate verification probably failed due to a
==> default: problem with the certificate (it might be expired, or the name might
==> default: not match the domain name in the URL).
==> default: If you'd like to turn off curl's verification of the certificate, use
==> default: the -k (or --insecure) option.
==> default:
==> default: If you want to check for box updates, verify your network connection
==> default: is valid and try again.
==> default: Setting the name of the VM: my-project_default_1419766646626_36888
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
default: Adapter 2: hostonly
==> default: Forwarding ports...
default: 22 => 2222 (adapter 1)
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
default: SSH address: 127.0.0.1:2222
default: SSH username: vagrant
default: SSH auth method: private key
default:
default: Vagrant insecure key detected. Vagrant will automatically replace
default: this with a newly generated keypair for better security.
default:
default: Inserting generated public key within guest...
default: Removing insecure key from the guest if its present...
default: Key inserted! Disconnecting and reconnecting using new SSH key...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
default: The guest additions on this VM do not match the installed version of
default: VirtualBox! In most cases this is fine, but in rare cases it can
default: prevent things such as shared folders from working properly. If you see
default: shared folder errors, please make sure the guest additions within the
default: virtual machine match the version of VirtualBox you have installed on
default: your host and reload your VM.
default:
default: Guest Additions Version: 4.2.0
default: VirtualBox Version: 4.3
==> default: Setting hostname...
==> default: Configuring and enabling network interfaces...
==> default: Mounting shared folders...
default: /var/www => /Users/admin/Sites/my-project
from scotch-box.
I noticed this too. I'll be waiting for an update from Vagrant to address this. Thanks for the workaround.
from scotch-box.
thanks its working using '' --insecure ''
from scotch-box.
Related Issues (20)
- PHP Version with Pro
- Guest additions version outdated/incompatible HOT 3
- Can we get scotch.io to a LTS dist?
- SB 3.5 shows default home page for every project HOT 2
- Vagrant Up - Unable To Fetch HOT 2
- There was an error while executing `VBoxManage`, a CLI used by Vagrant for controlling VirtualBox. The command and stderr is shown below. HOT 1
- Laravel mix not working by default HOT 1
- Ubuntu 17.10 is EOL, and provisioning new box now fails as a result HOT 7
- Error with Craft CMS on Installation
- 38456 HOT 1
- Vagrant up not working HOT 1
- Vagrant up not working (MacOS) HOT 1
- Scotch Box 3.5 not running on macOS Catalina HOT 2
- Uncaught Error: Class 'PDO' not found HOT 1
- 403 Forbidden error when using NFS on MacOS Catalina HOT 1
- Invalid link HOT 1
- For NodeJS apps: nodemon doesn't work HOT 1
- PHP 5.6 is installed by default on the free version HOT 2
- the php version need be update to 7.4 HOT 1
- vagrant up error: HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scotch-box.