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

    Locked out with "browser needs to accept cookies"

    General pfSense Questions
    7
    11
    11.0k
    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.
    • M
      Mosheb
      last edited by

      Hi,
      I installed the Pfsense and after all configuration I have changed the login to https (fromhttp).
      At this point I was locked out, getting the message that the browser need to accept cookies.
      Tried Chrome, Mozilla, IE - all configured to accept cookies, but dod nit succeed to log in.
      Please help as the next solution is to start all over again which is time consuming!!!
      Thanks

      1 Reply Last reply Reply Quote 0
      • kiokomanK
        kiokoman LAYER 8
        last edited by kiokoman

        @Mosheb said in Locked out with "browser needs to accept cookies":

        browser need to accept cookies

        Jimp wrote: This appears to be a local problem with browser caching and is likely from HSTS or similar. You'll have to clear the cache and probably manually delete cookies if you change from HTTPS to HTTP. That's all up to your browser, though.

        https://redmine.pfsense.org/issues/8235

        use something like ccleaner

        ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
        Please do not use chat/PM to ask for help
        we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
        Don't forget to Upvote with the 👍 button for any post you find to be helpful.

        1 Reply Last reply Reply Quote 0
        • stephenw10S
          stephenw10 Netgate Administrator
          last edited by

          You can revert to http from the console if required without having to re-install.

          You should be using https though. That's the default.

          Steve

          M 1 Reply Last reply Reply Quote 0
          • M
            Mosheb
            last edited by

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • M
              Mosheb @stephenw10
              last edited by

              @stephenw10 You mean from the server itself? How?
              I know there is a menue for configuring - how do I revert back to the http?

              S 1 Reply Last reply Reply Quote 0
              • S
                SteveITS Galactic Empire @Mosheb
                last edited by

                @Mosheb said in Locked out with "browser needs to accept cookies":

                how do I revert back to the http

                https://docs.netgate.com/pfsense/en/latest/troubleshooting/locked-out.html#http-vs-https-confusion

                Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                Upvote 👍 helpful posts!

                1 Reply Last reply Reply Quote 0
                • stephenw10S
                  stephenw10 Netgate Administrator
                  last edited by

                  You can roll back the last config change using option 15.

                  You can reset the LAN IP (to the same thing) using option 2.

                  *** Welcome to pfSense 2.5.0-DEVELOPMENT (amd64) on 25dev ***
                  
                   WAN (wan)       -> vtnet0     -> v4/DHCP4: 172.21.16.167/24
                   LAN (lan)       -> vtnet1     -> v4: 192.168.167.1/24
                   VXLAN0 (opt1)   -> vxlan0     -> 
                   VXLAN3 (opt2)   -> vxlan1     -> 
                   VXLAN4 (opt3)   -> vxlan3     -> 
                  
                   0) Logout (SSH only)                  9) pfTop
                   1) Assign Interfaces                 10) Filter Logs
                   2) Set interface(s) IP address       11) Restart webConfigurator
                   3) Reset webConfigurator password    12) PHP shell + pfSense tools
                   4) Reset to factory defaults         13) Update from console
                   5) Reboot system                     14) Disable Secure Shell (sshd)
                   6) Halt system                       15) Restore recent configuration
                   7) Ping host                         16) Restart PHP-FPM
                   8) Shell
                  
                  Enter an option: 2
                  
                  Available interfaces:
                  
                  1 - WAN (vtnet0 - dhcp, dhcp6)
                  2 - LAN (vtnet1 - static)
                  3 - VXLAN0 (vxlan0)
                  4 - VXLAN3 (vxlan1)
                  5 - VXLAN4 (vxlan3)
                  
                  Enter the number of the interface you wish to configure: 2
                  
                  Enter the new LAN IPv4 address.  Press <ENTER> for none:
                  > 192.168.167.1 
                  
                  Subnet masks are entered as bit counts (as in CIDR notation) in pfSense.
                  e.g. 255.255.255.0 = 24
                       255.255.0.0   = 16
                       255.0.0.0     = 8
                  
                  Enter the new LAN IPv4 subnet bit count (1 to 31):
                  > 24
                  
                  For a WAN, enter the new LAN IPv4 upstream gateway address.
                  For a LAN, press <ENTER> for none:
                  > 
                  
                  Enter the new LAN IPv6 address.  Press <ENTER> for none:
                  > 
                  
                  Do you want to enable the DHCP server on LAN? (y/n) y
                  Enter the start address of the IPv4 client address range: 192.168.167.10
                  Enter the end address of the IPv4 client address range: 192.168.167.100
                  Disabling IPv6 DHCPD...
                  Do you want to revert to HTTP as the webConfigurator protocol? (y/n) y
                  

                  But you shouldn't do that because you should be using https.

                  Steve

                  1 Reply Last reply Reply Quote 0
                  • L
                    ltocto
                    last edited by

                    Hola lo que deben hacer es ir al menu por ssh o consola de la pc y reiniciar el web configuration que se encuentra en la opción 11 del menú

                    1 Reply Last reply Reply Quote 0
                    • L
                      linuxmac
                      last edited by linuxmac

                      Restart webConfigurator, this will fix the error

                      2023-03-13_19-16.png

                      1 Reply Last reply Reply Quote 0
                      • J
                        jimmy765 Banned
                        last edited by

                        This post is deleted!
                        kiokomanK 1 Reply Last reply Reply Quote 0
                        • kiokomanK
                          kiokoman LAYER 8 @jimmy765
                          last edited by

                          @johnpoz
                          fee-faw-fum (I smell the blood of a SpammerMan) 😈

                          ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
                          Please do not use chat/PM to ask for help
                          we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
                          Don't forget to Upvote with the 👍 button for any post you find to be helpful.

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