#1677 Debian postinst needs to chown generated /etc/prosody/certs/localhost.key
What steps will reproduce the problem?
1. install debian package prosody
2. start prosody
What is the expected output?
no error message in log
What do you see instead?
/var/log/prosody/prosody.err: SSL/TLS: Failed to load '/etc/prosody/certs/localhost.key': Check that the permissions allow Prosody to read this file. (for localhost)
What version of the product are you using? On what operating system?
Please provide any additional information below.
On clean systems, postinst generates /etc/prosody/certs/localhost.key as root. The file should be owned by prosody, not by root.
Thanks for the report. Noticed this myself when testing the 0.11.10 packages. Seems it wasn't a new problem so didn't fix it then, but we should do so before the next release.