Skip to content

Instantly share code, notes, and snippets.

@peterlozano
Created August 10, 2016 17:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save peterlozano/6139b2e109d83c9bc2962997ca85355e to your computer and use it in GitHub Desktop.
Save peterlozano/6139b2e109d83c9bc2962997ca85355e to your computer and use it in GitHub Desktop.
MAMP SSL Problems Fix
# https://stackoverflow.com/questions/32431465/mamp-ssl-error-error14077410ssl-routinesssl23-get-server-hellosslv3-alert
1. brew install openssl
2. Download and unpack the latest cURL
3. In the cURL source directory:
LDFLAGS="-L/usr/local/opt/openssl/lib" CPPFLAGS="-I/usr/local/opt/openssl/include" ./configure --prefix=/Applications/MAMP/Library/
4. make
5. make install
6. Restart MAMP
7. Edit php.ini and add these lines:
[curl]
curl.cainfo=/usr/local/etc/openssl/cert.pem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment