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

    Cannot install a CA Certificate

    Scheduled Pinned Locked Moved
    FOG Problems
    5
    19
    2.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.
    • 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?

            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

            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 @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

                        187

                        Online

                        12.1k

                        Users

                        17.3k

                        Topics

                        155.4k

                        Posts
                        Copyright © 2012-2024 FOG Project