Downgrade mit stunnel: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(Die Seite wurde neu angelegt: „=Installation= *apt install stunnel =Konfiguration= *cd /etc/stunnel *cat<<HERE >stunnel.conf <pre> debug = 7 options = NO_SSLv2 output = /var/log/stunnel.log…“) |
|||
| (10 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
| Zeile 1: | Zeile 1: | ||
=Installation= | =Installation= | ||
*apt install stunnel | *apt install stunnel | ||
| + | =Vorbereitung= | ||
| + | *FQDN="www.xinux.de" | ||
| + | *cd /etc/stunnel | ||
=Konfiguration= | =Konfiguration= | ||
| − | |||
*cat<<HERE >stunnel.conf | *cat<<HERE >stunnel.conf | ||
| − | |||
<pre> | <pre> | ||
debug = 7 | debug = 7 | ||
| Zeile 10: | Zeile 11: | ||
output = /var/log/stunnel.log | output = /var/log/stunnel.log | ||
| − | [ | + | [to-server] |
client = yes | client = yes | ||
accept = 0.0.0.0:80 | accept = 0.0.0.0:80 | ||
| Zeile 16: | Zeile 17: | ||
CAPath = /etc/ssl/certs/ | CAPath = /etc/ssl/certs/ | ||
verify = 2 | verify = 2 | ||
| − | |||
</pre> | </pre> | ||
| + | *HERE | ||
| + | |||
| + | =Restart= | ||
| + | * systemctl restart stunnel4.service | ||
Aktuelle Version vom 16. August 2021, 07:51 Uhr
Installation
- apt install stunnel
Vorbereitung
- FQDN="www.xinux.de"
- 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