+ optional ssl for nginx
This commit is contained in:
6
bash/nginx-ssl-gen.sh
Normal file
6
bash/nginx-ssl-gen.sh
Normal file
@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
DIR="$(realpath $(dirname "$(readlink -f "$0")")/..)"
|
||||
|
||||
cd ${DIR}/config/nginx/ssl.d && \
|
||||
openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -sha256 -days 3650 -nodes -subj \
|
||||
"/C=XX/ST=RU/L=RU/O=WPS/OU=Dev/CN=test"
|
Reference in New Issue
Block a user