From eeb9df55d5e10b8e0c721f6f573c4a2011b4891c Mon Sep 17 00:00:00 2001 From: turint Date: Fri, 29 Aug 2014 18:18:28 +0300 Subject: [PATCH] Adds missing templates. --- debian/jitsi-meet.postinst | 1 + debian/jitsi-meet.templates | 23 +++++++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 debian/jitsi-meet.templates diff --git a/debian/jitsi-meet.postinst b/debian/jitsi-meet.postinst index cd0e35920..a9411cc9e 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 000000000..f6f10f6bb --- /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.