Sv translation | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||
In letzter Zeit wird mehr Gebrauch von das sogenannte OCSP stapling gemacht, anstatt Recently, more use has been made of so-called OCSP stapling instead of CRL (Certificate Revocation Lists). Siehe auch See also: https://en.wikipedia.org/wiki/Online_Certificate_Status_Protocol Falls das If OCSP stapling should be activated in haproxy aktiviert werden soll, wird folgende Prozedur angewendet., the following procedure is used. See also this website: Siehe auch diese Webseite: https://icicimov.github.io/blog/server/HAProxy-OCSP-stapling/ für eine sehr gute Anleitung und Erklärung dazu, auf den unsere Anleitung hier basiert. for a very good manual and explanation on which our manual here is based. check haproxy.cfgprüfenCheck that the Prüfen, dass der stats socket aktiviert ist. Falls ein anderer Socket angegeben ist, muss das Skript unten angepasst werden (zwei Zeilen vor exit 0 - im socat befehlis activated. If a different socket is specified, the script must be adjusted below (two lines before exit 0 - in the socat command).
install socat
Create script for OCSP staplinganlegen und Ausführbar machenand make it executable
Skript testenTest the scriptRun the script with: Den Skript ausführen mit: /usr/local/bin/haproxy_ocsp_update.sh Beispiel-AusgabeExample return: /etc/haproxy/haproxy.pem: good CRON Job für Skript aktivierenActivate CRON job for scriptThis will execute the script every dayHiermit wird der Skript jeden Tag ausgeführt.
|
Sv translation | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||
In letzter Zeit wird mehr Gebrauch von das sogenannte OCSP stapling gemacht, anstatt CRL (Certificate Revocation Lists). Siehe auch https://en.wikipedia.org/wiki/Online_Certificate_Status_Protocol Falls das OCSP stapling in haproxy aktiviert werden soll, wird folgende Prozedur angewendet. Siehe auch diese Webseite: https://icicimov.github.io/blog/server/HAProxy-OCSP-stapling/ für eine sehr gute Anleitung und Erklärung dazu, auf den unsere Anleitung hier basiert. haproxy.cfg prüfenPrüfen, dass der stats socket aktiviert ist. Falls ein anderer Socket angegeben ist, muss das Skript unten angepasst werden (zwei Zeilen vor exit 0 - im socat befehl).
socat installieren
Skript für OCSP stapling anlegen und Ausführbar machen
Skript testenDen Skript ausführen mit: /usr/local/bin/haproxy_ocsp_update.sh Beispiel-Ausgabe: /etc/haproxy/haproxy.pem: good CRON Job für Skript aktivierenHiermit wird der Skript jeden Tag ausgeführt.
|