Comment on coturn can't get access to certificates
hendrik@palaver.p3x.de 3 months agoSame things would apply as I lined out earlier. You'd also need to pay attention to the parent directory of that directory (and maybe parents of those). And check if coturn is actually running as that user and/or group.
You might just (for testing) grant all permissions on the files. Put them into a directory that you're 100% sure coturn can access. Like one of Coturn's own directories. And then chmod 666 both files and give them the same user and group as coturn's own config file has. If that doesn't work, it's not the permissions.
And read the actual error message again. Make sure it says "permission denied". Make sure the filename in the error message is the exact filename. To rule out other errors or a typo.
someoneFromInternet@lemmy.ml 3 months ago
ok, I just needed to change owner to turnserver for certs and directories. That’s all
hendrik@palaver.p3x.de 3 months ago
Glad you could figure it out. Keep an eye on the certificate updates. As far as I know letsencypt certs are valid for 90 days or so. In case you have a periodic job that renews them, that one might now fail to update the files when it runs the next time in 2 months or so. But that depends on the permissions and user of that renew job. However that's set up. But for the next few months, everything should be fine now.