【发布时间】:2014-04-29 02:25:04
【问题描述】:
当我尝试部署到 aws 时出现此错误。事实证明,这是我机器上的一个问题,其他人没有遇到过。
jkazil@jlk:~/Projects/code/geoq-chef-repo [git master] $ vagrant up --provider=aws
Bringing machine 'default' up with 'aws' provider...
[default] Box 'ubuntu_aws' was not found. Fetching box from specified URL for
the provider 'aws'. Note that if the URL does not have
a box for this provider, you should interrupt Vagrant now and add
the box yourself. Otherwise Vagrant will attempt to download the
full box prior to discovering this error.
Downloading or copying the box...
An error occurred while executing multiple actions in parallel.
Any errors that occurred are shown below.
An error occurred while executing the action on the 'default'
machine. Please handle this error then try again:
An error occurred while downloading the remote file. The error
message, if any, is reproduced below. Please fix this error and try
again.
error:14077458:SSL routines:SSL23_GET_SERVER_HELLO:reason(1112)
jlk:~/Projects/code/geoq-chef-repo [git master] $
我在互联网上发现了几件事,说我应该看看我的 openssl 版本。起初,它是 0.9.8,但我在自制软件中有 1.0.1f。所以我发现了这个:Update OpenSSL on OS X with Homebrew 并关注了它。而且我能够更新 OpenSSL。
jkazil@jlk:~/Projects/code/geoq-chef-repo [git master] $ openssl version
OpenSSL 1.0.1f 6 Jan 2014
jlk:~/Projects/code/geoq-chef-repo [git master] $
但这并没有解决问题。只是为了澄清一下,这不是 aws 问题,而是我的问题。这是我试图在本地拉下一台机器。我正在使用不安全标志来尝试将其通过,但无论是否使用它都不起作用。
jkazil@jlk:~/Projects/code/geoq-chef-repo [git master] $ vagrant box add dummy https://github.com/mitchellh/vagrant-aws/raw/master/dummy.box --insecure
Downloading or copying the box...
An error occurred while downloading the remote file. The error
message, if any, is reproduced below. Please fix this error and try
again.
error:14077458:SSL routines:SSL23_GET_SERVER_HELLO:reason(1112)
jlk:~/Projects/code/geoq-chef-repo [git master] $
最后,我想分享一下我的 PATH,以防万一有人有这个问题。
jlk:~/Projects/code/geoq-chef-repo [git master] $ echo $PATH
/usr/local/Cellar/ruby/2.0.0-p247/bin:/Users/jkazil/bin:/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
jlk:~/Projects/code/geoq-chef-repo [git master] $
有什么建议吗?
【问题讨论】:
-
您是否安装了一些 SSL 拦截防火墙?
-
这个问题似乎离题了,因为它是 Vagrant 中已经报告的错误:github.com/mitchellh/vagrant/issues/3036
-
不,这个问题不同。在这里,服务器回复“无法识别的名称”致命 SSL 警报(作为对其不知道的 SNI 服务器名称的回复发送),这与客户端决定无法验证证书(valgrand issue 3036)完全不同。
-
所有 -- 我正在阅读 cmets。 @SteffenUllrich - 我已经在 3 个不同的网络上厌倦了这个,包括家庭,所以我不认为我在 SSL 拦截防火墙后面。
标签: ssl openssl chef-infra vagrant routines