私はvagrantを初めて使用しますが、数か月前に一度試しました。
今は動作しません。puphpet 構成を生成してダウンロードしました - もちろん ruby と puppet gem と virtualbox がインストールされています - しかし、vagrant を起動すると、証明書に関するエラーがプッシュされます。
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'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/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's verification of the certificate, use
the -k (or --insecure) option.
mozilla CA バンドル証明書をインストールし、システム変数「SSL_CERTIFICATE_PATH」を追加しました。パスは機能しています。これは、gem パッケージ マネージャーの問題の解決策でした。
誰でもこれを理解する方法を知っていますか?
前もって感謝します、ダニー
私が取り組んでいるシステム: (Win7 x64、Ruby 2.1.5p、Vagrant 1.7.2、git がインストールされている)
解決済み
認証の問題は、システム上の AVG アンチウイルスの障害であり、AVG ファイアウォールが原因で cURL がルックアップできませんでした。しばらく avg をオフにして、ボックスをダウンロードしました...その後、avg を再度実行すると、以前にダウンロードしたボックスでボックスを起動できました。