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
@netbull can you post your php.ini file.. I've just spent a few hours trying all different options and just cannot get openssl to show up as ssl version in php... curl is showing
$ curl -V
curl 7.59.0 (x86_64-apple-darwin16.7.0) libcurl/7.59.0 OpenSSL/1.0.2o zlib/1.2.8 libidn2/2.0.4
but php is showing 7.54.0 running 7.2
also when installing php via brew --with-openssl is ignored these days.. I'm stuck at this point don't know what to do.