Downgrade mit stunnel

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen

Installation

  • apt install stunnel

Konfiguration

  • FQDN="www.xinux.de"
  • cd /etc/stunnel
  • cat<<HERE >stunnel.conf
debug = 7
options = NO_SSLv2
output = /var/log/stunnel.log

[to-server]
client = yes
accept = 0.0.0.0:80
connect = $FQDN:443
CAPath = /etc/ssl/certs/
verify = 2

[from-client]
accept  = 0.0.0.0:993
connect = 127.0.0.1:143
cert = /etc/stunnel/$FQDN.crt
key = /etc/stunnel/$FQDN.key
CAfile = /etc/stunnel/ca.crt
  • HERE