Change openssl version in MAMP

后端 未结 4 890
野的像风
野的像风 2020-12-31 00:37

openssl 0.9.8 doesn\'t work with tls 1.2:

user@computer: /usr/bin/openssl version
OpenSSL 0.9.8zg 14 July 2015
user@computer: /usr/         


        
相关标签:
4条回答
  • 2020-12-31 00:54

    I recompiled libcurl MAMP is using. It works for me now :)

    So, let's do the following:

    1. Run /Applications/MAMP/Library/bin/curl-config --version to see which version you've got
    2. Go to http://curl.haxx.se/download/ and download the right version
    3. Configure it with ./configure --prefix=/Applications/MAMP/Library/
    4. make && make install

    Source: http://dev.soup.io/post/56438473/If-youre-using-MAMP-and-doing-something

    0 讨论(0)
  • 2020-12-31 00:58

    As of July 21, 2016, there is a pre-release available of MAMP PRO 4 which includes OpenSSL 1.0.2, get the pre-release here:

    https://www.mamp.info/en/pre-release.html

    0 讨论(0)
  • 2020-12-31 01:00

    I have asked this question to developers MAMP & MAMP PRO. Here's what they said:

    MAMP (PRO) 3.x does NOT bundle OpenSSL software but uses what comes bundled with Mac OS. If you update OpenSSL in Mac OS, MAMP (PRO) should automatically use the updated version. We will be including the latest OpenSSL in our future MAMP 4 release, which will be available soon. This will be a paid update.


    UPD From comments (thanks to @lukemh):

    PHP CURL fails on Cloudflare or SSLv3 sites using MAMP 3.5 due to old OpenSSL version

    0 讨论(0)
  • 2020-12-31 01:00

    If you wish to continue using MAMP version 3 you could also do the following to get it to work:

    1. Rename your current version of MAMP to MAMPv3
    2. Download MAMP version 4 and once downloaded rename it to MAMPv4
    3. Rename MAMPv3 back to just plain old MAMP
    4. Go back into MAMPv4 and head into the "Library" directory and copy the folder inside called "OpenSSL"
    5. Move this folder into your older version of MAMP and reboot servers. Worked for me!
    0 讨论(0)
提交回复
热议问题