I have used brew install openssl to download and install openssl v1.0.2f, however, it comes back saying:
brew install openssl
A CA file has been bootstrapped using c
Only
export PATH=$(brew --prefix openssl)/bin:$PATH in ~/.bash_profile
has worked for me! Thank you mipadi.