Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    [Solved] Unable to update repository pfSense (26.03)

    Scheduled Pinned Locked Moved General pfSense Questions
    16 Posts 8 Posters 1.6k Views 7 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.
    • B Offline
      bootcable
      last edited by stephenw10

      I just upgraded from 25.11 to 25.11.1 to 26.03 and I am now seeing this notice in the web ui:

      check_upgrade: "Updating repositories metadata" returned error code 1 @ 2026-05-08 12:01:06

      Running pkg-static update -f results in a bunch of errors saying "Problem with the local SSL certificate":

      Updating pfSense-core repository catalogue...
      pkg-static: Failed to fetch https://pfsense-plus-pkg.netgate.com/pfSense_plus-v26_03_amd64-core/meta.conf: Problem with the local SSL certificate
      pkg-static: Failed to fetch https://pfsense-plus-pkg.netgate.com/pfSense_plus-v26_03_amd64-core/meta.txz: Problem with the local SSL certificate
      repository pfSense-core has no meta file, using default settings
      Unable to update repository pfSense-core
      […]
      Error updating repositories!
      

      (Truncated as this post was getting flagged as spam, maybe because of the URLs?)

      Running pkg-static -d update shows the error:

      could not load PEM client certificate from /usr/local/etc/pfSense/pkg/repos/pfSense-repo-0000-cert.pem, OpenSSL error error:0480006C:PEM routines::no start line, (no key found, wrong pass phrase, or wrong file format?)

      (Removed full output as post was getting flagged as spam.)

      This file exists and is non-empty:

      -rw-r--r--  1 root wheel 2008 May  8 12:15 /usr/local/etc/pfSense/pkg/repos/pfSense-repo-0000-cert.pem
      

      In case it's helpful, here's the shasum for the file:

      $ shasum /usr/local/etc/pfSense/pkg/repos/pfSense-repo-0000-cert.pem
      74f601849a910e1ad272bd1810f1efaa401cda6a  /usr/local/etc/pfSense/pkg/repos/pfSense-repo-0000-cert.pem
      

      Not sure how to fix this or what to do from here.

      Thanks for your help.

      1 Reply Last reply Reply Quote 0
      • B Offline
        bschapendonk
        last edited by bschapendonk

        I'm having the same issue :(

        I was playing around with my install at home, and saw this error.

        I thought I messed something up, so I reinstalled using the latest installer (netgate-installer-v1.2-RELEASE-amd64.iso).
        This worked, but i'm still having errors and packages won't install :(

        Probably something in the netgate infrastructure, let's hope that it works again tomorrow.

        check_upgrade: "Updating repositories metadata" returned error code 1 @ 2026-05-08 22:22:27
        
        Updating pfSense-core repository catalogue...
        pkg: Failed to fetch https://pfsense-plus-pkg.netgate.com/pfSense_plus-v26_03_amd64-core/meta.conf: Problem with the local SSL certificate
        pkg: Failed to fetch https://pfsense-plus-pkg.netgate.com/pfSense_plus-v26_03_amd64-core/meta.txz: Problem with the local SSL certificate
        repository pfSense-core has no meta file, using default settings
        pkg: Failed to fetch https://pfsense-plus-pkg.netgate.com/pfSense_plus-v26_03_amd64-core/data.pkg: Problem with the local SSL certificate
        pkg: Failed to fetch https://pfsense-plus-pkg.netgate.com/pfSense_plus-v26_03_amd64-core/data.tzst: Problem with the local SSL certificate
        pkg: Failed to fetch https://pfsense-plus-pkg.netgate.com/pfSense_plus-v26_03_amd64-core/packagesite.pkg: Problem with the local SSL certificate
        pkg: Failed to fetch https://pfsense-plus-pkg.netgate.com/pfSense_plus-v26_03_amd64-core/packagesite.tzst: Problem with the local SSL certificate
        Unable to update repository pfSense-core
        Updating pfSense repository catalogue...
        pkg: Failed to fetch https://pfsense-plus-pkg.netgate.com/pfSense_plus-v26_03_amd64-pfSense_plus_v26_03/meta.conf: Problem with the local SSL certificate
        pkg: Failed to fetch https://pfsense-plus-pkg.netgate.com/pfSense_plus-v26_03_amd64-pfSense_plus_v26_03/meta.txz: Problem with the local SSL certificate
        repository pfSense has no meta file, using default settings
        pkg: Failed to fetch https://pfsense-plus-pkg.netgate.com/pfSense_plus-v26_03_amd64-pfSense_plus_v26_03/data.pkg: Problem with the local SSL certificate
        pkg: Failed to fetch https://pfsense-plus-pkg.netgate.com/pfSense_plus-v26_03_amd64-pfSense_plus_v26_03/data.tzst: Problem with the local SSL certificate
        pkg: Failed to fetch https://pfsense-plus-pkg.netgate.com/pfSense_plus-v26_03_amd64-pfSense_plus_v26_03/packagesite.pkg: Problem with the local SSL certificate
        pkg: Failed to fetch https://pfsense-plus-pkg.netgate.com/pfSense_plus-v26_03_amd64-pfSense_plus_v26_03/packagesite.tzst: Problem with the local SSL certificate
        Unable to update repository pfSense
        Error updating repositories!
        
        1 Reply Last reply Reply Quote 0
        • stephenw10S Offline
          stephenw10 Netgate Administrator
          last edited by

          Are you still seeing this? It looks like there was a backend issue yesterday but that should have been fixed now.

          D B 2 Replies Last reply Reply Quote 0
          • D Offline
            dgt75 @stephenw10
            last edited by

            @stephenw10 I am still seeing the errors noted in the earlier posts as of 30 minutes ago on my 26.03 install.

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

              OK digging....

              D 1 Reply Last reply Reply Quote 0
              • D Offline
                dgt75 @stephenw10
                last edited by

                @stephenw10 I am not certain if it is at all related to this error, but I did upgrade pfSense-repoc yesterday after receiving a notification of an update available. I do not know if the errors noted in earlier posts started after that. But thought it might be worth mentioning in case.

                This is the relevant log entry for versions updated to:

                pfSense-repoc upgraded: 20260205.051513 -> 20260507.171713

                1 Reply Last reply Reply Quote 0
                • .RB.. Offline
                  .RB.
                  last edited by

                  Same issue here. It occurred after the last repoc update yesterday.

                  1 Reply Last reply Reply Quote 0
                  • P Offline
                    pfsjap
                    last edited by

                    Same issue also here. I did go the same route as @dgt75, but the resulting pfSense-repoc version is different:

                    May 8 23:13:19	pkg-static	9846	pfSense-repoc upgraded: 20260205.051513 -> 20260508.174916
                    
                    M 1 Reply Last reply Reply Quote 0
                    • B Offline
                      bschapendonk @stephenw10
                      last edited by bschapendonk

                      @stephenw10 I just did a re-install and config restore and that solved my issues, thank you.

                      fyi yesterday I also upgraded pfSense-repoc which cause the issue, but a re-install / restore did not work at that time.

                      1 Reply Last reply Reply Quote 0
                      • M Offline
                        mvikman @pfsjap
                        last edited by

                        @pfsjap said in Unable to update repository pfSense (26.03):

                        Same issue also here. I did go the same route as @dgt75, but the resulting pfSense-repoc version is different:

                        May 8 23:13:19	pkg-static	9846	pfSense-repoc upgraded: 20260205.051513 -> 20260508.174916
                        

                        I have the same version of repoc upgraded and now also getting error notifications

                        pkg-static: Failed to fetch https://pfsense-plus-pkg.netgate.com/pfSense_plus-v26_03_amd64-core/meta.conf: Problem with the local SSL certificate
                        pkg-static: Failed to fetch https://pfsense-plus-pkg.netgate.com/pfSense_plus-v26_03_amd64-core/meta.txz: Problem with the local SSL certificate
                        

                        pfSense Plus 26.03-RELEASE (amd64)
                        Dell Optiplex 7040 SFF
                        Core i5-6500, 24GB RAM, 2x 240GB SSD (ZFS Mirror)
                        HPE 561T (X540-AT2), 2-port 10Gb RJ45
                        HPE 562SFP+ (X710-DA2), 2-port 10Gb SFP+

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

                          Ok, yes, it looks like this was a repoc issue. It's since been updated again to fix so new installs are not affected.

                          But if you're still hitting it try running this command to fix the certs and update repoc:

                          pfSense-repoc -N && sh -c 'for f in $(grep -L -m1 "^-----BEGIN CERTIFICATE-----" /usr/local/etc/pfSense/pkg/repos/pfSense-repo-*-cert.pem 2>/dev/null); do if [ -e "$f" ]; then sed -i "" "s/.\\{64\\}/&\n/g" "$f"; sed -i "" -e "1s/^/-----BEGIN CERTIFICATE-----\n/" -e "\$s/\$/\n-----END CERTIFICATE-----/" "$f"; fi; done' && pkg upgrade -y pfSense-repoc
                          
                          luckman212L .RB.. D B 4 Replies Last reply Reply Quote 2
                          • luckman212L Offline
                            luckman212 LAYER 8 @stephenw10
                            last edited by

                            Hmm. I just checked mine, and I've got 20260508.234816

                            pkg query -x %v pfSense-repoc
                            20260508.234816
                            

                            guess that's the latest then?

                            stephenw10S 1 Reply Last reply Reply Quote 0
                            • .RB.. Offline
                              .RB. @stephenw10
                              last edited by

                              @stephenw10
                              That fixed it for me, thank you!

                              1 Reply Last reply Reply Quote 0
                              • GertjanG Gertjan referenced this topic on
                              • D Offline
                                dgt75 @stephenw10
                                last edited by

                                @stephenw10 Looks like that did the trick for me as well, no errors. Thank you for this!

                                1 Reply Last reply Reply Quote 0
                                • B Offline
                                  bootcable @stephenw10
                                  last edited by

                                  @stephenw10 Thanks for your help. That fixed it for me.

                                  Doesn't look like I can edit the post title to say solved.

                                  1 Reply Last reply Reply Quote 1
                                  • stephenw10S Offline
                                    stephenw10 Netgate Administrator @luckman212
                                    last edited by

                                    @luckman212 Yup that's the latest repoc pkg.

                                    1 Reply Last reply Reply Quote 0
                                    • patient0P patient0 referenced this topic on
                                    • First post
                                      Last post
                                    Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
                                    Privacy Policy · Cookie Policy