I'm trying to install a framework using
curl but I keep getting this annoying error message
curl: (1) Protocol https not supported or disabled in libcurl. Does any one know how to fix this? I'm stack!
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
I managed to fix the issue after some hours of trying various options! Here's what I did:
Downloaded from http://curl.haxx.se/download.html.
tar -xzf curl-***.tar.gz cd curl-*.*.* ./configure --with-ssl make sudo make install
Officially cURL does not support HTTPS. The answer above didn't work for me, already tried download new versions added with --with-ssl command and got no lucky, this answer solved my problem.
I still don't know why using Aptitude installs a version without support for HTTPS but building from scratch did the trick:
git clone https://github.com/bagder/curl.git sudo apt-get build-dep curl cd curl ./buildconf ./configure make sudo make install
Now curl -V yields
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp smb smbs smtp smtps telnet tftp Features: IDN IPv6 Largefile NTLM NTLM_WB SSL libz TLS-SRP UnixSockets