Using own SSL certificate (Docker Installation)

I have successfully install Jitsi-meet on Ubuntu 18.04 LTS using docker installation method and I’m trying to make Jitsi-meet use my own SSL certificate from this directory: /home/admin/conf/web/domain.com/ssl/

I try replacing below lines in /root/docker-jitsi-meet/web/rootfs/defaults/ssl.conf file.

ssl_certificate /etc/letsencrypt/live/{{ .Env.LETSENCRYPT_DOMAIN }}/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/{{ .Env.LETSENCRYPT_DOMAIN }}/privkey.pem;

with this:

ssl_certificate /home/admin/conf/web/domain.com/ssl/domain.com.pem;
ssl_certificate_key /home/admin/conf/web/domain.com/ssl/domain.com.key;

no success.

Hi!
I was in the same situation and could not find any solution.
Finally what worked for me is:

  1. Create a folder on your linux server with .crt and .key certificates for example in /opt/mycert

  2. Edit the file /opt/docker-jitsi-meet/docker-compose.yml by adding at the end of the VOLUMES section the following line (WITHOUT quotes):
    “- /opt/certificates:/config/keys:Z”

  3. docker-compose down

  4. rm -rf ~/.jitsi-meet-cfg

  5. docker-compose up -d

Hope this can help you

Bye!