Adds missing templates.

This commit is contained in:
turint 2014-08-29 18:18:28 +03:00 committed by Damian Minkov
parent d0b58b6d53
commit eeb9df55d5
2 changed files with 24 additions and 0 deletions

View File

@ -42,6 +42,7 @@ case "$1" in
CERT_CHOICE="$RET" CERT_CHOICE="$RET"
if [ "$CERT_CHOICE" == 'I want a generated self-signed certificate' ]; then if [ "$CERT_CHOICE" == 'I want a generated self-signed certificate' ]; then
# self-signed certificate is already in place for prosody # 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 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_fset jitsi-meet/default-key "/etc/ssl/$JVB_HOSTNAME.key"
db_get jitsi-meet/cert-path-key db_get jitsi-meet/cert-path-key

23
debian/jitsi-meet.templates vendored Normal file
View File

@ -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.