Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

`rhc setup` error: `A secure connection could not be established to the server`

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?

like image 848
Murray Rowan Avatar asked Apr 09 '14 01:04

Murray Rowan


1 Answers

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

like image 91
John Avatar answered Oct 31 '22 08:10

John