bridge-local-dev/nginx/make-ssl-keys.bat
Martin Donnelly 78a95206a3 init
2018-06-24 21:13:31 +01:00

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