From df17ed9c252e355c27977d0aa141cc60a4ac22a7 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Mon, 2 Mar 2020 12:15:05 +0100 Subject: [PATCH] Allow to configure https-inspection and ignore-certificate-errors with the CGI editor Sponsored by: Robert Klemme --- cgiedit.c | 3 +++ templates/edit-actions-for-url | 36 ++++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) diff --git a/cgiedit.c b/cgiedit.c index 830a8266..440e9be8 100644 --- a/cgiedit.c +++ b/cgiedit.c @@ -2782,6 +2782,9 @@ jb_err cgi_edit_actions_for_url(struct client_state *csp, #ifndef FEATURE_EXTERNAL_FILTERS if (!err) err = map_block_killer(exports, "external-content-filters"); #endif +#ifndef FEATURE_HTTP_INSPECTION + if (!err) err = map_block_killer(exports, "https-inspection"); +#endif if (err) { diff --git a/templates/edit-actions-for-url b/templates/edit-actions-for-url index 5a106390..7283bf79 100644 --- a/templates/edit-actions-for-url +++ b/templates/edit-actions-for-url @@ -957,6 +957,42 @@ function show_limit_connect_opts(tf) + + + + + + + https-inspection + + Enable content and header filtering for https requests. + + + + + + + + ignore-certificate-errors + + Don't verify certificates when forwarding encrypted requests. + + + + +