This commit is contained in:
t3chn0m4g3
2020-02-26 14:22:48 +00:00
parent 70dca02ce4
commit bf7d1299ca
28 changed files with 136 additions and 28 deletions

View File

@ -0,0 +1,12 @@
#!/bin/bash
# Got root?
myWHOAMI=$(whoami)
if [ "$myWHOAMI" != "root" ]
then
echo "Need to run as root ..."
exit
fi
openssl req -nodes -x509 -sha512 -newkey rsa:8192 -keyout "nginx.key" -out "nginx.crt" -days 3650