Loading... <p>hfs是知名的http文件分享工具。<br />由于博客加入了HSTS,域名必须使用ssl加密</p><h4>实现方式</h4><p>通过stunnel代理hfs软件的80端口</p><h4>软件下载</h4><p><span class="external-link"><a class="no-external-link" href="https://www.stunnel.org/downloads.html" target="_blank"><i data-feather="external-link"></i>https://www.stunnel.org/downloads.html</a></span></p><h4>配置</h4><p>最小化配置如下<br />C:Program Files (x86)stunnelconfig<br />CAfile=homeca.pem ##这里为CA root证书<br />cert=home.pem ###这里为证书crt和key的合体<br />[http2https] <br />accept = 443 ##转出端口<br />connect =127.0.0.1:80 ###代理端口</p><p>软件配置好后,reload一下配置即可生效。</p><p>此方式也适用于将其它飞ssl加密应用转化为ssl加密。</p> Last modification:October 6, 2023 © Allow specification reprint Support Appreciate the author AliPayWeChat Like 如果觉得我的文章对你有用,请随意赞赏