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

    Certificate error

    Scheduled Pinned Locked Moved General pfSense Questions
    43 Posts 6 Posters 3.9k 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.
    • A
      Antibiotic @the other
      last edited by

      @the-other I import CA client cert manually to trust store ,but its windows machines

      pfSense plus 24.11 on Topton mini PC
      CPU: Intel N100
      NIC: Intel i-226v 4 pcs
      RAM : 16 GB DDR5
      Disk: 128 GB NVMe
      Brgds, Archi

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

        @Antibiotic said in Certificate error:

        I import CA client cert

        There is no 'CA client cert' there is just the CA cert. This:
        Screenshot from 2024-04-27 15-13-34.png

        A 1 Reply Last reply Reply Quote 0
        • A
          Antibiotic @stephenw10
          last edited by

          @stephenw10

          d0fa9ace-cea3-4684-b028-ccdc9a448e67-image.png

          d6f1ac17-97fa-40e3-9f3c-48ee0943964a-image.png
          Creafed 2 cert for server and client and put to windows trust
          store HomeCA

          pfSense plus 24.11 on Topton mini PC
          CPU: Intel N100
          NIC: Intel i-226v 4 pcs
          RAM : 16 GB DDR5
          Disk: 128 GB NVMe
          Brgds, Archi

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

            You exported the HomeCA cert from pfSense and imported it into Windows?

            A 1 Reply Last reply Reply Quote 0
            • the otherT
              the other @Antibiotic
              last edited by the other

              @Antibiotic hey there,
              to get rid of that warning, this works for me (and should in general):
              go to your own CA in pfsense, export its cert (second from the left symbol), save it in your downloads directory...(or as needed)
              Then open your firefox browser: go to settings > security > certificates here press show certificates.
              Then go to tab certificate authorities, here press import. Import your saved CA cert. Close browser.
              Start browser, go to your pfsense gui. If everything is done correctly the warning should be gone. Instead the lock symbol is showing a safe connection, moving the cursor on it should show something like "certified by YOUR CA NAME".
              Delete that CA cert from your pc. Your browser should now know (and trust) pfsense's webserver cert, since it knows the CA (imported certificate)...

              the other

              pure amateur home user, no business or professional background
              please excuse poor english skills and typpoz :)

              1 Reply Last reply Reply Quote 1
              • A
                Antibiotic @stephenw10
                last edited by

                @stephenw10 yes

                pfSense plus 24.11 on Topton mini PC
                CPU: Intel N100
                NIC: Intel i-226v 4 pcs
                RAM : 16 GB DDR5
                Disk: 128 GB NVMe
                Brgds, Archi

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

                  @Antibiotic here is walk through I did back in 2019

                  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 3
                  • A
                    Antibiotic @johnpoz
                    last edited by

                    @johnpoz Thanks, this guide work for me as well)))

                    pfSense plus 24.11 on Topton mini PC
                    CPU: Intel N100
                    NIC: Intel i-226v 4 pcs
                    RAM : 16 GB DDR5
                    Disk: 128 GB NVMe
                    Brgds, Archi

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

                      @Antibiotic glad you got it sorted.. The only bad thing is browsers now complain about long life certs.. I think something like 398 days or something max..

                      Use to be able to create a cert good for 10 years, and have no worries most likely for the life of the equipment you were using it on.. Now you have to renew it every year or so..

                      Now that you have a CA your browser trusts you can sign certs with if for all your devices that use a webgui.. So you can get your browser to stop complaining for stuff like switches, printers, other software.. My nas and unifi controllers webguis all use certs signed by my home CA..

                      Since your using your own CA you can create certs for any domain you want to use, home.arpa for example - or the new .internal that also intended for local use. You can add rfc1918 IPs in you the SAN so that even when you access via IP vs fqdn your browser won't complain.

                      certs.jpg

                      Sure ACME has been a game changer for Certs.. And is great for something that a browser you do not control will be accessing. I use them for services I expose to the public. But 90 day renew kind of pain, even if can be automated. But you have to use a public domain, which can be problematic to use internally to be honest, you can not add rfc1918 IPs.. For the admin guis of stuff you admin, with your devices - use of your own CA is better option imho..

                      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
                        Antibiotic @johnpoz
                        last edited by

                        @johnpoz said in Certificate error:

                        complain about long life certs

                        I use edge and don't have any complains about that 10 years cert, do not see any warnings)))

                        pfSense plus 24.11 on Topton mini PC
                        CPU: Intel N100
                        NIC: Intel i-226v 4 pcs
                        RAM : 16 GB DDR5
                        Disk: 128 GB NVMe
                        Brgds, Archi

                        GertjanG johnpozJ 2 Replies Last reply Reply Quote 1
                        • GertjanG
                          Gertjan @Antibiotic
                          last edited by Gertjan

                          @Antibiotic said in Certificate error:

                          I use edge and don't have any complains about that 10 years cert, do not see any warnings))

                          Microsoft can't publish more then one 'bad news' a day.
                          The update that will make Edge bark over "10 year certs" is probably already queued.

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

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

                            @Antibiotic all the other browsers have implemented the like 1 year limit.. But seems from a quick google msedge finally got something right ;) If the CA is private, then the limit is not enforced..

                            oh - another quick google, and wow - seems they all do not enforce limits for private CAs.. Sweet!! When I had moved over to home.arpa and changed my certs I set them to 1 year.. When comes time to renew, back to 10 years for me ;)

                            See helping people you can learn something new yourself - thanks!!

                            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 the otherT 3 Replies Last reply Reply Quote 1
                            • A
                              Antibiotic @johnpoz
                              last edited by

                              @johnpoz Fine)))

                              pfSense plus 24.11 on Topton mini PC
                              CPU: Intel N100
                              NIC: Intel i-226v 4 pcs
                              RAM : 16 GB DDR5
                              Disk: 128 GB NVMe
                              Brgds, Archi

                              johnpozJ 1 Reply Last reply Reply Quote 0
                              • johnpozJ johnpoz forked this topic on
                              • johnpozJ
                                johnpoz LAYER 8 Global Moderator @Antibiotic
                                last edited by johnpoz

                                @Antibiotic I forked that question to a new thread..

                                https://forum.netgate.com/topic/187866/ns8250-uart-fcr-is-broken-duirng-boot-os

                                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 2 Replies Last reply Reply Quote 0
                                • A
                                  Antibiotic @johnpoz
                                  last edited by

                                  @johnpoz Ok. thanks

                                  pfSense plus 24.11 on Topton mini PC
                                  CPU: Intel N100
                                  NIC: Intel i-226v 4 pcs
                                  RAM : 16 GB DDR5
                                  Disk: 128 GB NVMe
                                  Brgds, Archi

                                  1 Reply Last reply Reply Quote 0
                                  • the otherT
                                    the other @johnpoz
                                    last edited by

                                    @johnpoz I read about that every now and then too...
                                    BUT: here it is working with a cert lifetime of 10 years with chromium and firefox (both up to date) without any complaints...

                                    the other

                                    pure amateur home user, no business or professional background
                                    please excuse poor english skills and typpoz :)

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

                                      @the-other yeah I saw the headlines about the changes, etc but never really dove into the details.. Just figured it was all certs, and assumed my old certs were just grandfathered in - because I recall reading it was for certs issued after a specific date.

                                      So when I redid mine to move to home.arpa I just made them for 1 year.. What I get for not reading the small print ;)

                                      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
                                      • stephenw10S
                                        stephenw10 Netgate Administrator
                                        last edited by

                                        Mmm, I'm pretty sure it does apply to server certs. We had to change the default values for the gui and openvpn wizrad etc. But the CA cert can still be much longer.

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

                                          @johnpoz Hello can me use pfSesne system/patches to apply this patch or its only for pfsesne inside system? I mean over this can implement any pacth to system or only from redmine.pfsense.org?
                                          https://cgit.freebsd.org/src/commit/?id=c4b68e7e53bb352be3fa16995b99764c03097e66

                                          pfSense plus 24.11 on Topton mini PC
                                          CPU: Intel N100
                                          NIC: Intel i-226v 4 pcs
                                          RAM : 16 GB DDR5
                                          Disk: 128 GB NVMe
                                          Brgds, Archi

                                          stephenw10S johnpozJ 2 Replies Last reply Reply Quote 0
                                          • D
                                            Darkk
                                            last edited by

                                            Create a CA Root with 10 year lifetime. Then create another CA cert and have it signed by CA Root. And finally create your normal certs and have it signed by the previous CA cert. This is how chain of certificates work.

                                            The reason for the chain is part of how you revoke the certs. So for example if you revoke the server cert you just recreate the new server cert and have it signed by previous CA cert which is also signed by CA Root.

                                            Just import your CA root into your browser and trust it. From then on any certs signed by CA root will automatically be trusted.

                                            CA Root << Primary root cert
                                            CA cert << intermediate cert signed by CA Root
                                            CA cert signed by intermediate cert which you use for servers such as HAproxy and webGUI.

                                            You should have three working certs.

                                            Hope this helps.

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