Recently I'd like to transfer some private data to friends. Since my ssh is OTPed, so sftp is not the option. I decided to use webfs and gnutls (webfs does not support openssl).
$ sudo apt-get install webfs gnutls-bin
$ certtool --generate-privkey --outfile key.pem
$ certtool --generate-self-signed --load-privkey key.pem --outfile cert.pem
$ cat cert.pem >> key.pem
$ rm cert.pem
$ sudo chown www-data:www-data cert.pem
--- /etc/webfsd.conf ---
web_port="443"
web_extras="-C key.pem -S"
$ sudo apt-get install webfs gnutls-bin
$ certtool --generate-privkey --outfile key.pem
$ certtool --generate-self-signed --load-privkey key.pem --outfile cert.pem
$ cat cert.pem >> key.pem
$ rm cert.pem
$ sudo chown www-data:www-data cert.pem
--- /etc/webfsd.conf ---
web_port="443"
web_extras="-C key.pem -S"