• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Snapin Cert Issues

    Scheduled Pinned Locked Moved
    FOG Problems
    2
    6
    647
    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.
    • D
      Duncan
      last edited by

      Ubuntu 20.04.3
      FOG 1.5.9

      Just built a new FOG server and storage node.

      I can deploy and capture images, but i cannot deploy Snapins.

      ------------------------------------------------------------------------------
      ---------------------------------SnapinClient---------------------------------
      ------------------------------------------------------------------------------
       18/01/2022 11:20:40 Client-Info Client Version: 0.12.0
       18/01/2022 11:20:40 Client-Info Client OS:      Windows
       18/01/2022 11:20:40 Client-Info Server Version: 1.5.9
       18/01/2022 11:20:40 Middleware::Response Success
       18/01/2022 11:20:40 SnapinClient Running snapin AutoCAD 2021
       18/01/2022 11:20:40 Middleware::Communication Download: http://x.x.x.x//fog/service/snapins.file.php?mac=EC:B1:D7:49:C9:EE&taskid=19
       18/01/2022 11:20:40 Data::RSA FOG Server CA cert found
       18/01/2022 11:20:40 Data::RSA ERROR: Certificate validation failed
       18/01/2022 11:20:40 Data::RSA ERROR: Trust chain did not complete to the known authority anchor. Errors: The signature of the certificate cannot be verified. (NotSignatureValid)
       18/01/2022 11:20:40 Middleware::Communication SSL certificate chain error: A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider.
      
       18/01/2022 11:20:40 Middleware::Communication ERROR: Could not download file
       18/01/2022 11:20:40 Middleware::Communication ERROR: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
       18/01/2022 11:20:40 SnapinClient C:\Program Files (x86)\FOG\tmp\AutoCad2021.sfx.exe
       18/01/2022 11:20:40 Middleware::Communication URL: https://x.x.x.x/fog/service/snapins.checkin.php?taskid=19&exitcode=-1&mac=EC:B1:D7:49:C9:EE&newService&json
      
      1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by

        @Duncan Please use the fixed fog-client installer we provide on github: https://github.com/FOGProject/fog-client/releases/download/0.12.0/SmartInstaller_fixed-tls.exe

        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

        D 1 Reply Last reply Reply Quote 0
        • D
          Duncan @Sebastian Roth
          last edited by

          @sebastian-roth

          Tried that, didnt solve anything.

          Ended up redoing Server and Storage node. Now i have new issues…

           19/01/2022 14:48:39 Client-Info Version: 0.12.0
           19/01/2022 14:48:39 Client-Info OS:      Windows
           19/01/2022 14:48:39 Middleware::Authentication Waiting for authentication timeout to pass
           19/01/2022 14:48:39 Middleware::Communication Download: http://x.x.x.x/fog/management/other/ssl/srvpublic.crt
           19/01/2022 14:48:39 Data::RSA FOG Server CA cert found
           19/01/2022 14:48:39 Middleware::Authentication Cert OK
           19/01/2022 14:48:39 Middleware::Authentication No token found at C:\Program Files (x86)\FOG\token.dat, this is expected if the client has not authenticated before
           19/01/2022 14:48:39 Middleware::Authentication ERROR: Could not get security token
           19/01/2022 14:48:39 Middleware::Authentication ERROR: Could not find file 'C:\Program Files (x86)\FOG\token.dat'.
           19/01/2022 14:48:39 Middleware::Communication POST URL: http://x.x.x.x/fog/management/index.php?sub=requestClientInfo&authorize&newService
           19/01/2022 14:48:39 Middleware::Response Private key path not found
          
          1 Reply Last reply Reply Quote 0
          • S
            Sebastian Roth Moderator
            last edited by

            @duncan

            Tried that, didnt solve anything.

            Well, my first assumntion on what was causing this was obviously wrong. Looking at it again now I notice what I missed last time. This seems to be the snapin download only but not a general communication error. My fault, sorry. This could be a known bug which no one yet got to fix: https://github.com/FOGProject/fogproject/issues/371

            Ended up redoing Server and Storage node. Now i have new issues…

            Hmmm?! Why did you do that? What exactly do you mean by “redoing”? Installed from scratch? Did you migrate the certificates from the old server? Do you have a backup of that old server?

            Private key path not found

            I think the only time I have seen this error was in the forums back in 2019 and that one never got solved I think: https://forums.fogproject.org/topic/13674/private-key-path-not-found-when-registering-client

            Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

            Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

            D 1 Reply Last reply Reply Quote 0
            • D
              Duncan @Sebastian Roth
              last edited by

              @sebastian-roth Yeh i wiped the fog server and reinstalled it all using http. not https.

              I cleared out the storage node fog settings and then reran the installer.

              Im setting it up as new server so didnt bother keeping certs. I then uninstalled the client and reinstalled on windows 10 build.

              Im going to rebuild the server one more time, but not add the node and see how it behaves.

              Thanks

              D 1 Reply Last reply Reply Quote 0
              • D
                Duncan @Duncan
                last edited by

                @duncan
                removed the storage node and it seems to be working now.

                Il try to rebuild the node and test again.

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  Last post

                163

                Online

                12.0k

                Users

                17.3k

                Topics

                155.2k

                Posts
                Copyright © 2012-2024 FOG Project