One solution that worked, is using davfs.
sudo apt-get install davfs2
then copy the certificate from the CA (in pem format) to /ect/davfs2/certs and the client certificate (in .p12 format) to /ect/davfs/certs/private and modify the configuration file e.g.
sudo nano /etc/davfs2/davfs2.conf
by uncommenting (removing the #) the lines trust_ca_cert and clientcert and adding the full paths to the respective certificates e.g.
save the file and exit (Ctrl + O, Ctrl + x in nano) and make sure the clientcert has the correct permissions
chmod 0600 /etc/davfs2/certs/private/xxx.yyy.com.p12
To mount the filesystem run
sudo mount -t davfs -o uid=bruni,gid=users https://serveraddress /home/bruni/mountpoint
The problems with this solution are:
- I need to enter the certificate password each time I mount the
webdav share (certificate passwords are not supposed to be known to
users, and they are quite long)
update: This is not completely true. You can use the
/etc/davfs2/secrets credential file.
- The website offers links in the form
davs:// which do not work with the above scenario
- Freefilesync returns the following error when I try to synchronize with a folder mounted as above:
Cannot set directory lock for "/path/to/mountpoint".
Cannot write file "/path/to/mountpoint/sync.ffs_lock".
Error Code 13:Permission denied (open)
update To mitigate this, I have switched to rsync.
Hence, I would prefer an answer involving instructions on how to do this using the standard Nautilus method, or some remedies to the aforementioned problems.