在 Stunnel 中,我有以下配置:
[ws]
client = yes
accept = 127.0.0.1:80
connect = webservice.it:443
我向 127.0.0.1:80 发出 http 请求,并希望该 stunnel 重定向到 webservice.it:443。
但它不起作用。
在日志中我有这个错误:
LOG6[]: Peer certificate not required
LOG7[]: TLS state (connect): before SSL initialization
LOG7[]: TLS state (connect): SSLv3/TLS write client hello
LOG3[]: SSL_connect: Peer suddenly disconnected
LOG5[]: Connection reset: 0 byte(s) sent to TLS, 0 byte(s) sent to socket
LOG7[]: Deallocating application specific data for session connect address
我该怎么办?非常感谢