Hi everyone,
Recently I upgraded my Seafile installation from version 12 to version 13. It was actually very straightforward, I had no issues at all, and the new features like the thumbnail server and metadata are wonderful.
However, during the process I ran into a problem that I had already faced during the installation of version 12 and was never able to solve: automatic registration of a custom certificate for the private SMTP server.
In my case, I have a private SMTP server in my network, which, among other applications, is used by Seafile. The use of this server requires a certificate issued by a private CA, so naturally right now I’m mounting my certificate in /etc/ssl/certs inside the Seafile container.
My problem comes when trying to make Seafile trust it. With my current setup, I’m running openssl rehash after the container is created so that Seafile trusts the certificate and messaging works without issues, but this is a “handmade” solution and not very replicable.
My question is precisely whether there’s a better way to allow Seafile to trust private certificates, such as: being able to mount custom scripts; some variable to tell it where to look for the SMTP certificate; triggering an automatic rehash, etc.
Thanks in advance