Update OpenSSL on OS X with Homebrew

前端 未结 8 1772
天命终不由人
天命终不由人 2020-11-22 02:04

I\'m using MacOS X 10.7.5 and I need a newer OpenSSL version due to handshake failures. There are several tutorials on the internet and I tried the following:



        
8条回答
  •  天命终不由人
    2020-11-22 02:50

    On mac OS X Yosemite, after installing it with brew it put it into

    /usr/local/opt/openssl/bin/openssl

    But kept getting an error "Linking keg-only openssl means you may end up linking against the insecure" when trying to link it

    So I just linked it by supplying the full path like so

    ln -s /usr/local/opt/openssl/bin/openssl /usr/local/bin/openssl
    

    Now it's showing version OpenSSL 1.0.2o when I do "openssl version -a", I'm assuming it worked

提交回复
热议问题