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.
    • johnpozJ
      johnpoz LAYER 8 Global Moderator @Antibiotic
      last edited by

      @Antibiotic what cert? the selfsigned cert pfsense creates on its own, or one you created with your own ca?

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

        @johnpoz said in Certificate error:

        cert pfsense creates on its own

        cert pfsense creates on its own

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

          That can't work because there's no way to add the CA cert to the client so it will accept it.

          You need to create a CA in pfSense. Use that to create a new server cert to use for the webgui. The import the CA cert ito the client so it trusts the server cert.

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

            @johnpoz I dont understanding. do I need to create additional CA client sert and put him to Windows trust cert 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

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

              Windows needs the CA cert so that when it sees the server cert in pfSense created by that it will trust it.

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

                @stephenw10 So , i need to delete default pfsense web gui cert. Creare new server and client cert and put both to Windows trust store?

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

                  Well I wouldn't delete the old webgui (server) cert before you created a new one! I don't think pfSense will allow you to do that.

                  Windows only needs the CA cert.

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

                    @stephenw10 I did , put client CA to windows trsted store but nit working(((

                    bb6200f4-c951-422d-af5d-71d39203e3ad-image.png

                    22d48109-cc6d-4b2d-be63-dea3e6da5215-image.png

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

                      Same error?

                      I would expect that to work so I would check the Windows has actually imported it correctly.

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

                        @stephenw10 Yes same error

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

                          @johnpoz

                          https://forum.netgate.com/topic/187774/port-restriction-rule

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

                            @Antibiotic hm, strange...
                            I just imported my self-signed CA cert in my browsers certs (works for firefox as well as cromium under ubuntu, even working for androids).
                            With ubuntu I just put my CA cert into my browser's cert place, with android I imported into system. Both working...

                            So, did you import the CA cert or a server cert done with that CA? You need the former... :)

                            the other

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

                            A 1 Reply Last reply Reply Quote 0
                            • 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
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.