-
Notifications
You must be signed in to change notification settings - Fork 449
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SSL Certificate Symlinks #857
Comments
I've just tried putting the resolved file path in the config but still getting "[Errno 13] Permission denied: '/etc/letsencrypt/archive/mydomain/fullchain.pem'. It appears to be permissions related on first glance but the path to the file has read permission. Not sure if my radicale user is chrooted? I've tried changing line 203 in main.py to: I might have to just have a cron script, that runs after certbot updates the certificates, that overwrites the certificates in /etc/radicale/ssl/? |
This is my solution for prosody which should work after substituting file and path variables: vi /root/certbot.sh
vi /root/letsencrypt-to-prosody.sh
crontab -e |
Yeah - that's a more elegant solution than I currently use which involves running the command to copy the ssl's directly from within cron with no logging. Would be good if python could follow "chained" symlinks properly tho ;) |
I ran into this problem as well, and I would suggest replacing |
That wouldn't solve the issue, because of the restrictive ownership and permissions of the symlink's target. So, install a deploy hook like @tberger2's or use ACLs. On the long run, I suggest to enhance radicale with some privilege-dropping mechanism so that it can deal with any system-level permissions at start-up. |
related to #692 |
Hi
I use letsencrypt to generate SSL certs for my websites. It uses symlinks to point to the most current SSL certificates as they're updated on a regular basis.
Radicale doesn't seem to want to follow the symlinks regardless of permissions/owner (the symlinks and it's parents are 777).
I'm using Radicale 2.1.10
Can anyone else replicate this?
The text was updated successfully, but these errors were encountered: