Helper script to generate a self signed certificate for localhost development.
The script accepts a single argument which will be used to generate the output:
./cert.sh example_local_com
This will generate the following files:
example_local_com.crt
example_local_com.csr
example_local_com.key