新たにboxイメージをダウンロードしようと思い試しているのですが、どれも同じようなエラーとなってしまいます。
おそらくsshによる鍵の設定かと思い、githubにて鍵の登録は済ませているはずなのですがうまく行きません。
お前らのSSH Keysの作り方は間違っている
上記のサイトを最後まで設定済みです。
アドバイスただけると幸いです。
よろしくお願いします。
sudo vagrant box add centos7-mysql http://github.com/CommanderK5/packer-centos-template/releases/download/0.7.1/vagrant-centos-7.1.box
エラー
bash
1An error occurred while downloading the remote file. The error 2message, if any, is reproduced below. Please fix this error and try 3again. 4 5SSL certificate problem: self signed certificate in certificate chain 6More details here: http://curl.haxx.se/docs/sslcerts.html 7 8curl performs SSL certificate verification by default, using a "bundle" 9 of Certificate Authority (CA) public keys (CA certs). If the default 10 bundle file isn't adequate, you can specify an alternate file 11 using the --cacert option. 12If this HTTPS server uses a certificate signed by a CA represented in 13 the bundle, the certificate verification probably failed due to a 14 problem with the certificate (it might be expired, or the name might 15 not match the domain name in the URL). 16If you'd like to turn off curl's verification of the certificate, use 17 the -k (or --insecure) option.
追記
macOS バージョン 10.12.5
1点気になったのがもともと設定されていた鍵の設定をgithub上で削除し、再設定を行ったことです。
今までのものはメールアドレスや4000番台超えの設定などしておりませんでした。
そのため、セキュリティが強くなりすぎたのかなと思ったりしました。
また、単純に、何度も鍵の設定を行うことはよくなかったりなど。
まとまりが悪いですが、記載しておきます。
ブラウザからダウンロードしたやり方でもエラーをはいてしまいます。。。
7/17追記
上からvagrant-centos-7.3.box
、Source code (zip)
、Source code (tar.gz)
どれをインストールすればいいのでしょうか。
一応3つ試してみました。
0. 一番上の拡張子が.boxのものはローカルで開こうとしても、**書類“vagrant-centos-7.1.box”を開くために設定されているアプリケーションがありません。**となっていしまいます。
- その下の2、3番目のものは解凍して中が見え、Vagrantファイル等が存在します。
しかし、file packer-centos-template-0.7.3
とするとpacker-centos-template-0.7.3: cannot open
packer-centos-template-0.7.3' (No such file or directory)`となり、vagrant addもできない状態です。。。
回答1件
あなたの回答
tips
プレビュー