Installing OpenSSL shared libraries on CentOS 6.5
I wanted to compile tomcat with OpenSSL support and OpenSSL source code alone wasn't enough. Try installing the OpenSSL development libraries:
yum install -y openssl-devel
Your issue sounds like curl
wasn't compiled with openssl
support. You can confirm by checking to see what protocols curl
supports.
Example
From my system.
$ lsb_release -r
Release: 6.5
Curl's version info.
$ curl -V
curl 7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.14.0.0 zlib/1.2.3 libidn/1.18 libssh2/1.4.2
Protocols: tftp ftp telnet dict ldap ldaps http file https ftps scp sftp
Features: GSS-Negotiate IDN IPv6 Largefile NTLM SSL libz
The default openssl
is at this version:
$ openssl version
OpenSSL 1.0.1e-fips 11 Feb 2013