mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-21 22:59:07 +00:00
remove self signed certs generation
This commit is contained in:
parent
c9d1c95b38
commit
788e8363ef
10
configure.sh
10
configure.sh
@ -146,16 +146,6 @@ fi
|
||||
|
||||
cd oneuptime
|
||||
|
||||
# Generate Self Signed SSL certificate.
|
||||
|
||||
CERT=./Certs/ServerCerts/Cert.crt
|
||||
if test -f "$CERT"; then
|
||||
echo "SSL Certificate exists. Skipping generating a new one."
|
||||
else
|
||||
echo "SSL Certificate not found. Generating a new certificate."
|
||||
openssl req -new -x509 -nodes -subj "/C=GB/ST=London/L=London/O=Global Security/OU=IT Department/CN=example.com" -out ./Certs/ServerCerts/Cert.crt -keyout ./Certs/ServerCerts/Key.key -days 99999
|
||||
fi
|
||||
|
||||
# Create .env file if it does not exist.
|
||||
touch config.env
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user