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

    WebConfigurator default certificate expired yesterday

    Scheduled Pinned Locked Moved webGUI
    24 Posts 8 Posters 20.0k Views
    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.
    • johnpozJ
      johnpoz LAYER 8 Global Moderator
      last edited by

      "aint broke = dont fix"

      Keeping your firewall/security device current doesn't fall to that sort of thinking…

      Big difference in hey the TV still gets a picture sort of no reason to upgrade it mentality... And hey my firewall is running old code..

      I can understand dealing with change control - or yeah other things going on where you push it off..  But that old adage does not apply when it comes to keeping software updated and current.. Look at all the companies that got bit by wannacry because ah will get to that patch in a few months, next year - why fix what not broke ;)

      An intelligent man is sometimes forced to be drunk to spend time with his fools
      If you get confused: Listen to the Music Play
      Please don't Chat/PM me for help, unless mod related
      SG-4860 24.11 | Lab VMs 2.8, 24.11

      1 Reply Last reply Reply Quote 0
      • K
        kejianshi
        last edited by

        I'd also update the TV (-:

        I'd religiously update anything with a web connection.

        1 Reply Last reply Reply Quote 0
        • johnpozJ
          johnpoz LAYER 8 Global Moderator
          last edited by

          hehehe - TV doesn't have smart apps, no network connection… should of been more clear in my example ;)

          Like when you were a kid and you had to use pair of pliers to change the channel on the old knob tv... Dad would say not broken, why fix it - yes we have a remote.. He would just tell you to change the channel so why get a new fancy tv ;) hehehe

          I completely agree.. Anything that talks on the network should be patched..  There is something said about jumping the guy and rolling out a patch to 1,000 computers without any testing 1 hour after code is released... Then there is still running windows 7 non sp1 on your network and complaining that you got hit with wannacry ;)  2.3.5 came out over 2 months ago...  If your stuck on 32bit code..

          An intelligent man is sometimes forced to be drunk to spend time with his fools
          If you get confused: Listen to the Music Play
          Please don't Chat/PM me for help, unless mod related
          SG-4860 24.11 | Lab VMs 2.8, 24.11

          1 Reply Last reply Reply Quote 0
          • DerelictD
            Derelict LAYER 8 Netgate
            last edited by Derelict

            @ipfftw:

            The new pfsense version was just released 2 months ago!, and it already has a few point releases so i know its not super duper stable for everyone yet.

            That logic fails since everything that went into 2.3.5 and 2.3.5_1 was to correct defects in 2.3.4_1.

            The easiest way to refresh the webgui certificate is to go to the menu, open option 12, then type playback generateguicert then type exit. That will generate the webgui certificate using current best practices.

            Enter an option: 12

            Starting the pfSense developer shell….

            Welcome to the pfSense developer shell

            Type "help" to show common usage scenarios.

            Available playback commands:
                changepassword disablecarp disablecarpmaint disabledhcpd disablereferercheck enableallowallwan enablecarp enablecarpmaint enablesshd externalconfiglocator gatewaystatus generateguicert gitsync installpkg listpkg pfanchordrill pftabledrill removepkgconfig removeshaper resetwebgui restartdhcpd restartipsec svc uninstallpkg

            pfSense shell: playback generateguicert

            Playback of file generateguicert started.

            Generating a new self-signed SSL certificate for the GUI...Done.
            Restarting webConfigurator...Done.
            pfSense shell:

            Chattanooga, Tennessee, USA
            A comprehensive network diagram is worth 10,000 words and 15 conference calls.
            DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
            Do Not Chat For Help! NO_WAN_EGRESS(TM)

            J 1 Reply Last reply Reply Quote 4
            • K
              kejianshi
              last edited by

              My 32 bit D2700 is immune to spectre by the way…  Funny.  So is my old AMD x2.

              Saved by old junk!

              1 Reply Last reply Reply Quote 0
              • A
                adamf663 @johnpoz
                last edited by

                @johnpoz I assume you mean "just use the CA". Would you please post how this can be accomplished when it is impossible to log into the GUI?

                johnpozJ 1 Reply Last reply Reply Quote 0
                • GertjanG
                  Gertjan
                  last edited by

                  @adamf663 : use an old browser that doesn't bark and refuses to trust old certs.
                  If that's a no-go, @Derelict posted here what to to without using the GUI.

                  No "help me" PM's please. Use the forum, the community will thank you.
                  Edit : and where are the logs ??

                  A 1 Reply Last reply Reply Quote 0
                  • A
                    adamf663 @Gertjan
                    last edited by

                    That's exactly what I ended up doing -- I used kde konqueror.
                    I had tried console/ pfsense-shell / generateguicert but it didn't do anything, didn't generate any output and offered no help with '--help'.

                    1 Reply Last reply Reply Quote 0
                    • johnpozJ
                      johnpoz LAYER 8 Global Moderator @adamf663
                      last edited by

                      @adamf663

                      Derelict gave you how you could redo the self signed via console.. Or as it seems you did used a browser that allows you to make exception for old certs.

                      As to how to create your own signed cert via pfsense CA... Have been over this many many times already..

                      Here is latest version - previous versions lost their images when forum was updated
                      https://forum.netgate.com/post/831783

                      An intelligent man is sometimes forced to be drunk to spend time with his fools
                      If you get confused: Listen to the Music Play
                      Please don't Chat/PM me for help, unless mod related
                      SG-4860 24.11 | Lab VMs 2.8, 24.11

                      A 1 Reply Last reply Reply Quote 0
                      • A
                        adamf663 @johnpoz
                        last edited by

                        @johnpoz As I've said too many times, the gui was unreachable and once I used a less secure browser, I was able to fix it. I truly don't need instructions for how to use a gui I couldn't reach and which I successfully used with the less secure browser. generateguicert did nothing as I've said a couple of times.

                        GertjanG 1 Reply Last reply Reply Quote 0
                        • johnpozJ
                          johnpoz LAYER 8 Global Moderator
                          last edited by

                          Well NO SHIT its not going to do anything if you don't use the playback command as instructed

                          playback.png

                          Clearly it generates new cert.. And sets the gui to use it..

                          cert.png

                          My point was since you already stated your in - is NOW do it with your own CA and set it for like 10 years so you don't have to worry about it expiring again.

                          An intelligent man is sometimes forced to be drunk to spend time with his fools
                          If you get confused: Listen to the Music Play
                          Please don't Chat/PM me for help, unless mod related
                          SG-4860 24.11 | Lab VMs 2.8, 24.11

                          1 Reply Last reply Reply Quote 0
                          • GertjanG
                            Gertjan @adamf663
                            last edited by Gertjan

                            @adamf663 said in WebConfigurator default certificate expired yesterday:

                            generateguicert did nothing as I've said a couple of times.

                            It generates and puts in place a new cert with valid date boundaries.
                            Still, the new cert it signed by an authority that your browser doesn't trust.
                            That can be circumvented by importing the cert details into the 'database' of your system or browser. A working GUI is of course needed to do so.
                            Not the GUI, but the console access can stop https access to the GUI, if needed. Many forum posts explain what to do.

                            I've just used t to generate a new cert, my Fifefox was still complaining of course, had to use the IPv4 of my pfSense, and got in after telling Firefox to allow an exception. So, the instructions work.
                            I was using the console access.

                            The fact that browsers become more more picky every day is known.
                            Up to you to disable the https access to the GUI, or use really trusted certificates out of the box (brower's box).

                            edit @johnpoz went down the same way, posted faster.

                            No "help me" PM's please. Use the forum, the community will thank you.
                            Edit : and where are the logs ??

                            A 1 Reply Last reply Reply Quote 0
                            • A
                              adamf663 @Gertjan
                              last edited by

                              @Gertjan My ca goes out 10 years. The problem was with the server cert and generateguicert did nothing and didn't write any information.

                              1 Reply Last reply Reply Quote 0
                              • DerelictD
                                Derelict LAYER 8 Netgate
                                last edited by

                                pfSense shell: playback generateguicert

                                Chattanooga, Tennessee, USA
                                A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                                DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                                Do Not Chat For Help! NO_WAN_EGRESS(TM)

                                1 Reply Last reply Reply Quote 1
                                • J
                                  jwaterman @Derelict
                                  last edited by

                                  @Derelict I know this is old... I just wanted to thank you for the steps. Got me back up and running quick when a certificate was accidentally revoked. Thank you!

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