Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    LightSquid not open

    Scheduled Pinned Locked Moved Cache/Proxy
    13 Posts 4 Posters 1.8k Views 4 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J Offline
      Jdwind @periko
      last edited by

      @periko Yeah, I saw that so many certs. Thank you, and will wait for patch.

      perikoP 1 Reply Last reply Reply Quote 0
      • jimpJ Offline
        jimp Rebel Alliance Developer Netgate
        last edited by

        I see the problem here now and I pushed another fix for it that should work.

        Though the root cause here is that it's trying to run Lightsquid as HTTPS when your GUI isn't using HTTPS. There are few legitimate cases where you wouldn't want your GUI to be using HTTPS.

        If you fix that, it wouldn't be a problem either way since Lightsquid is trying to use the GUI certificate.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        perikoP 1 Reply Last reply Reply Quote 1
        • jimpJ Offline
          jimp Rebel Alliance Developer Netgate
          last edited by

          I committed a fix for this, though I had to work it slightly differently since Lightsquid on the dev snapshot branches already had this fixed but in a different way that can't be picked back to Plus 23.05.1/CE 2.7.0

          If you don't want to wait for the fix, you can apply this using the System Patches package or make the changes by hand:

          --- a/a/usr/local/pkg/lightsquid.inc
          +++ b/b/usr/local/pkg/lightsquid.inc
          @@ -258,7 +258,7 @@ EOF;
           	// SSL is enabled
           	if (!isset($lightsquid_config['lighttpd_ls_ssl']) || ($lightsquid_config['lighttpd_ls_ssl'] == "on")) {
           		// Write out cert
          -		$lscert = lookup_cert(config_get_path('system/webgui/certref', ''));
          +		$lscert = lookup_cert(config_get_path('system/webgui/ssl-certref', ''));
           		if (!is_array($lscert) || !$lscert['crt'] || !$lscert['prv']) {
           			$lscert = system_webgui_create_certificate();
           		}
          @@ -527,8 +527,8 @@ function lightsquid_create_reportdir() {
            */
           function lightsquid_validate_input($post, &$input_errors) {
           	if ($post['navto_lightsquid'] == 'Open Lightsquid') {
          -		$lightsquid_config = config_get_path('installedpackages/lightsquid/config/0');
          -		if (is_array($lightsquid_config)) {
          +		$lightsquid_config = config_get_path('installedpackages/lightsquid/config/0', []);
          +		if (empty($lightsquid_config)) {
           			return;
           		}
           		list($server_host, $server_port) = explode(':', $_SERVER['HTTP_HOST']);
          

          Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

          Need help fast? Netgate Global Support!

          Do not Chat/PM for help!

          1 Reply Last reply Reply Quote 1
          • perikoP Offline
            periko @jimp
            last edited by

            @jimp Hello.
            My case pfsense runs https, I test a my lab, update lightsquid and test on VM and looks like is bee fix on both cases.
            Thanks pfsense team!!!

            Necesitan Soporte de Pfsense en México?/Need Pfsense Support in Mexico?
            www.bajaopensolutions.com
            https://www.facebook.com/BajaOpenSolutions
            Quieres aprender PfSense, visita mi canal de youtube:
            https://www.youtube.com/c/PedroMorenoBOS

            J 1 Reply Last reply Reply Quote 0
            • J Offline
              Jdwind @periko
              last edited by

              @periko After upgrade I can't still open Lightsquid page - wrote username, pass and it asks for the password and username again and again...

              perikoP 1 Reply Last reply Reply Quote 0
              • perikoP Offline
                periko @Jdwind
                last edited by

                @Jdwind if u try change the password, use the deafult.
                If continue, try to remove, restart pf and install again the package don't change the password.

                Necesitan Soporte de Pfsense en México?/Need Pfsense Support in Mexico?
                www.bajaopensolutions.com
                https://www.facebook.com/BajaOpenSolutions
                Quieres aprender PfSense, visita mi canal de youtube:
                https://www.youtube.com/c/PedroMorenoBOS

                J 1 Reply Last reply Reply Quote 0
                • J Offline
                  Jdwind @periko
                  last edited by

                  @periko Before todays upgrade I can't change password - when I save new one that was still default pass. After installed second upgrade, now that is correct. Thank you both so much for help.

                  1 Reply Last reply Reply Quote 0
                  • perikoP Offline
                    periko @Jdwind
                    last edited by

                    @Jdwind the new update from lightsquid:
                    aedcd480-252f-4db8-aff2-573e02338e5d-image.png
                    They fix: change password and user creation, I had test, can u check please.

                    Necesitan Soporte de Pfsense en México?/Need Pfsense Support in Mexico?
                    www.bajaopensolutions.com
                    https://www.facebook.com/BajaOpenSolutions
                    Quieres aprender PfSense, visita mi canal de youtube:
                    https://www.youtube.com/c/PedroMorenoBOS

                    M J 2 Replies Last reply Reply Quote 0
                    • M Offline
                      michmoor LAYER 8 Rebel Alliance @periko
                      last edited by

                      @periko you’re transparent proxy video is excellent.

                      Firewall: NetGate,Palo Alto-VM,Juniper SRX
                      Routing: Juniper, Arista, Cisco
                      Switching: Juniper, Arista, Cisco
                      Wireless: Unifi, Aruba IAP
                      JNCIP,CCNP Enterprise

                      perikoP 1 Reply Last reply Reply Quote 0
                      • perikoP Offline
                        periko @michmoor
                        last edited by

                        @michmoor glad that help u.

                        Necesitan Soporte de Pfsense en México?/Need Pfsense Support in Mexico?
                        www.bajaopensolutions.com
                        https://www.facebook.com/BajaOpenSolutions
                        Quieres aprender PfSense, visita mi canal de youtube:
                        https://www.youtube.com/c/PedroMorenoBOS

                        1 Reply Last reply Reply Quote 1
                        • J Offline
                          Jdwind @periko
                          last edited by

                          @periko Yes, now it's working correct. Thank you once more.

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post
                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.