`
Magicloud
  • 浏览: 8217 次
  • 性别: Icon_minigender_1
  • 来自: 成都
最近访客 更多访客>>
社区版块
存档分类
最新评论

webfsd + gnutls

阅读更多
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"
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics