Initial import

This commit is contained in:
Saúl Ibarra Corretgé
2018-03-14 10:23:13 +01:00
commit 467a149cbb
37 changed files with 1010 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
#!/usr/bin/with-contenv bash
if [[ -f /config/keys/cert.key && -f /config/keys/cert.crt ]]; then
echo "using keys found in /config/keys"
else
echo "generating self-signed keys in /config/keys, you can replace these with your own keys if required"
SUBJECT="/C=US/ST=TX/L=Austin/O=jitsi.org/OU=Jitsi Server/CN=*"
openssl req -new -x509 -days 3650 -nodes -out /config/keys/cert.crt -keyout /config/keys/cert.key -subj "$SUBJECT"
fi