I checked the version of LibreSSL on my mac, it's not the latest one.
$ openssl version
LibreSSL 2.6.5
And I installed a more recent version by homebrew
homebrew install libressl
The one installed by homebrew is 2.8.3
. But after I installed the new one and typed in the terminal openssl version
, it still showed LibreSSL 2.6.5
, which means the new one had not been set as the default.
I know that homebrew has a different installation path. But I don't know how to set the path as the default path for the LibreSSL. How to set the latest version of LibreSSL as the default one in Mac? Can anyone give me some suggestions?