SOLVED - How to wander (with a puppet) on windows 7 x64 with a vagrant 1.7.2?

I am new to vagrant, but I tried it a few months ago.

Now it just doesn’t work, I generated a puphpet configuration and downloaded - of course, the ruby ​​and the puppet stone and the virtual box were installed - but when I hit the stroller, it throws a certificate error and so on:

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 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 verification of the certificate, use
 the -k (or --insecure) option.

I installed the mozilla CA package certificates and added the system variable 'SSL_CERTIFICATE_PATH' and the path works. This was the solution to the gem package manager problem.

Anyone have an idea how to understand this?

Thanks Advance, Danny

The system I'm trying to work on: (installed Win7 x64, Ruby 2.1.5p, Vagrant 1.7.2, git)

UPDATE

AVG Antivirus , cURL - AVG Firewall. avg ... - avg - .

+4
3

, - . SSL ubuntu. "Vagrantfile" :

config.vm.box_download_insecure = true

+8

puphpet, , hashicorp/trusty64, Vagrantfile.

, configs puphpet , puphpet/*, "" . Puphpet , SO .

+1

Be sure to disable antivirus software during the installation of the firewall. It seems that antivirus programs simply silently delete the set of CA certificates during installation.

+1
source

Source: https://habr.com/ru/post/1570708/


All Articles