Upgrade openssl
brew upgrade openssl
Updating Homebrew...
==> Upgrading 1 outdated package:
openssl 1.1.1d -> 1.1.1f
==> Upgrading openssl 1.1.1d -> 1.1.1f
==> Downloading https://homebrew.bintray.com/bottles/openssl@1.1-1.1.1f.catalina.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/72/724cd97c269952cdc28e24798e350fcf520a32c5985aeb26053ce006a09d8179?__gda__=
######################################################################## 100.0%
==> Pouring openssl@1.1-1.1.1f.catalina.bottle.tar.gz
==> Caveats
A CA file has been bootstrapped using certificates from the system
keychain. To add additional certificates, place .pem files in
/usr/local/etc/openssl@1.1/certs
and run
/usr/local/opt/openssl@1.1/bin/c_rehash
openssl@1.1 is keg-only, which means it was not symlinked into /usr/local,
because macOS provides LibreSSL.
If you need to have openssl@1.1 first in your PATH run:
echo 'export PATH="/usr/local/opt/openssl@1.1/bin:$PATH"' >> ~/.bash_profile
For compilers to find openssl@1.1 you may need to set:
export LDFLAGS="-L/usr/local/opt/openssl@1.1/lib"
export CPPFLAGS="-I/usr/local/opt/openssl@1.1/include"
For pkg-config to find openssl@1.1 you may need to set:
export PKG_CONFIG_PATH="/usr/local/opt/openssl@1.1/lib/pkgconfig"
==> Summary
🍺 /usr/local/Cellar/openssl@1.1/1.1.1f: 8,057 files, 18MB
Make links
ln -s /usr/local/Cellar/openssl\@1.1/1.1.1f/lib/libcrypto.dylib /usr/local/lib/
ln -s /usr/local/Cellar/openssl\@1.1/1.1.1f/lib/libssl.dylib /usr/local/lib/