How do I enable https support in libcurl?

后端 未结 3 866
我在风中等你
我在风中等你 2020-12-06 00:12

When I try to $ brew update I\'m getting the error:

error: Protocol https not supported or disabled in libcurl while accessing https://github.co         


        
3条回答
  •  执笔经年
    2020-12-06 01:00

    This worked for me:

    Re-install curl and install it using the following commands (after unpacked):

    $ ./configure --with-darwinssl    
    $ make    
    $ make test    
    $ sudo make install
    

    When you run the command "curl --version" you'll notice that the https protocol is now present under "protocols".

    Useful site to refer when you run into curl problems: https://curl.haxx.se/docs/install.html

提交回复
热议问题