Onlyoffice does not start over https

Hello. Installed Nexcloud and certificates for it using Letsencrypt.
Installed Onlyoffice in Docker using the following command:
docker run -i -t -d --publish 8443:443 --publish 880:80 --name onlyoffice --restart=always -v /srv/onlyoffice/DocumentServer/data:/var/www/onlyoffice/Data onlyoffice/documentserver
Copied certificates from Nextcloud to Onlyoffice (they are in the same domain on the same server).

cp /etc/letsencrypt/live/my.domain/fullchain.crt /srv/onlyoffice/DocumentServer/data/certs/onlyoffice.crt
cp /etc/letsencrypt/live/my.domain/privkey.key /srv/onlyoffice/DocumentServer/data/certs/onlyoffice.key

But https (port 8443) is somehow unavailable. Only http (port 880) is available.

Type of installation of Workspace docker
OS: Gentoo
Browser version: Firefox 93.0

Please provide a screenshot with the output of
ls -la /srv/onlyoffice/DocumentServer/data/certs/

drwxr-xr-x 2 106 108 1024 окт 14 14:11 .
drwxr-xr-x 3 106 108 1024 окт 14 14:10 ..
-rwxr-xr-x 1 106 108 1329 окт 14 14:11 onlyoffice.crt
-rwxr-xr-x 1 106 108 1191 окт 14 14:11 onlyoffice.key

Have you restarted the container after copying the certificates to the directory?

Yes, after restarting the same problem.


I’ve same problem
I’ve found this error
nginx: [emerg] cannot load certificate key “/var/www/onlyoffice/Data/certs/onlyoffice.key”: PEM_read_bio_PrivateKey() failed (SSL: error:2807106B:UI routines:UI_process:processing error:while reading strings error:0906406D:PEM routines:PEM_def_callback:problems getting password error:0907B068:PEM routines:PEM_read_bio_PrivateKey:bad password read)

Where I can define the passaword ?

If your SSL key is password-protected, you need to add this directive to ds.conf:
ssl_password_file /path/to/passwordfile.txt;

passwordfile.txt is a text file that contains password from your SSL key.

Thank for all
I’ve retryed all the documentatin procedure
and it work fine.

I’ve just signed my certificate with my autority.

Thank for all