Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(debian): Fixes initial install and certs in trust store.

damencho8530c1f2fcc1
diff --git a/debian/control b/debian/control
index b4569a4fe7..80e6e4f720 100644
--- a/debian/control
+++ b/debian/control
@@ -34,7 +34,7 @@ Description: Configuration for web serving of Jitsi Meet
Package: jitsi-meet-prosody
Architecture: all
-Depends: openssl, prosody (>= 0.12.0) | prosody-trunk | prosody-0.12 | prosody-13.0, lua-sec, lua-basexx, lua-luaossl, lua-cjson, lua-inspect
+Depends: openssl, prosody (>= 0.12.0) | prosody-trunk | prosody-0.12 | prosody-13.0, ca-certificates-java, lua-sec, lua-basexx, lua-luaossl, lua-cjson, lua-inspect
Replaces: jitsi-meet-tokens
Description: Prosody configuration for Jitsi Meet
Jitsi Meet is a WebRTC JavaScript application that uses Jitsi
diff --git a/debian/jitsi-meet-prosody.postinst b/debian/jitsi-meet-prosody.postinst
index 536281bcb5..1a5a1a4255 100644
--- a/debian/jitsi-meet-prosody.postinst
+++ b/debian/jitsi-meet-prosody.postinst
@@ -284,13 +284,17 @@ case "$1" in
# and drop the wait and the prosody restart
sleep 1
invoke-rc.d prosody restart || true
-
- # In case we had updated the certificates and restarted prosody, let's restart and the bridge and jicofo if possible
- if [ -d /run/systemd/system ] && [ "$CERT_ADDED_TO_TRUST" = "true" ]; then
+ fi
+ ;;
+ triggered)
+ for trigger in $2; do
+ if [ "$trigger" = "update-ca-certificates-java" ]; then
+ echo "Java certificates updated, restarting Jitsi components..."
systemctl restart jitsi-videobridge2.service >/dev/null || true
systemctl restart jicofo.service >/dev/null || true
fi
- fi
+ done
+ exit 0
;;
abort-upgrade|abort-remove|abort-deconfigure)
diff --git a/debian/jitsi-meet-prosody.triggers b/debian/jitsi-meet-prosody.triggers
new file mode 100644
index 0000000000..6988d45724
--- /dev/null
+++ b/debian/jitsi-meet-prosody.triggers
@@ -0,0 +1 @@
+interest-noawait update-ca-certificates-java