[Mac] update openssl on mac

How to update OpenSSL on Mac using Homebrew. If the version still shows the old one, manually remove /usr/bin/openssl and create a symlink to the new version.

[Ubuntu] update OpenSSL

Two ways to manually update OpenSSL on Ubuntu: a quick one-liner with curl and make, or a full bash script with GPG signature verification. Useful for patching vulnerabilities like Heartbleed.