Skip to content

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

Adds missing templates.

turinteeb9df55d5e1
diff --git a/debian/jitsi-meet.postinst b/debian/jitsi-meet.postinst
index cd0e359204..a9411cc9e2 100644
--- a/debian/jitsi-meet.postinst
+++ b/debian/jitsi-meet.postinst
@@ -42,6 +42,7 @@ case "$1" in
CERT_CHOICE="$RET"
if [ "$CERT_CHOICE" == 'I want a generated self-signed certificate' ]; then
# self-signed certificate is already in place for prosody
+ :
elif [ "$CERT_CHOICE" == 'I have a certificate and will upload the files on the server' ]; then
db_fset jitsi-meet/default-key "/etc/ssl/$JVB_HOSTNAME.key"
db_get jitsi-meet/cert-path-key
diff --git a/debian/jitsi-meet.templates b/debian/jitsi-meet.templates
new file mode 100644
index 0000000000..f6f10f6bb0
--- /dev/null
+++ b/debian/jitsi-meet.templates
@@ -0,0 +1,23 @@
+Template: jitsi-meet/cert-choice
+Type: select
+Choices: I want a generated self-signed certificate, I have a certificate and will upload the files on the server
+Description: SSL certificate for the Jitsi Meet instance
+ Jitsi Meet is best to be set up with an SSL certificate.
+ If you have no certificate, we can generate a self-signed one.
+ If you have a certificate signed by a recognised CA, you can upload it on the server
+ and point us to its location. The default filenames will be /etc/ssl/--domain.name--.key
+ for the key and /etc/ssl/--domain.name--.crt for the certificate.
+
+Template: jitsi-meet/cert-path-key
+Type: string
+Default: ${default-key}
+Description: Full local server path to the SSL key file
+ The full path to the SSL key file on the server.
+ If you haven't uploaded it, now is a good time to upload it in another console.
+
+Template: jitsi-meet/cert-path-crt
+Type: string
+Default: ${default-crt}
+Description: Full local server path to the SSL certificate file
+ The full path to the SSL certificate file on the server.
+ If you haven't uploaded it, now is a good time to upload it in another console.