Adding the attached patch fixes the ssl problems, but there are still startup problems related to the client filebucket.

Most of the problems are related to an incorrect separation between setup and startup — all of these dirs and files should be created at setup, and then used on startup. That’s clearly not yet happening with the new design.