[Solved] OpenSSL error: Unable to establish SSL connection

Issues related to applications and software problems
Post Reply
EricLiii
Posts: 3
Joined: 2018/09/03 08:08:31

[Solved] OpenSSL error: Unable to establish SSL connection

Post by EricLiii » 2018/09/03 08:50:47

I use CentOS 6.5 64bit and have this error: Unable to establish SSL connection. The following are the details.

[root@MyLinuxBox ~]# wget http://people.centos.org/tru/devtools-1 ... s-1.1.repo -O /etc/yum.repos.d/devtools-1.1.repo
--2018-09-03 16:29:49-- http://people.centos.org/tru/devtools-1 ... s-1.1.repo
Resolving people.centos.org...50.28.24.115
Connecting to people.centos.org|50.28.24.115|:80...connected.
HTTP request sent, awaiting response... 302 Found
Location: https//people.centos.org/tru/devtools-1.1/devtools-1.1.repo [following]
--2018-09-03 16:29:50-- https://people.centos.org/tru/devtools- ... s-1.1.repo
Connecting to people.centos.org|50.28.24.115|:443...connected.
OpenSSL: error:100AE081:elliptic curve routines:EC_GROUP_new_by_curve_name:unknown group
OpenSSL: error:1408D010:SSL routines:SSL3_GET_KEY_EXCHANGE:EC lib
Unable to establish SSL connection

I have tried 'yum update wget' and '--no-check-certificate', but still have this error. Anyone can help me?
Thanks!
Last edited by EricLiii on 2018/09/04 02:26:16, edited 1 time in total.

User avatar
avij
Retired Moderator
Posts: 3046
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland
Contact:

Re: OpenSSL error: Unable to establish SSL connection

Post by avij » 2018/09/03 08:57:04

Works fine here on a fully updated CentOS 6.10 server:

Code: Select all

$ wget http://people.centos.org/tru/devtools-1.1/devtools-1.1.repo
--2018-09-03 08:55:49--  http://people.centos.org/tru/devtools-1.1/devtools-1.1.repo
Resolving people.centos.org... 50.28.24.115
Connecting to people.centos.org|50.28.24.115|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://people.centos.org/tru/devtools-1.1/devtools-1.1.repo [following]
--2018-09-03 08:55:50--  https://people.centos.org/tru/devtools-1.1/devtools-1.1.repo
Connecting to people.centos.org|50.28.24.115|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 174 [application/x-troff-man]
Saving to: “devtools-1.1.repo”

2018-09-03 08:55:50 (11.3 MB/s) - “devtools-1.1.repo” saved [174/174]
Try yum update without any other parameters to update the other packages as well.

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: OpenSSL error: Unable to establish SSL connection

Post by TrevorH » 2018/09/03 13:26:19

There were major changes in openssl at 6.5 and fixes to those changes in almost every CentOS 6 point release since. Update to 6.10 and try again.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

EricLiii
Posts: 3
Joined: 2018/09/03 08:08:31

Re: OpenSSL error: Unable to establish SSL connection

Post by EricLiii » 2018/09/04 02:21:08

avij wrote:
2018/09/03 08:57:04
Works fine here on a fully updated CentOS 6.10 server:

Code: Select all

$ wget http://people.centos.org/tru/devtools-1.1/devtools-1.1.repo
--2018-09-03 08:55:49--  http://people.centos.org/tru/devtools-1.1/devtools-1.1.repo
Resolving people.centos.org... 50.28.24.115
Connecting to people.centos.org|50.28.24.115|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://people.centos.org/tru/devtools-1.1/devtools-1.1.repo [following]
--2018-09-03 08:55:50--  https://people.centos.org/tru/devtools-1.1/devtools-1.1.repo
Connecting to people.centos.org|50.28.24.115|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 174 [application/x-troff-man]
Saving to: “devtools-1.1.repo”

2018-09-03 08:55:50 (11.3 MB/s) - “devtools-1.1.repo” saved [174/174]
Try yum update without any other parameters to update the other packages as well.
'yum update' worked! Thank you very much!

EricLiii
Posts: 3
Joined: 2018/09/03 08:08:31

Re: OpenSSL error: Unable to establish SSL connection

Post by EricLiii » 2018/09/04 02:24:47

TrevorH wrote:
2018/09/03 13:26:19
There were major changes in openssl at 6.5 and fixes to those changes in almost every CentOS 6 point release since. Update to 6.10 and try again.
The version used in my tutorials is 6.5. So I plan to use 6.5 for now and update later since I have solved this problem by using 'yum update'. Anyway, thank you very much!

Post Reply