Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
debian: add SAN when generating self-signed certs
egerardus76eabf1f2952
diff --git a/debian/jitsi-meet-web-config.postinst b/debian/jitsi-meet-web-config.postinstindex ba0e4ffd42..ce13247a18 100644--- a/debian/jitsi-meet-web-config.postinst+++ b/debian/jitsi-meet-web-config.postinst@@ -91,10 +91,14 @@ case "$1" inCERT_CRT="/etc/jitsi/meet/$JVB_HOSTNAME.crt"HOST="$( (hostname -s; echo localhost) | head -n 1)"DOMAIN="$( (hostname -d; echo localdomain) | head -n 1)"- openssl req -new -newkey rsa:4096 -days 365 -nodes -x509 -subj \+ openssl req -new -newkey rsa:4096 -days 3650 -nodes -x509 -subj \"/O=$DOMAIN/OU=$HOST/CN=$JVB_HOSTNAME/emailAddress=webmaster@$HOST.$DOMAIN" \-keyout $CERT_KEY \- -out $CERT_CRT+ -out $CERT_CRT \+ -reqexts SAN \+ -extensions SAN \+ -config <(cat /etc/ssl/openssl.cnf \+ <(printf '[SAN]\nsubjectAltName=DNS:localhost,DNS:$JVB_HOSTNAME,IP:$JVB_HOSTNAME')) \fifi