CentOS 5.11 & 6.6 do not support Elliptic key cryptography

published Jul 06, 2015 09:40   by admin ( last modified Jul 07, 2015 01:29 )

...very well it seems in my initial tests. When running a python package in CentOS 5.11 I got:

 undefined symbol: EC_KEY_new_by_curve_name

Now I've found this discussion, not mentioning Red Hat Enterprise Linux 5.11 (which CentOS is based on) by name, but it seems like support was withheld due to copyright worries:

Bug 319901 – missing ec and ecparam commands in openssl package

One workaround seems to be to compile your own OpenSSL libraries.

I then installed CentOS 6.6 and got a similar error message:

RuntimeError: openssl error: error:100AE081:elliptic curve routines:EC_GROUP_new_by_curve_name:unknown group

but I am just looking for a supported distribution with an old glibc that I want to use to get the widest support for a python package that will be made into one file with PyInstall. So off to the next candidate for that. Or I'll compile an OpenSSL for CentOS 5.11 and see what actaully does get installed with PyInstaller.

Untested how-to here for CentOS 6:

Install bitcoind on CentOS 6.5

Latest right now (2015-07-07) seems to be:

openssl-1.0.2c.tar.gz