9 lines
510 B
Batchfile
9 lines
510 B
Batchfile
@echo off
|
|
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 |