[Web] Let use HFS be security + STunnel

讓如何HFS.exe小型網頁伺服器可以使用 SSL 443加密呢? 那就是找個伴侶唄..

step01. download STunnel 工具

step02. 下載好即安裝它 ‘ stunnel-5.49-win32-installer.exe’ 過程是在產生憑證自行定義之。

step03. 編輯 %PROGRAMFILES(x86)%\stunnel\config\stunnel.conf

————————————stunnel.conf————————————
拿掉註解 ‘ ; ‘分號
; TLS front-end to a web server
[https]
accept = 443
connect = 80
cert = stunnel.pem
; “TIMEOUTclose = 0″ is a workaround for a design flaw in Microsoft SChannel
; Microsoft implementations do not use TLS close-notify alert and thus they
; are vulnerable to truncation attacks
;TIMEOUTclose = 0
————————————stunnel.conf end————————————

step04. stunnel > Configuration > Reload Configuration
stunnel-config-reload.jpg

step05. try HFS , https://HFS-ip-address
hfs-enable-ssl.jpg

Enjoy ^O^!