Permalink
Browse files

Added instructions for compiling OpenSSL and Perl modules on Mac OS, …

…because Apple's outdated OpenSSL doesn't work anymore with sites like Stripe.
  • Loading branch information...
rizen committed Jul 18, 2017
1 parent 23addf0 commit 2910638991353acf40951b3860336a0c39025d1e
Showing with 34 additions and 0 deletions.
  1. +3 −0 CHANGES.txt
  2. +31 −0 README.Mac.txt
View
@@ -4,6 +4,9 @@ This file tracks the changes to Wing over time. Especially
with respect to new features and compatibility changes.
==========================================================
2017-07-18
* Added instructions for compiling OpenSSL and Perl modules on Mac OS, because Apple's outdated OpenSSL doesn't work anymore with sites like Stripe.
2017-06-29
Added skip_confirm to wing.angular.js objectManager delete().
View
@@ -37,3 +37,34 @@ Then make the environment import happen after each login:
echo ". /data/Wing/bin/dataapps.sh" >> ~/.bash_profile
Notes about SSL
===============
Apple has depricated the use of OpenSSL. However, the world of Perl still uses it
extensively. Therefore if you're going to be using SSL from Perl to connect out to
other services you'll likely need to install your own SSL. Here's how:
Download OpenSSL from: https://www.openssl.org/source/
Extract it, and enter the directory. Then configure and install it using these
commands:
./Configure --prefix=/data/apps --openssldir=/data/apps/openssl --shared darwin64-x86_64-cc enable-ec_nistp_64_gcc_128
make depend
make
make install
Then you'll also need to install Perl modules to use it.
SSL Perl Modules
----------------
cpanm Net::SSLeay --configure-args "INC=-I/data/apps/include LDDLFLAGS=\"-bundle -undefined dynamic_lookup -fstack-protector-strong -L/data/apps/lib\" LD=\"env MACOSX_DEPLOYMENT_TARGET=10.12 cc\" LDFLAGS=\"-fstack-protector-strong -L/data/apps/lib\"" --interactive --verbose
cpanm --reinstall --verbose IO::Socket::SSL
cpanm --reinstall --verbose LWP::Protocol::https

0 comments on commit 2910638

Please sign in to comment.