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

    Unable to install packages looks like certificate error

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    11 Posts 5 Posters 1.5k 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.
    • BBcan177B
      BBcan177 Moderator @zdevlor
      last edited by

      @zdevlor

      Make sure to run that command as the "root" user. Also try:

      pkg update -f
      

      "Experience is something you don't get until just after you need it."

      Website: http://pfBlockerNG.com
      Twitter: @BBcan177ย  #pfBlockerNG
      Reddit: https://www.reddit.com/r/pfBlockerNG/new/

      1 Reply Last reply Reply Quote 0
      • Z
        zdevlor
        last edited by

        every package update i try gets the same error. I have other pfsense instances in my enterprise and they are working but this one is not.

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

          @zdevlor said in Unable to install packages looks like certificate error:

          access repo file(/var/db/pkg/repo-pfSense-core.sqlite) failed: No such file or directory

          Looks like you had some disk/file corruption if that file is not there?

          [2.4.4-RELEASE][root@sg4860.local.lan]/var/db/pkg: ls -la
          total 7400
          drwxr-xr-x   2 root  wheel      512 Feb 26 10:44 .
          drwxr-xr-x  20 root  wheel     1536 Feb 27 12:05 ..
          -rw-r--r--   1 root  wheel  6135808 Feb 23 06:40 local.sqlite
          -rw-r--r--   1 root  wheel      246 Jan  7 12:28 pfSense-core.meta
          -rw-r--r--   1 root  wheel      246 Feb 26 07:16 pfSense.meta
          -rw-r--r--   1 root  wheel   221184 Jan  7 12:28 repo-pfSense-core.sqlite
          -rw-r--r--   1 root  wheel  1085440 Feb 26 07:16 repo-pfSense.sqlite
          [2.4.4-RELEASE][root@sg4860.local.lan]/var/db/pkg: 
          
          

          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
          • jimpJ
            jimp Rebel Alliance Developer Netgate
            last edited by

            Make sure your clock is OK, and also make sure the firewall is not behind a proxy that requires/forces authentication.

            Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

            Need help fast? Netgate Global Support!

            Do not Chat/PM for help!

            1 Reply Last reply Reply Quote 0
            • Z
              zdevlor
              last edited by

              [2.4.4-RELEASE][root@xxxxxx]/var/db/pkg: ls -al
              total 3952
              drwxr-xr-x 2 root wheel 512 Feb 26 19:30 .
              drwxr-xr-x 14 root wheel 1024 Feb 27 10:30 ..
              -rw-r--r-- 1 root wheel 3989504 Feb 26 19:17 local.sqlite
              -rw-r--r-- 1 root wheel 246 Jan 7 10:26 pfSense-core.meta
              -rw-r--r-- 1 root wheel 246 Feb 26 14:28 pfSense.meta

              1 Reply Last reply Reply Quote 0
              • Z
                zdevlor
                last edited by

                Routing all works and time is correct as well

                1 Reply Last reply Reply Quote 0
                • Z
                  zdevlor
                  last edited by

                  [2.4.4-RELEASE][root@xxxxx]/var/db/pkg: pfSense-upgrade -4

                  Updating repositories metadata...
                  Updating pfSense-core repository catalogue...
                  pkg-static: Repository pfSense-core load error: access repo file(/var/db/pkg/repo-pfSense-core.sqlite) failed: No such file or directory
                  Certificate verification failed for /C=US/ST=CA/L=xxxx
                  routines:ssl3_get_server_certificate:certificate verify failed:/usr/local/poudriere/jails/pfSense_v2_4_4_amd64/usr/src/crypto/openssl/ssl/s3_clnt.c:1269:
                  Certificate verification failed for /C=US/ST=CA/L=xxxx
                  12664020:error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed:/usr/local/poudriere/jails/pfSense_v2_4_4_amd64/usr/src/crypto/openssl/ssl/s3_clnt.c:1269:
                  pkg-static: https://pkg.pfsense.org/pfSense_v2_4_4_amd64-core/meta.txz: Authentication error
                  repository pfSense-core has no meta file, using default settings

                  1 Reply Last reply Reply Quote 0
                  • jimpJ
                    jimp Rebel Alliance Developer Netgate
                    last edited by

                    Are you certain you don't have anything in front of that intercepting SSL? That looks nothing like the certificate subject you should be seeing from the package servers (files00.netgate.com and files01.netgate.com)

                    Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

                    Need help fast? Netgate Global Support!

                    Do not Chat/PM for help!

                    1 Reply Last reply Reply Quote 1
                    • Z
                      zdevlor
                      last edited by

                      the big thing is i would like to install the open vm tools package onto these devices
                      how do i do that with no access to the repo

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

                        @zdevlor said in Unable to install packages looks like certificate error:

                        how do i do that with no access to the repo

                        With no access, this file

                        pkg: Repository pfSense-core load error: access repo file(/var/db/pkg/repo-pfSense-core.sqlite) failed: No such file or director
                        

                        can't be loaded, so it can't be found.

                        A WAN connection need to exist to update/upgrade.

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