hfs是知名的http文件分享工具。
因为博客加入了HSTS,域名必须使用ssl加密html
经过stunnel代理hfs软件的80端口ide
https://www.stunnel.org/downloads.html工具
最小化配置以下
C:Program Files (x86)stunnelconfig
CAfile=homeca.pem ##这里为CA root证书
cert=home.pem ###这里为证书crt和key的合体
[http2https]
accept = 443 ##转出端口
connect =127.0.0.1:80 ###代理端口加密
软件配置好后,reload一下配置便可生效。代理
此方式也适用于将其它飞ssl加密应用转化为ssl加密。htm