Project

General

Profile

Bug #9364

squidguard int error page does not use https

Added by Florian Stichlberger almost 2 years ago. Updated about 2 hours ago.

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

0%

Estimated time:
Affected Version:
2.4.4_2
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

History

#2 Updated by Jim Pingle about 2 months ago

  • Status changed from New to Pull Request Review

#3 Updated by Renato Botelho about 2 months ago

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

PR has been merged. Thanks!

#5 Updated by Viktor Gurov about 2 hours 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

Also available in: Atom PDF