etesync-dav icon indicating copy to clipboard operation
etesync-dav copied to clipboard

Linux - SSL

Open flewid opened this issue 2 years ago • 2 comments

Hello,

Furthur to my previous ticket - I've got ETESYNC-DAV working fine through docker on my local NAS and clients on the LAN can connect to it with no issues.

However, now I am trying to sync Mac Calendar / Contacts and of course it won't work because SSL required.

Is there a way to add SSL on a linux install of etesync-dav?

I tried etesync-dav certgen per the docs, but it tells me it's only supported on Mac or Windows installs.

flewid avatar Apr 13 '22 15:04 flewid

Oh, interesting. You can probably just create the required pem and key files and put them in the right place, and then restart the server. Take a look at what the certgen command does (lmk if you need help deciphering it).

tasn avatar Apr 13 '22 18:04 tasn

ah okay i'll try that, what would the correct location be? i'm assuming just this command to generate the cert?

openssl req -new -newkey rsa:4096 -days 3650 -nodes -x509 -subj "/CN=localhost" -keyout etesync.key -out etesync.crt

flewid avatar Apr 15 '22 18:04 flewid