Open Sawrz opened 4 years ago
Hello @Sawrz we don't have env variables for this, but you can try using a symlink to certs in your OS.
Symlink is not working. You will have to copy your pems to /app/onlyoffice/MailServer/data/certs
:
fullchain.pem
-> mail.onlyoffice.ca-bundle
privkey.pem
-> mail.onlyoffice.key
cert.pem
-> mail.onlyoffice.crt
You have to write a small script to copy your certs and restart docker container resp. mail server as part of a renew hook.
Hi, In your docs, you mention the SSL certs need to have a specific name. However, I use let's encrypt, which gives my certificates names by itself. Renaming the certs each time those renew would be a very tedious, repetitive and unnecessary task.
Is there a way to let the container search for a different naming scheme? Like the domain name given in FIRST_DOMAIN?
Maybe there is an environment variable to specify the name and you don't mention it here? Either way, it would make the maintenance much smoother =)