Problems installing Fog client in OSX


  • I’m following the directions at https://wiki.fogproject.org/wiki/index.php?title=FOG_Client for how to install SmartInstaller.exe under OSX, but I don’t seem to be having much success.

    If I understand what’s going on in the listing below, the fog client is unable to talk to the server. At one point during the installation procedure I saw a message about not being able to get the CA Certificate. According to https://wiki.fogproject.org/HTTPS#Custom_CA_and_certificates this certificate is located on the server in /var/www/html/fog/management/other/ca.cert.pem. I’ve added it to KeyChain on the Mac.

    I don’t seem to be getting anywhere, though. Can someone please point me in the right direction?

    ----------------------------------UserTracker---
     8/25/2021 4:18:35 PM Client-Info Client Version: 0.12.0
     8/25/2021 4:18:35 PM Client-Info Client OS:      Mac
     8/25/2021 4:18:35 PM Client-Info Server Version: 
     8/25/2021 4:18:35 PM Middleware::Response ERROR: Unable to get subsection
     8/25/2021 4:18:35 PM Middleware::Response ERROR: Object reference not set to an instance of an object
     8/25/2021 4:18:35 PM Service Sleeping for 60 seconds
     8/25/2021 4:19:35 PM Middleware::Communication URL: https://fog.xxx.privat/fog/management/index.php?sub=requestClientInfo&configure&newService&json
     8/25/2021 4:19:35 PM Middleware::Communication ERROR: Could not contact FOG server
     8/25/2021 4:19:35 PM Middleware::Communication ERROR: Error: TrustFailure (Operation is not supported on this platform.)
     8/25/2021 4:19:35 PM Middleware::Response Success
     8/25/2021 4:19:35 PM Service ERROR: Invalid promptTime, using default
     8/25/2021 4:19:35 PM Middleware::Communication URL: https://fog.xxx.privat/fog/management/index.php?sub=requestClientInfo&mac=0C:4D:E9:AE:75:DB|A8:86:DD:B2:DE:77|82:0D:43:C3:6D:00|28:0B:5C:FF:FE:0F:0D:B4|82:0D:43:C3:6D:00|0A:86:DD:B2:DE:77|AA:91:E9:DE:D1:3C&newService&json
     8/25/2021 4:19:35 PM Middleware::Communication ERROR: Could not contact FOG server
     8/25/2021 4:19:35 PM Middleware::Communication ERROR: Error: TrustFailure (Operation is not supported on this platform.)
     8/25/2021 4:19:35 PM Middleware::Response Success
     8/25/2021 4:19:35 PM Middleware::Communication URL: https://fog.xxx.privat/fog/service/getversion.php?clientver&newService&json
     8/25/2021 4:19:35 PM Service ERROR: Unable to get cycle data
     8/25/2021 4:19:35 PM Service ERROR: Error: TrustFailure (Operation is not supported on this platform.)
     8/25/2021 4:19:35 PM Middleware::Response Success
    

    Thanks,
    Matthew

  • Senior Developer

    @Matthew-Wyneken I have never tried the fog-client on Mac OS X myself I have to say. It’s been other developers working on this part. Though I am wondering if the instructions given in the wiki are not up to date anymore and if we should update documentation?

    Would you be so kind and let us know what steps you took and what is missing in the documentation?


  • @wayne-workman Thanks for the pointer.

    No, I tried curl and it didn’t work. So I went back and looked at what was in KeyChain Access. It turns out that the CA Certificate was in the user keychain. Once I added it to the system keychain everything worked just fine.


  • @matthew-wyneken Are you using the right address for the fog server during installation? Can you do a curl or wget of the certificate using Terminal on the MacOS system?

271
Online

8.8k
Users

15.5k
Topics

144.4k
Posts