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

    Cannot install a CA Certificate

    Scheduled Pinned Locked Moved
    FOG Problems
    5
    19
    1.6k
    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.
    • T
      Trev-lchs
      last edited by

      Hi All having upgraded fog to Ver 1.5.9 from version 1.5.4, trying install the smart installer for client Version 0.12.0 over client Version 0.11.16, it uninstalled the old client but then failed to install the new one with the error unable to install CA certificate. Thing is, the previous version of the client was working fine on 1.5.9, communication was all good… I should of stayed to my mantra of “if it isn’t broke don’t fix it”. Any help gratefully received.

      T 1 Reply Last reply Reply Quote 0
      • T
        Trev-lchs @Trev-lchs
        last edited by

        @trev-lchs what I have done for now is kept using the old client (0.11.16) on the image i had in fog, this works perfectly. But if anyone knows what the fix is for the “Cannot install a CA Cert” that i have with client ver 0.12.0, that would be really very useful.

        T 1 Reply Last reply Reply Quote 0
        • S
          Sebastian Roth Moderator
          last edited by

          @Trev-lchs said:

          But if anyone knows what the fix is for the “Cannot install a CA Cert” that i have with client ver 0.12.0, that would be really very useful.

          Possibly fixed in 0.12.1: https://github.com/FOGProject/fog-client/releases

          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

          T 3 Replies Last reply Reply Quote 1
          • T
            Trev-lchs @Sebastian Roth
            last edited by

            @sebastian-roth Thanks Sebastian I will give it a go.

            1 Reply Last reply Reply Quote 0
            • T
              Trev-lchs @Trev-lchs
              last edited by

              @trev-lchs Sorry Sebastian, same issue with the latest one.

              1 Reply Last reply Reply Quote 0
              • T
                Trev-lchs @Sebastian Roth
                last edited by Trev-lchs

                @sebastian-roth OK I am just very stupid, My apologies everyone. However. this might be a great opportunity to help others. Please when installing the client, in the box that says Fog Server, make sure you clear the box (the word FogServer) and enter the IP of your Fog Server then click next. The easy thing to do is just click next on the install, that’s when you get the CA error as it has no idea where the fog server is.

                1 Reply Last reply Reply Quote 1
                • R
                  rubix8
                  last edited by

                  During the installation of the client, there is a part where it asks the name of the server. Type the IP address instead.

                  At least that worked for me.

                  1 Reply Last reply Reply Quote 1
                  • F
                    fabiano.matos
                    last edited by

                    @trev-lchs

                    Hello folks
                    I’m still having the same problem.

                    FOG Server 1.5.9
                    Clients 0.12.2 and 0.11.16 give the same error “Unable to install CA certificate”

                    Any ideas how to solve this?

                    T 1 Reply Last reply Reply Quote 0
                    • T
                      Trev-lchs @fabiano.matos
                      last edited by

                      @fabiano-matos this is what worked for us buddy::

                      OK I am just very stupid, My apologies everyone. However. this might be a great opportunity to help others. Please when installing the client, in the box that says Fog Server, make sure you clear the box (the word FogServer) and enter the IP of your Fog Server then click next. The easy thing to do is just click next on the install, that’s when you get the CA error as it has no idea where the fog server is.

                      F 1 Reply Last reply Reply Quote 0
                      • F
                        fabiano.matos @Trev-lchs
                        last edited by

                        @trev-lchs thanks trev
                        I did like you said. In the box fogserver I’ve tried my DNS and my IPV4 address. But still getting the same error.
                        That’s why I’m asking you all… Cause your solution does not work here.
                        But thanks for your interest and help;

                        T R 2 Replies Last reply Reply Quote 0
                        • T
                          Trev-lchs @fabiano.matos
                          last edited by

                          @fabiano-matos can you ping the fog server from the client PC?

                          F 1 Reply Last reply Reply Quote 0
                          • F
                            fabiano.matos @Trev-lchs
                            last edited by

                            @trev-lchs Yes… ping FQDN (dns) and IP

                            1 Reply Last reply Reply Quote 0
                            • R
                              rodluz Developer @fabiano.matos
                              last edited by

                              @fabiano-matos said in Cannot install a CA Certificate:

                              I did like you said. In the box fogserver I’ve tried my DNS and my IPV4 address. But still getting the same error.

                              Few questions:
                              Just making sure, when you say “my IPV4 address” you mean the FOG Server’s IP address right?

                              Was this a clean install of the FOG client on the computer or did you have an older version already installed?

                              Is your FOG server set up with HTTPS? If so, are you checking the Use HTTPS to connect to FOG server box?

                              F 1 Reply Last reply Reply Quote 0
                              • F
                                fabiano.matos @rodluz
                                last edited by fabiano.matos

                                @rodluz

                                Just making sure, when you say “my IPV4 address” you mean the FOG Server’s IP address right?

                                Yes, I’ve tried with ip of the server and with dns like ‘fog.sub.domain.com’. My pc client can ping server via IP ou DNS.

                                Was this a clean install of the FOG client on the computer or did you have an older version already installed?

                                Yes, this is a computuer clean, when never installed any version of FOGClient.

                                Is your FOG server set up with HTTPS? If so, are you checking the Use HTTPS to connect to FOG server box?

                                Yep. The server is running with both ports (80 and 443). Tried install client via https (checking use HTTPS box) and without this option (via http)

                                Checking my firewall, the packets are passing to the server.

                                1 Reply Last reply Reply Quote 0
                                • T
                                  Trev-lchs @Sebastian Roth
                                  last edited by Trev-lchs

                                  @sebastian-roth HI Sebastian, do you think you could take a look at this thread and help Fabiano , I am out of ideas.

                                  1 Reply Last reply Reply Quote 0
                                  • S
                                    Sebastian Roth Moderator
                                    last edited by Sebastian Roth

                                    @fabiano-matos said in Cannot install a CA Certificate:

                                    Unable to install CA certificate

                                    @Trev-lchs Hmm, do you have GPOs applied that might prevent from certificate being installed? https://forums.fogproject.org/post/131875

                                    Or anti virus tools can cause this as well: https://forums.fogproject.org/post/88558

                                    As well you might check the log file found in C:\Windows\Temp\FOGService.install.log to see more information on why it fails.

                                    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

                                    F 1 Reply Last reply Reply Quote 0
                                    • F
                                      fabiano.matos @Sebastian Roth
                                      last edited by fabiano.matos

                                      @sebastian-roth Thanks for this tip. I didn’t known the location of this log.

                                      Looking at this file I found the problem: My server doesn’t have/created a ca.cert.

                                       22/11/2022 15:24:38 Middleware::Communication Download: https://mydomain/fog/management/other/ca.cert.der
                                       22/11/2022 15:24:39 Middleware::Communication ERROR: Could not download file
                                       22/11/2022 15:24:39 Middleware::Communication ERROR: O servidor remoto retornou um erro: (404) Não Localizado.
                                       22/11/2022 15:24:39 Installer Could not download server CA cert from FOG server
                                       22/11/2022 15:24:40 Installer ERROR: Unable to install CA certificate
                                      

                                      After reinstall server (making sure CA was create), the problem was solved. Now FOGClient installation was completed without errors.

                                      Thank you all @Sebastian-Roth @Trev-lchs @rodluz for the help

                                      I’m having another problem now, but I think its best to use another topic for this.

                                      1 Reply Last reply Reply Quote 0
                                      • S
                                        Sebastian Roth Moderator
                                        last edited by

                                        @fabiano-matos said in Cannot install a CA Certificate:

                                        I didn’t known the location of this log.

                                        You are welcome. This was missing in our documentation (like many other things). I just updated the docs: https://docs.fogproject.org/en/latest/getting_started/install_fog_client.html#installer-issue

                                        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

                                        T 1 Reply Last reply Reply Quote 0
                                        • T
                                          Trev-lchs @Sebastian Roth
                                          last edited by

                                          @sebastian-roth Thanks Sebastian, great that its all good now and another great bit of info on here…

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

                                          161

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project