11 lines
526 B
Bash
Executable File
11 lines
526 B
Bash
Executable File
#!/bin/bash
|
|
echo "-------------------------------------------------------------------"-
|
|
echo "Making self-signed keys for the HTTPS proxy."
|
|
echo "You will be asked to answer some questions. The important one is:"
|
|
echo "'Common Name'"
|
|
echo "Set this to localhost, 127.0.0.1., or your machine's IP address"
|
|
echo "--------------------------------------------------------------------"
|
|
mkdir conf/keys
|
|
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout conf/keys/nginx-selfsigned.key -out conf/keys/nginx-selfsigned.crt
|
|
|