- Dependencies
brew
: run/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
node
andnpm
: runbrew install node npm
- Download the script
- Give permissions to run
chmod +x install_ssl.sh
- Run
./install_ssl.sh
- Trust the cert
- Run
open ~/.config/ssl
- Double click the cert
- Double click the cert inside keychain
- Select trust allways from the dropdown menu
Now you should be able to use serve
everywhere to serve local files through https and be
able to use the domains testing.com
and tool.testing.com
. They both point to 127.0.0.1