Add complete example for a production cluster

This commit is contained in:
Manuel Gutierrez
2020-09-30 18:04:21 +02:00
parent 83941c143a
commit 9069d993f1
11 changed files with 1170 additions and 0 deletions
@@ -0,0 +1,12 @@
#!/bin/bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
cd $DIR
if [ -s key.pem ]
then
echo "Certificate already exists"
exit
else
openssl req -x509 -batch -nodes -days 365 -newkey rsa:2048 -keyout key.pem -out cert.pem
fi