Downgrade mit stunnel: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
Zeile 2: Zeile 2:
 
*apt install stunnel
 
*apt install stunnel
 
=Vorbereitung=
 
=Vorbereitung=
*FQDN="www.xinux.de"
 
 
*cd /etc/stunnel
 
*cd /etc/stunnel
 +
 
=Konfiguration=
 
=Konfiguration=
 
*cat<<HERE >stunnel.conf
 
*cat<<HERE >stunnel.conf

Version vom 24. Juni 2026, 06:41 Uhr

Installation

  • apt install stunnel

Vorbereitung

  • cd /etc/stunnel

Konfiguration

  • 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
  • HERE

Restart

  • systemctl restart stunnel4.service