Ubuntu – How to enable https support for curl in 14.04

14.04curlhttpsssl

I have a "curl" program installed on Ubuntu 14.04 Server. Unfortunately, it does not support https.

I have googled this problem and found a suggestion to replace "curl" package with "curl-ssl", but "apt-get" can not find it.

I definitely do not want to compile it by myself.
Help me, please.
Here is my curl -V output:

curl 7.37.1 (x86_64-unknown-linux-gnu) libcurl/7.37.1 libssh2/1.4.3
Protocols: dict file ftp gopher http imap pop3 rtsp scp sftp smtp telnet tftp 
Features: IPv6 Largefile 

UPD
I have found file /usr/local/bin/curl, which is always 7.37, it does not depend of package installed via apt-get

UPD
whereis curl:

 curl: /usr/bin/curl /usr/local/bin/curl /usr/share/man/man1/curl.1.gz

Best Answer

Be careful, it is dangerous and may not be what you need

rm /usr/local/lib/libcurl*

It makes Ubuntu use package instead of compiled version of curl

Related Question