This issue is noted here: https://deliciousbrains.com/wp-migrate-db-pro/doc/ssl-errors/
Original reference for this fix is from: http://stackoverflow.com/questions/26461966/osx-10-10-curl-post-to-https-url-gives-sslread-error/26538127#26538127
php -i | grep "SSL Version"
SSL Version => SecureTransport
brew uninstall php71-mcrypt
brew uninstall php71
brew install --with-openssl curl
brew install --with-homebrew-curl php71
brew install php71-mcrypt
php -i | grep "SSL Version"
SSL Version => OpenSSL/1.0.2j
If you got "Cannot find libz" errors when installing php71. Run the command below and try again.
xcode-select --install