相关疑难解决方法(0)

使用openshift nodejs app接收"SSL_connect returns = 1 errno = 0 state = SSLv3 read server hello A:sslv3 alert handshake failure"

我在openshift上有一个nodejs应用程序,当我们在本地开发时,我们使用rhc port-forward命令连接到我们的数据库.

我们已经实施了护照,通过谷歌和Facebook验证用户.我已经验证了我的自我,我们仍然可以使用rhc命令.我的合作伙伴最近通过脸书验证了自己,不久之后(约1周),我们抛出了这个错误.不知道这是否完全相关,但包括它可能不会有害.

Connection to openshift.redhat.com failed: A secure connection could not be established to the   server
(SSL_connect returned=1 errno=0 state=SSLv3 read server hello A: sslv3 alert handshake failure). 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.
Run Code Online (Sandbox Code Playgroud)

关于如何解决这个问题的任何想法?我在其他堆栈问题上看到了这个错误,但是我看到的每一个问题,提出问题的人都在使用ruby.

ssl node.js openshift openshift-client-tools

7
推荐指数
2
解决办法
7938
查看次数

在OSX Mountain Lion上安装新的RVM Ruby 1.9.3时出现"错误的ecpoint"SSL错误

尝试使用Ruby 1.9.3并rest-client发出https请求,例如:

RestClient.get('https://google.com')
Run Code Online (Sandbox Code Playgroud)

总是给我一个SSL错误,

OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=SSLv3 read server key exchange B: bad ecpoint
Run Code Online (Sandbox Code Playgroud)

这是我无法弄清楚的.bad ecpoint

我毫不费力地使用1.9.3&rest-client在另一台Mountain Lion机器上发出相同的请求.

关于这台机器的注意事项:MacBook pro带有新的Mountain Lion安装,我最初在通过XCode命令行工具安装gcc-4.2时遇到了一些麻烦,但最终通过自制软件/ dupes获得了gcc-4.2 .从那时起,我已经卸载并重新安装了RVM和1.9.3.

ruby rest-client rvm ruby-1.9.3 osx-mountain-lion

1
推荐指数
1
解决办法
2170
查看次数