# yum install stunnel
# openssl req -new -x509 -days 365 -nodes -out vpsee.pem -keyout vpsee.pem
# chmod 600 vpsee.pem
# vim https
pid = /tmp/stunnel_pid
cert = vpsee.pem
debug = 7
foreground = yes
[https]
accept = 443
connect = 8000
# stunnel https
网友评论