Fresh FOG installation and no Client detected


  • Hello Mates.
    Im trying to test FOG to make it in production, but after installing server i just wanna to see if i can do SNAPIN instalation. So i did read wiki - How to deploy agent “no big deal”? Well after installing FOG.MSI on endpoint -> enabling FOG SERVICE, I cant see anything at Managment Console -> Hosts. So ive checked logs. There is some problems with authentication:

    22.01.2021 10:25:54 Client-Info Version: 0.12.0
    22.01.2021 10:25:54 Client-Info OS: Windows
    22.01.2021 10:25:54 Middleware::Authentication Waiting for authentication timeout to pass
    22.01.2021 10:25:54 Middleware::Communication Download: http://192.168.205.132/fog/management/other/ssl/srvpublic.crt
    22.01.2021 10:25:54 Middleware::Communication ERROR: Could not download file
    22.01.2021 10:25:54 Middleware::Communication ERROR: Communication ERROR: Request Aborted: Unable to create SSL / TLS secure channel.

    I have also checked FGQ “fogdeployment.domain.com” -> same result.
    Ive check if i can download above cert -> yes no problem.
    Ive check Cert, CN -> there is IP and FQDN. So both are possible to use 😉

    During agent installation i didint check “use Https” -> Wiki says that its not needed cuz its already encrypted.

    Thank you for your help 😉

  • Senior Developer

    @klisza1993 said in Fresh FOG installation and no Client detected:

    Middleware::Communication ERROR: Communication ERROR: Request Aborted: Unable to create SSL / TLS secure channel.

    I have never seen this error before and I am not sure where it might come from yet. In your first post you said you didn’t enable HTTPS when running the installer but you later post says you are using HTTPS as well. So I would imagine that a request to the HTTP URL is being redirected to HTTPS (default when you enable HTTPS with the installer) and the error stems from an issue with the server certificate.

    Did you manually change the webserver configuration?

    During troubleshooting, what i have discoverd, tah i can get communication with Server pasting this link into browser.:
    https://192.168.205.132//fog/service/register.php?hostname=rk-test&mac=D6:C8:93:84:8B:24&newService&json
    From my poinf of view its NOT SECURE.

    Surely not ideal but you need to consider that FOG is not a secure product. Very few people help working on the code to find and fix bugs. You are more than welcome to join the force and get this out of the way.


  • During troubleshooting, what i have discoverd, tah i can get communication with Server pasting this link into browser.:
    https://192.168.205.132//fog/service/register.php?hostname=rk-test&mac=D6:C8:93:84:8B:24&newService&json
    From my poinf of view its NOT SECURE.
    I did try this via HTTPS and http if using https then im getting cert warning which is Ok 😉 And then in console i can se the device withiot installing any client ^^
    I can modyfi that link changing MAC, Hostname and paste it every time. Result ? Every paste -> new device 🐶 all without client installed.

    It looks like XSS 😉

    Thank you for your help 😉

338
Online

8.8k
Users

15.5k
Topics

144.5k
Posts