문제

I cannot get past the following error:

$ 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.

I have run rhc setup -k (to the same end) as well as sudo gem update rhc (I have the latest versions of everything, AFAIK). I've also deleted the ~/.openshift directory to no avail. My ssh keys seem fine and intact otherwise, but maybe are corrupted somehow?

How can I fix this error?

도움이 되었습니까?

해결책 3

We are currently doing maintenance and upgrading openshift online (https://openshift.redhat.com/app/status) please try again or try waiting until the maintenance is done. It is also possible that you are on a network that is using a proxy, or proxying https requests with it's own certificate.

This fix ("bad ecpoint" SSL error on fresh RVM Ruby 1.9.3 install on OSX Mountain Lion) ultimately solved the users issue.

다른 팁

Your rhc gem may be out of date. I fixed this problem by typing at the command line:

gem install rhc

Then I was able to go through the setup procedure (again).

You can also add ssl_version=tlsv1 to .openshift/express.conf in order to set a non SSLv3 protocol as described in this link

That worked for me.

Edit: I've find out that you can also resolve this with a sudo gem update rhc from this question

Try:

unset http_proxy

and then running rhc setup again. or define no_proxy:

export no_proxy="127.0.0.1, example.com"
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top