Curb and curl: (1) Protocol https not supported or disabled in libcurl

If you receive an error message like the following from either curb or curl:

curl: (1) Protocol https not supported or disabled in libcurl

Then you might want to recompile curl with ssl support.

If you are a Mac OS X user and you are using MacPorts this might look like this:

sudo port install curl +ssl

Most likely you already had a installation of curl on your system so port might complain with a message similar to

Error: Target org.macports.activate returned: Image error: Another version of this port (curl @7.19.5_0) is already active.
Error: Status 1 encountered during processing.

What you need to do is to disable the active port and then activate the ssl enabled version.
Changing the active port can be done like this:

First we want to see which ports are available:

port installed curl
The following ports are currently installed:
curl @7.19.5_0
curl @7.19.5_0+ssl (active)

Then we deactivate the port without ssl

sudo port deactivate curl @7.19.5_0

Now we can enable the ssl enabled curl port:

sudo port activate curl @7.19.5_0+ssl

That’s it. Now you can access https://www.whateveryoulike.com.

Kommentarfunktion ist deaktiviert