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

FOGclient Response Failed to decrypt data on server

Scheduled Pinned Locked Moved
General Problems
2
7
396
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.
  • G
    GregorS
    last edited by Sep 14, 2022, 2:03 PM

    Hello,

    After upgrading FOG server (on Ubuntu 20.04 LTS) to latest dev-branch version: 1.5.9.159 all FOG clients have “Middleware::Response Failed to decrypt data on server” in their log files.

    Please see attached log.

    Any ideas what to do…where to start?

    fog.log


    GregorS

    1 Reply Last reply Reply Quote 0
    • S
      Sebastian Roth Moderator
      last edited by Sebastian Roth Sep 14, 2022, 1:07 PM Sep 14, 2022, 6:54 PM

      @GregorS Which version of FOG did you use before? 1.5.9 or an earlier dev-branch version? I am not aware of an update causing this problem but still it would be good to know the version you updated from.

      Please run the following two commands on your FOG server and post output here:

      openssl x509 -noout -modulus -in /var/www/fog/management/other/ssl/srvpublic.crt | openssl md5
      openssl rsa -noout -modulus -in /opt/fog/snapins/ssl/.srvprivate.key | openssl md5
      

      This is to check if private key and certificate match. The checksums should be identical.

      As well run this command to make sure the cert can be verified against the CA:

      openssl verify -verbose -CAfile /opt/fog/snapins/ssl/CA/.fogCA.pem /var/www/fog/management/other/ssl/srvpublic.crt
      

      https://forums.fogproject.org/topic/13100/problem-with-domain-join-after-deployement

      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

      G 2 Replies Last reply Sep 15, 2022, 6:47 AM Reply Quote 0
      • G
        GregorS @Sebastian Roth
        last edited by Sep 15, 2022, 6:47 AM

        @sebastian-roth Which version of FOG did you use before?
        1.5.9.111 or 1.5.9.154 …sorry but i’m not sure exactly.

        openssl x509 -noout -modulus -in /var/www/fog/management/other/ssl/srvpublic.crt | openssl md5

        (stdin)= a3b32215b30b501670ffae86597cbb8f

        openssl rsa -noout -modulus -in /opt/fog/snapins/ssl/.srvprivate.key | openssl md5

        (stdin)= 4fc67bd30e70b917d24443c620a2cd07

        openssl verify -verbose -CAfile /opt/fog/snapins/ssl/CA/.fogCA.pem /var/www/fog/management/other/ssl/srvpublic.crt

        /var/www/fog/management/other/ssl/srvpublic.crt: OK


        GregorS

        1 Reply Last reply Reply Quote 0
        • G
          GregorS @Sebastian Roth
          last edited by Sep 15, 2022, 11:00 AM

          @sebastian-roth said in FOGclient Response Failed to decrypt data on server:

          https://forums.fogproject.org/topic/13100/problem-with-domain-join-after-deployement

          Solved my problem with commands you suggested to @benjamind on Apr 9, 2019, 10:49 PM.

          Thanks for help.


          GregorS

          1 Reply Last reply Reply Quote 0
          • S
            Sebastian Roth Moderator
            last edited by Sep 15, 2022, 6:51 PM

            @GregorS Good to know this worked for you as well. Allow me one question on this: Did you change the FOG server’s IP address or hostname at some point?

            We do see this kind of issue maybe once a year in the forums and I still have no idea why. The mentioned srvpublic.crt certificate is being regenerated every time you update (or re-run the installer) and it’s not causing any trouble 99.9% of the time.

            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

            G 1 Reply Last reply Sep 16, 2022, 7:10 AM Reply Quote 0
            • G
              GregorS @Sebastian Roth
              last edited by Sep 16, 2022, 7:10 AM

              @sebastian-roth The IP or the host name was not changed from the initial OS installation.


              GregorS

              1 Reply Last reply Reply Quote 0
              • S
                Sebastian Roth Moderator
                last edited by Sep 16, 2022, 3:04 PM

                @gregors said in FOGclient Response Failed to decrypt data on server:

                The IP or the host name was not changed from the initial OS installation.

                Thanks for the info. No idea what would cause the new generated cert to not match the key.

                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

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

                227

                Online

                12.0k

                Users

                17.3k

                Topics

                155.2k

                Posts
                Copyright © 2012-2024 FOG Project