`rhc setup`错误:`无法与服务器建立安全连接

时间:2014-04-09 01:07:00

标签: openshift openshift-client-tools

我无法通过以下错误:

$ rhc setup
OpenShift Client Tools (RHC) Setup Wizard

This wizard will help you upload your SSH keys, set your application namespace,
and check that other programs like Git are properly installed.

A secure connection could not be established to the server (SSL_connect
returned=1 errno=0 state=SSLv3 read server key exchange B: bad ecpoint). You may
disable secure connections to your server with the -k (or --insecure) option
'https://openshift.redhat.com/broker/rest/api'.

If your server is using a self-signed certificate, you may disable certificate
checks with the -k (or --insecure) option. Using this option means that your
data is potentially visible to third parties.

我已经rhc setup -k(同一端)和sudo gem update rhc(我有最新版本的所有内容,AFAIK)。我也删除了~/.openshift目录无济于事。我的ssh键看起来很好而且原封不动,但可能会以某种方式损坏?

如何解决此错误?

4 个答案:

答案 0 :(得分:9)

您的rhc gem可能已过期。我通过在命令行输入来修复此问题:

gem install rhc

然后我能够再次完成设置程序。

答案 1 :(得分:3)

您还可以将 ssl_version = tlsv1 添加到 .openshift / express.conf ,以便按照此link中的说明设置非SSLv3协议

这对我有用。

编辑: 我发现您也可以使用this问题

中的sudo gem update rhc解决此问题

答案 2 :(得分:2)

我们目前正在线上进行维护和升级openhift(https://openshift.redhat.com/app/status),请再试一次或尝试等待维护完成。您也可能在使用代理的网络上,或使用自己的证书代理https请求。

此修复程序("bad ecpoint" SSL error on fresh RVM Ruby 1.9.3 install on OSX Mountain Lion)最终解决了用户问题。

答案 3 :(得分:0)

尝试:

unset http_proxy

然后再次运行rhc setup。 或者定义no_proxy:

export no_proxy="127.0.0.1, example.com"
相关问题