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

Fog client installation error - Cannot install CA certificate

Scheduled Pinned Locked Moved
FOG Problems
6
43
9.0k
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.
  • J
    jonhwood360 @jonhwood360
    last edited by Feb 10, 2021, 10:44 AM

    @jonhwood360 said in Fog client installation error - Cannot install CA certificate:

    @sebastian-roth said in Fog client installation error - Cannot install CA certificate:

    @jonhwood360 The PCAP looks like the host sends a TLS Client Hello using TLS 1.0 and the Apache server rejects it. Have you disabled newer TLS versions via GPO by any chance??

    No, no GPOs are applied. The apache server is on ubuntu. I can try to force enable newer TLS versions on the workstations. Is ver 1.2 sufficient?

    @sebastian-roth,

    I reattempted install after hard enabling tls 1.1 and 1.2 in the registry of the machine. No change.

    tlsversions.jpg

    I also took another pcap: https://drive.google.com/file/d/19u1RKug2OwFOHC4S_l0bDT1uK7bbhR0I/view?usp=sharing

    J 1 Reply Last reply Feb 10, 2021, 12:55 PM Reply Quote 0
    • J
      jonhwood360 @jonhwood360
      last edited by jonhwood360 Feb 10, 2021, 6:55 AM Feb 10, 2021, 12:55 PM

      @Sebastian-Roth

      PCAP from workstation as well - https://drive.google.com/file/d/1y-lML_qrJ18nv3T7HQ3zsW9M9vUD3NOU/view?usp=sharing

      1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by Feb 10, 2021, 1:54 PM

        @sebastian-roth said in Fog client installation error - Cannot install CA certificate:

        The PCAP looks like the host sends a TLS Client Hello using TLS 1.0 and the Apache server rejects it. Have you disabled newer TLS versions via GPO by any chance??

        Sorry, I wrote this without having had the time to test this on my side. I just found the time to do capture a PCAP in my test setup and it seems to use TLS 1.0 as well. Reading more about this on the we I found that it still seems to be the default in .NET framework 4.5.x which we use since fog-client version 0.12.0 (before we still used .NET 4.0, OMG).

        Ok that explains why we both see TLS 1.0 in the PCAP but to it’s still a riddle why your Apache server rejects the request while mine doesn’t. Plus we haven’t heard from other users so far. Maybe this Ubuntu moved to some newer versions of Apache (and maybe openssl) not long ago that now reject TLS 1.0 completely.

        I will try to force using of TLS 1.1 and newer in our code and upload a new installer for you to test soon.

        Thanks a lot for working on this with me! While at first I thought this is not a general issue it seems to actually be and you are the first one to report it.

        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
        • S
          Sebastian Roth Moderator
          last edited by Feb 10, 2021, 2:19 PM

          @jonhwood360 Ok, here you go for another try: https://github.com/FOGProject/fog-client/releases/download/0.12.0/FOGService_enable_TLS12.msi

          See if it can successfully pin to the FOG server with that and post a picture of the FOGService.install log as well.

          Keep in mind, this is not for official deployment for various reasons.

          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

          J 1 Reply Last reply Feb 10, 2021, 4:53 PM Reply Quote 0
          • J
            jonhwood360 @Sebastian Roth
            last edited by Feb 10, 2021, 4:53 PM

            @sebastian-roth said in Fog client installation error - Cannot install CA certificate:

            @jonhwood360 Ok, here you go for another try: https://github.com/FOGProject/fog-client/releases/download/0.12.0/FOGService_enable_TLS12.msi

            See if it can successfully pin to the FOG server with that and post a picture of the FOGService.install log as well.

            Keep in mind, this is not for official deployment for various reasons.

            We have a winner!

            tls2success.png

            So it seems that newer apache does not like the 1.0 connections.

            A 1 Reply Last reply Feb 17, 2021, 8:39 PM Reply Quote 1
            • S
              Sebastian Roth Moderator
              last edited by Sebastian Roth Feb 10, 2021, 1:17 PM Feb 10, 2021, 7:16 PM

              @jonhwood360 said in Fog client installation error - Cannot install CA certificate:

              We have a winner!
              So it seems that newer apache does not like the 1.0 connections.

              Great! Thanks again for testing. I will need to dig through the code and see If there is more adjustment needed (other places in the code needing that fix as well). Allow me a few days and I will release a new 0.12.1 including that fix.

              Can you post the latest FOGService.install log as well?

              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

              J 1 Reply Last reply Feb 11, 2021, 11:22 AM Reply Quote 0
              • J
                jonhwood360 @Sebastian Roth
                last edited by Feb 11, 2021, 11:22 AM

                @sebastian-roth said in Fog client installation error - Cannot install CA certificate:

                @jonhwood360 said in Fog client installation error - Cannot install CA certificate:

                We have a winner!
                So it seems that newer apache does not like the 1.0 connections.

                Great! Thanks again for testing. I will need to dig through the code and see If there is more adjustment needed (other places in the code needing that fix as well). Allow me a few days and I will release a new 0.12.1 including that fix.

                Can you post the latest FOGService.install log as well?

                As requested:
                InstallLogSuccess.png

                1 Reply Last reply Reply Quote 0
                • S
                  Sebastian Roth Moderator
                  last edited by Feb 14, 2021, 9:14 PM

                  @jonhwood360 Thanks! I didn’t get to it over the weekend but hopefully will this upcoming week.

                  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

                  J 1 Reply Last reply Feb 17, 2021, 3:18 PM Reply Quote 1
                  • J
                    jonhwood360 @Sebastian Roth
                    last edited by Feb 17, 2021, 3:18 PM

                    @sebastian-roth

                    I look forward to it!

                    1 Reply Last reply Reply Quote 0
                    • A
                      AndreSilva @jonhwood360
                      last edited by Feb 17, 2021, 8:39 PM

                      @jonhwood360 Thank’s for help!

                      1 Reply Last reply Reply Quote 0
                      • S
                        Sebastian Roth Moderator
                        last edited by Sebastian Roth Feb 18, 2021, 5:43 AM Feb 18, 2021, 11:42 AM

                        @jonhwood360 Ok, found the time to properly get this fixed in the code. As there are other things I need to work on before a next official release I decided to build and sign fixed installer binaries for you still as version 0.12.0.

                        Find FOGService_fixed-tls.msi and SmartInstaller_fixed-tls.exe on https://github.com/FOGProject/fog-client/releases/tag/0.12.0

                        As mentioned the binaries are signed so auto updating to the next future release will work seamlessly.

                        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

                        J 1 Reply Last reply Feb 18, 2021, 1:52 PM Reply Quote 0
                        • J
                          jonhwood360 @Sebastian Roth
                          last edited by Feb 18, 2021, 1:52 PM

                          @sebastian-roth said in Fog client installation error - Cannot install CA certificate:

                          he next future release will work seamlessly.

                          Is there a specific place on the fog server I should place these, or just manually distribute them to endpoint clients?

                          1 Reply Last reply Reply Quote 0
                          • S
                            Sebastian Roth Moderator
                            last edited by Feb 18, 2021, 2:35 PM

                            @jonhwood360 With this one your need to manually distribute it to the hosts or use some other way of distributed install. The next version will then auto update.

                            I would suggest you test this on one of your machines - just to make sure I didn’t miss anything. After installation you want to keep an eye on the fog-client log (C:\fog.log by default) to see if communication works all fine. Then go ahead and install to the other machines.

                            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

                            J 1 Reply Last reply Feb 18, 2021, 6:00 PM Reply Quote 0
                            • J
                              jonhwood360 @Sebastian Roth
                              last edited by Feb 18, 2021, 6:00 PM

                              @sebastian-roth said in Fog client installation error - Cannot install CA certificate:

                              @jonhwood360 With this one your need to manually distribute it to the hosts or use some other way of distributed install. The next version will then auto update.

                              I would suggest you test this on one of your machines - just to make sure I didn’t miss anything. After installation you want to keep an eye on the fog-client log (C:\fog.log by default) to see if communication works all fine. Then go ahead and install to the other machines.

                              Got it. Install worked fine. Is the superwebsocket defined in the fogservice.exe.config supposed to listen on localhost?

                              1 Reply Last reply Reply Quote 0
                              • S
                                Sebastian Roth Moderator
                                last edited by Feb 18, 2021, 6:10 PM

                                @jonhwood360 said in Fog client installation error - Cannot install CA certificate:

                                Got it. Install worked fine. Is the superwebsocket defined in the fogservice.exe.config supposed to listen on localhost?

                                Ok, fine. Communication also working I suppose?

                                Yes the SuperWebSocket stuff is only used for inter process communication.

                                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

                                J 1 Reply Last reply Feb 19, 2021, 10:56 AM Reply Quote 0
                                • J
                                  jonhwood360 @Sebastian Roth
                                  last edited by Feb 19, 2021, 10:56 AM

                                  @sebastian-roth said in Fog client installation error - Cannot install CA certificate:

                                  @jonhwood360 said in Fog client installation error - Cannot install CA certificate:

                                  Got it. Install worked fine. Is the superwebsocket defined in the fogservice.exe.config supposed to listen on localhost?

                                  Ok, fine. Communication also working I suppose?

                                  Yes the SuperWebSocket stuff is only used for inter process communication.

                                  Yes communication is working.

                                  1 Reply Last reply Reply Quote 0
                                  • M
                                    MEIT-TC
                                    last edited by Mar 19, 2021, 11:53 PM

                                    FOG newbie here. I also had the error “Unable to install CA certificate” when attempting to install the FOG Client 0.12.0 with HTTPS on Windows 10. Bumping this post because it was hard to find since most of the keywords I searched are in the screenshots, not the actual text. Hopefully if anyone else has this issue they’ll find it a bit faster.

                                    The Smartinstaller_fixed-tls.exe corrected the issue on my machines as well.

                                    My logs also showed the same lines:
                                    Middleware::Communication ERROR: Could not download file
                                    Middleware::Communication ERROR: The request was aborted: Could not create SSL/TLS secure channel.

                                    1 Reply Last reply Reply Quote 1
                                    • S
                                      Sebastian Roth Moderator
                                      last edited by Mar 20, 2021, 11:43 AM

                                      @MEIT-TC Thanks for your post and posting as actual text. Definitely helpful for others. Good to know the fixed version is of help to more people! We’ll bring out a new fog-client release to officially in the next weeks.

                                      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
                                      • D
                                        dawnofsoap
                                        last edited by Dec 21, 2021, 7:05 PM

                                        Bumping as this is still an issue and the new client isn’t directly available via the FOG download page on a self-hosted server. Took several days to find this post via Google and the FOG Forums.
                                        The “fixedTLS” MSI worked flawlessly.

                                        Thanks for your efforts guys!

                                        1 Reply Last reply Reply Quote 0
                                        • S
                                          Sebastian Roth Moderator
                                          last edited by Dec 21, 2021, 7:57 PM

                                          @dawnofsoap Thanks for bringing this up again. I should really push out a new release when I find the time over X-mas.

                                          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
                                          • 2
                                          • 3
                                          • 2 / 3
                                          • First post
                                            Last post

                                          247

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project