$ brew update && brew upgrade && brew install openssl
$ cd /usr/local/Cellar/openssl/1.0.2t/lib
$ sudo cp libssl.1.0.0.dylib libcrypto.1.0.0.dylib /usr/local/lib/
$ cd /usr/local/lib
$ mv libssl.dylib libssl_bak.dylib
$ mv libcrypto.dylib libcrypto_bak.dylib
$ sudo ln -s libssl.1.0.0.dylib libssl.dylib
$ sudo ln -s libcrypto.1.0.0.dylib libcrypto.dylib
```