Docker-DocumentServer
Docker-DocumentServer copied to clipboard
Multiple Cert-files break run-document-server.sh
The recent change in run-document-server.sh breaks SSL if one has the host's certificate and intermediate certificates in separate files, thus *.crt expands to multiple files an leads to an error.
https://github.com/ONLYOFFICE/Docker-DocumentServer/blob/ad066be1c82813514da3cfd4ee768d098c5a741f/run-document-server.sh#L44
I would propose to check for *.key instead since this should always be only one file:
if [[ -d ${DATA_DIR}/certs ]] && [ -e ${DATA_DIR}/certs/*.key]; then
Hello @J-a-x-u. I don't think it's necessary. Сommon practice to bundle all certs into one file, it will be your certificate. We use the fullchain in our nginx config anyway.
This issue was closed due no response.