Project

General

Profile

Actions

Bug #9364

closed

squidguard int error page does not use https

Added by Florian Stichlberger about 5 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Viktor Gurov
Category:
squidguard
Target version:
-
Start date:
03/05/2019
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Affected Version:
2.4.4_2
Affected Plus Version:
Affected Architecture:

Description

Hello,

I'm running these versions on my system(s):
pfSense 2.4.4-RELEASE-p2
squid 0.4.44_7
squidguard 1.16.18_1

My pfsense web configurator is set to use HTTPS on port 1001.

When I configure squidguard to use "int error page" it writes the following redirect url to it's config file (/usr/local/etc/squidGuard/squidGuard.conf):

redirect http://x.x.x.x:1001/sgerror.php?url=403%20&a=%a&n=%n&i=%i&s=%s&t=%t&u=%u

This does not work at all as the pfsense nginx complains with a error 400: "The plain HTTP request was sent to HTTPS port"
It should use the https url instead and futhermore squid should also accept the ssl certificate of the web configuratior without need to enable "accept remote certificate with errors".

Would be nice if someone could fix that :)
Thanks

Actions #2

Updated by Jim Pingle over 3 years ago

  • Status changed from New to Pull Request Review
Actions #3

Updated by Renato Botelho over 3 years ago

  • Status changed from Pull Request Review to Feedback
  • Assignee set to Viktor Gurov

PR has been merged. Thanks!

Actions #5

Updated by Viktor Gurov over 3 years ago

  • Status changed from Feedback to Resolved

works as expected:

redirect https://192.168.1.1:4443/sgerror.php?url=403%20error%21&a=%a&n=%n&i=%i&s=%s&t=%t&u=%u

Actions

Also available in: Atom PDF