You have compiled cURL without https support…
This is not a API issue but a server setup issue your side