Etherpad with LetsEncrypt
Hello friends,
I am trying to run LetsEncrypt on our server with SSL. Currently I have filled out the SSL configuration in this manner for Etherpad with SSL certificates provided by LetsEncrypt :
"ssl" : {
"key" : "/etc/letsencrypt/live/www.project_name.de-0001/privkey.pem",
"cert" : "/etc/letsencrypt/live/www.project_name.de-0001/cert.pem",
"ca": "/etc/letsencrypt/live/www.project_name.de-0001/chain.pem"
},
But when I try to run Etherpad, I get the following error :
[2016-11-04 13:41:15.108] [INFO] console - Report bugs at https://github.com/ether/etherpad-lite/issues
[2016-11-04 13:41:15.108] [INFO] console - Your Etherpad version is 1.6.0 (7dd934f)
[2016-11-04 13:41:15.109] [INFO] console - SSL -- enabled
[2016-11-04 13:41:15.109] [INFO] console - SSL -- server key file: /etc/letsencrypt/live/www.project_name.de-0001/privkey.pem
[2016-11-04 13:41:15.109] [INFO] console - SSL -- Certificate Authority's certificate file: /etc/letsencrypt/live/www.project_name.de-0001/cert.pem
[2016-11-04 13:41:15.111] [ERROR] console - Error: EISDIR: illegal operation on a directory, read
If you try to list the files on /etc/letsencrypt/live/www.project_name.de-0001/ directory with the same user you're running Etherpad, can you get any result? I mean, do you have permission to access this folder?
@lpagliari : I am runnning etherpad as root with --root as parameter. If necessary I can move the files to some other location.
I had to remove the CA line and then it worked.
Thanks, @kernelfreak ! I hope this helps others.