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

    upgrade woes - openssl SSL alert

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    11 Posts 2 Posters 1.6k 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.
    • stephenw10S
      stephenw10 Netgate Administrator
      last edited by

      Hmm, that was a known issue during 22.05 development but should be fixed in the release images. Has that been running release for some time?

      Try running at the command line:

      pkg-static -d update
      

      Should show that same error but with more debug output.
      Then try:

      pkg -d update
      

      That may succeed.

      Steve

      J 2 Replies Last reply Reply Quote 0
      • J
        j3hst3r @j3hst3r
        last edited by

        For more information, there seems to be a local cert issue? Not sure why, I never changed anything in terms of the certificates in the cert store:

        curl -vvv https://repo01.atx.netgate.com

        • Trying 208.123.73.209:443...
        • Connected to repo01.atx.netgate.com (208.123.73.209) port 443 (#0)
        • ALPN: offers h2
        • ALPN: offers http/1.1
        • CAfile: /usr/local/share/certs/ca-root-nss.crt
        • CApath: none
        • TLSv1.3 (OUT), TLS handshake, Client hello (1):
        • TLSv1.3 (IN), TLS handshake, Server hello (2):
        • TLSv1.2 (IN), TLS handshake, Certificate (11):
        • TLSv1.2 (OUT), TLS alert, unknown CA (560):
        • SSL certificate problem: unable to get local issuer certificate
        • Closing connection 0
          curl: (60) SSL certificate problem: unable to get local issuer certificate
          More details here: https://curl.se/docs/sslcerts.html

        curl failed to verify the legitimacy of the server and therefore could not
        establish a secure connection to it. To learn more about this situation and
        how to fix it, please visit the web page mentioned above.

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

          Yes, that's expected to fail unless you pass the client cert with the request.

          1 Reply Last reply Reply Quote 0
          • J
            j3hst3r @stephenw10
            last edited by

            @stephenw10

            I've done each one. The initial post was pfSense-upgrade -d but all pkg commands or pfSense-upgrade fails with the same :(

            And yes, you're right, I just passed -k and handshake went through

            1 Reply Last reply Reply Quote 1
            • J
              j3hst3r @stephenw10
              last edited by

              @stephenw10

              pkg -d update:

              DBG(1)[5558]> PkgRepo: extracting packagesite.yaml of repo pfSense
              DBG(1)[18095]> PkgRepo: extracting signature of repo in a sandbox
              pkg: No trusted public keys found
              Unable to update repository pfSense
              Error updating repositories!

              pkg-static -d update throws the same as pfSense-upgrade -d

              and this 120 seconds post time restriction due to reputation is lame :)

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

                So fails with both pkg and pkg-static?

                Last time I saw this is was due to an older version of pkg-static being incorrectly installed by a package.

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

                  Well I can try to fix your reputation....

                  1 Reply Last reply Reply Quote 0
                  • J
                    j3hst3r @stephenw10
                    last edited by

                    @stephenw10
                    pkg -v is 1.18.3 -- is this accurate?

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

                      Hmm, no that's actually newer than the 22.05 repo version:

                      Command history storage is enabled. Clear history with: history -c; history -S.
                      [22.05-RELEASE][admin@2100-3.stevew.lan]/root: pkg -v
                      1.17.5
                      [22.05-RELEASE][admin@2100-3.stevew.lan]/root: pkg-static -v
                      1.17.5
                      

                      Checking....

                      1 Reply Last reply Reply Quote 0
                      • J
                        j3hst3r
                        last edited by

                        For those who are still watching...the HOW of the issue is unclear but regardless, i'm just resetting the box to move on with life...

                        thanks @stephenw10 for the help

                        thread closed

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