Authentication
-
@user4000 what do you see when you visit the link? http://10.5.2.0/fog/management/other/ssl/srvpublic.crt copy/paste the link from the logs into a browser. You should see a copy of the server’s public certificate.
-
Should I install the certificate on the server or the client machine?
-
@user4000 said in Authentication:
Should I install the certificate on the server or the client machine?
The certificate should already be on the server. If it’s not, that’s a problem. Can you not see the certificate using the URL in the logs? If not, go check on the server itself via CLI, issue this command to view it:
cat /var/www/html/fog/management/other/ssl/srvpublic.crt
If that’s there, check permissions next. They should be www-data:www-data and 544.The FOG Client pins the server’s certificate to the operating system at installation. If there’s some issue with that pinning process, we need to explore that. But from the sounds of it, your problem is that the cert on the server isn’t accessible or not there for whatever reasons.
-
@Wayne-Workman I see the certificate, but what do you mean by “check permissions next. They should be www-data:www-data and 544.” ? I’m a newbie linux user.
-
@user4000 said in Authentication:
The IP is not the issue. I just changed the numbers for the post.
tell this when posting, what a trap
-
Since the certificate displays via a browser, the server is not the issue.
Do other clients work on other boxes?
I think something is going on with that particular host - or the path between the host and the server (like a firewall or proxy or duplicate IP or something). Can you view the certificate from the client that is having problems? Also, simply try uninstalling the client and reinstalling ? It’s also possible that the FOG server’s IP has a duplicate IP somewhere on the network.
-
Is the IP address really 10.5.2.127 for your fog server?
It really seems to be unable to communicate to the server. (So a browser you likely are typing the information needed properly, but the client is trying to a different server (which may or may not exist))
-
Hi,
I’m still having the same authentication/certificate issues. I’m not sure if the question has already been answered in another post.
Since my last post, I have upgraded to the most recent fog/client and redid my windows 10 image.
Please advise.
-
@user4000 Please post the most recent client logs!
-
9/27/2017 2:07 PM Main Overriding exception handling 9/27/2017 2:07 PM Main Bootstrapping Zazzles 9/27/2017 2:07 PM Controller Initialize 9/27/2017 2:07 PM Controller Start 9/27/2017 2:07 PM Service Starting service 9/27/2017 2:07 PM Bus Became bus server 9/27/2017 2:07 PM Bus Emmiting message on channel: Status 9/27/2017 2:07 PM Service Invoking early JIT compilation on needed binaries ------------------------------------------------------------------------------ --------------------------------Authentication-------------------------------- ------------------------------------------------------------------------------ 9/27/2017 2:07 PM Client-Info Version: 0.11.12 9/27/2017 2:07 PM Client-Info OS: Windows 9/27/2017 2:07 PM Middleware::Authentication Waiting for authentication timeout to pass 9/27/2017 2:07 PM Middleware::Communication Download: http://10.5.2.127/fog/management/other/ssl/srvpublic.crt 9/27/2017 2:07 PM Middleware::Communication ERROR: Could not download file 9/27/2017 2:07 PM Middleware::Communication ERROR: Unable to connect to the remote server 9/27/2017 2:07 PM Middleware::Authentication ERROR: Could not authenticate 9/27/2017 2:07 PM Middleware::Authentication ERROR: The system cannot find the file specified. ------------------------------------------------------------------------------ --------------------------------Authentication-------------------------------- ------------------------------------------------------------------------------ 9/27/2017 2:07 PM Client-Info Version: 0.11.12 9/27/2017 2:07 PM Client-Info OS: Windows 9/27/2017 2:07 PM Middleware::Authentication Waiting for authentication timeout to pass 9/27/2017 2:09 PM Controller Stop 9/27/2017 2:09 PM Service Stop requested 9/27/2017 2:09 PM Middleware::Authentication ERROR: Could not authenticate 9/27/2017 2:09 PM Middleware::Authentication ERROR: Thread was being aborted. 9/27/2017 2:09 PM Bus Emmiting message on channel: Status 10/4/2017 3:40 PM Main Overriding exception handling 10/4/2017 3:40 PM Main Bootstrapping Zazzles 10/4/2017 3:40 PM Controller Initialize 10/4/2017 3:40 PM Controller Start 10/4/2017 3:40 PM Service Starting service 10/4/2017 3:40 PM Bus Became bus server 10/4/2017 3:40 PM Bus Emmiting message on channel: Status 10/4/2017 3:40 PM Service Invoking early JIT compilation on needed binaries ------------------------------------------------------------------------------ --------------------------------Authentication-------------------------------- ------------------------------------------------------------------------------ 10/4/2017 3:40 PM Client-Info Version: 0.11.12 10/4/2017 3:40 PM Client-Info OS: Windows 10/4/2017 3:40 PM Middleware::Authentication Waiting for authentication timeout to pass 10/4/2017 3:40 PM Middleware::Communication Download: http://10.5.2.127/fog/management/other/ssl/srvpublic.crt 10/4/2017 3:40 PM Middleware::Communication ERROR: Could not download file 10/4/2017 3:40 PM Middleware::Communication ERROR: Unable to connect to the remote server 10/4/2017 3:40 PM Middleware::Authentication ERROR: Could not authenticate 10/4/2017 3:40 PM Middleware::Authentication ERROR: The system cannot find the file specified. ------------------------------------------------------------------------------ --------------------------------Authentication-------------------------------- ------------------------------------------------------------------------------ 10/4/2017 3:40 PM Client-Info Version: 0.11.12 10/4/2017 3:40 PM Client-Info OS: Windows 10/4/2017 3:40 PM Middleware::Authentication Waiting for authentication timeout to pass 10/4/2017 3:42 PM Middleware::Communication Download: http://10.5.2.127/fog/management/other/ssl/srvpublic.crt 10/4/2017 3:42 PM Data::RSA FOG Server CA cert found 10/4/2017 3:42 PM Middleware::Authentication Cert OK 10/4/2017 3:42 PM Middleware::Authentication ERROR: Could not get security token 10/4/2017 3:42 PM Middleware::Authentication ERROR: Could not find file 'C:\Program Files (x86)\FOG\token.dat'. 10/4/2017 3:42 PM Middleware::Communication POST URL: http://10.5.2.127/fog/management/index.php?sub=requestClientInfo&authorize&newService 10/4/2017 3:42 PM Middleware::Response Success 10/4/2017 3:42 PM Middleware::Authentication Authenticated 10/4/2017 3:42 PM Middleware::Communication URL: http://10.5.2.127/fog/management/index.php?sub=requestClientInfo&configure&newService&json 10/4/2017 3:42 PM Middleware::Response Success 10/4/2017 3:42 PM Middleware::Communication URL: http://10.5.2.127/fog/management/index.php?.**.........**...hidden**** 10/4/2017 3:42 PM Middleware::Response Success 10/4/2017 3:42 PM Middleware::Communication URL: http://10.5.2.127/fog/service/getversion.php?clientver&newService&json 10/4/2017 3:42 PM Middleware::Communication URL: http://10.5.2.127/fog/service/getversion.php?newService&json 10/4/2017 3:42 PM Service Creating user agent cache 10/4/2017 3:42 PM Middleware::Response Invalid time 10/4/2017 3:42 PM Middleware::Response No Printers 10/4/2017 3:42 PM Middleware::Response Module is disabled globally on the FOG server 10/4/2017 3:42 PM Service Initializing modules ------------------------------------------------------------------------------ ---------------------------------ClientUpdater-------------------------------- ------------------------------------------------------------------------------ 10/4/2017 3:42 PM Client-Info Client Version: 0.11.12 10/4/2017 3:42 PM Client-Info Client OS: Windows 10/4/2017 3:42 PM Client-Info Server Version: 1.5.0-RC-9 10/4/2017 3:42 PM Middleware::Response Success ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ ----------------------------------TaskReboot---------------------------------- ------------------------------------------------------------------------------ 10/4/2017 3:42 PM Client-Info Client Version: 0.11.12 10/4/2017 3:42 PM Client-Info Client OS: Windows 10/4/2017 3:42 PM Client-Info Server Version: 1.5.0-RC-9 10/4/2017 3:42 PM Middleware::Response Success ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ --------------------------------HostnameChanger------------------------------- ------------------------------------------------------------------------------ 10/4/2017 3:42 PM Client-Info Client Version: 0.11.12 10/4/2017 3:42 PM Client-Info Client OS: Windows 10/4/2017 3:42 PM Client-Info Server Version: 1.5.0-RC-9 10/4/2017 3:42 PM Middleware::Response Success 10/4/2017 3:42 PM HostnameChanger Users still logged in and enforce is disabled, delaying any further actions ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ ---------------------------------SnapinClient--------------------------------- ------------------------------------------------------------------------------ 10/4/2017 3:42 PM Client-Info Client Version: 0.11.12 10/4/2017 3:42 PM Client-Info Client OS: Windows 10/4/2017 3:42 PM Client-Info Server Version: 1.5.0-RC-9 10/4/2017 3:42 PM Middleware::Response No snapins ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ --------------------------------PrinterManager-------------------------------- ------------------------------------------------------------------------------ 10/4/2017 3:42 PM Client-Info Client Version: 0.11.12 10/4/2017 3:42 PM Client-Info Client OS: Windows 10/4/2017 3:42 PM Client-Info Server Version: 1.5.0-RC-9 10/4/2017 3:42 PM Middleware::Response No Printers ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ --------------------------------PowerManagement------------------------------- ------------------------------------------------------------------------------ 10/4/2017 3:42 PM Client-Info Client Version: 0.11.12 10/4/2017 3:42 PM Client-Info Client OS: Windows 10/4/2017 3:42 PM Client-Info Server Version: 1.5.0-RC-9 10/4/2017 3:42 PM Middleware::Response Success 10/4/2017 3:42 PM PowerManagement Calculating tasks to unschedule 10/4/2017 3:42 PM PowerManagement Calculating tasks to schedule ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ ----------------------------------UserTracker--------------------------------- ------------------------------------------------------------------------------ 10/4/2017 3:42 PM Client-Info Client Version: 0.11.12 10/4/2017 3:42 PM Client-Info Client OS: Windows 10/4/2017 3:42 PM Client-Info Server Version: 1.5.0-RC-9 10/4/2017 3:42 PM Middleware::Response Success 10/4/2017 3:42 PM Middleware::Communication URL: http://10.5.2.127/fog/service/usertracking.report.php?..................hidden ------------------------------------------------------------------------------ 10/4/2017 3:42 PM Service Sleeping for 98 seconds 10/4/2017 3:42 PM Main Overriding exception handling 10/4/2017 3:42 PM Main Bootstrapping Zazzles 10/4/2017 3:42 PM Controller Initialize 10/4/2017 3:42 PM Controller Start 10/4/2017 3:42 PM Service Starting service 10/4/2017 3:42 PM Bus Became bus server 10/4/2017 3:42 PM Bus Emmiting message on channel: Status 10/4/2017 3:42 PM Service Invoking early JIT compilation on needed binaries ------------------------------------------------------------------------------ --------------------------------Authentication-------------------------------- ------------------------------------------------------------------------------ 10/4/2017 3:42 PM Client-Info Version: 0.11.12 10/4/2017 3:42 PM Client-Info OS: Windows 10/4/2017 3:42 PM Middleware::Authentication Waiting for authentication timeout to pass 10/4/2017 3:42 PM Middleware::Communication Download: http://10.5.2.127/fog/management/other/ssl/srvpublic.crt 10/4/2017 3:42 PM Middleware::Communication ERROR: Could not download file 10/4/2017 3:42 PM Middleware::Communication ERROR: Unable to connect to the remote server 10/4/2017 3:42 PM Middleware::Authentication ERROR: Could not authenticate 10/4/2017 3:42 PM Middleware::Authentication ERROR: The system cannot find the file specified. ------------------------------------------------------------------------------ --------------------------------Authentication-------------------------------- ------------------------------------------------------------------------------ 10/4/2017 3:42 PM Client-Info Version: 0.11.12 10/4/2017 3:42 PM Client-Info OS: Windows 10/4/2017 3:42 PM Middleware::Authentication Waiting for authentication timeout to pass 10/4/2017 3:43 PM Main Overriding exception handling 10/4/2017 3:43 PM Main Bootstrapping Zazzles 10/4/2017 3:43 PM Controller Initialize 10/4/2017 3:43 PM Controller Start 10/4/2017 3:43 PM Service Starting service 10/4/2017 3:43 PM Bus Became bus server 10/4/2017 3:43 PM Bus Emmiting message on channel: Status 10/4/2017 3:43 PM Service Invoking early JIT compilation on needed binaries ------------------------------------------------------------------------------ --------------------------------Authentication-------------------------------- ------------------------------------------------------------------------------ 10/4/2017 3:43 PM Client-Info Version: 0.11.12 10/4/2017 3:43 PM Client-Info OS: Windows 10/4/2017 3:43 PM Middleware::Authentication Waiting for authentication timeout to pass 10/4/2017 3:43 PM Middleware::Communication Download: http://10.5.2.127/fog/management/other/ssl/srvpublic.crt 10/4/2017 3:43 PM Middleware::Communication ERROR: Could not download file 10/4/2017 3:43 PM Middleware::Communication ERROR: Unable to connect to the remote server 10/4/2017 3:43 PM Middleware::Authentication ERROR: Could not authenticate 10/4/2017 3:43 PM Middleware::Authentication ERROR: The system cannot find the file specified. ------------------------------------------------------------------------------ --------------------------------Authentication-------------------------------- ------------------------------------------------------------------------------ 10/4/2017 3:43 PM Client-Info Version: 0.11.12 10/4/2017 3:43 PM Client-Info OS: Windows 10/4/2017 3:43 PM Middleware::Authentication Waiting for authentication timeout to pass 10/4/2017 3:45 PM Main Overriding exception handling 10/4/2017 3:45 PM Main Bootstrapping Zazzles 10/4/2017 3:45 PM Controller Initialize 10/4/2017 3:45 PM Controller Start 10/4/2017 3:45 PM Service Starting service 10/4/2017 3:45 PM Bus Became bus server 10/4/2017 3:45 PM Bus Emmiting message on channel: Status 10/4/2017 3:45 PM Service Invoking early JIT compilation on needed binaries ------------------------------------------------------------------------------ --------------------------------Authentication-------------------------------- ------------------------------------------------------------------------------ 10/4/2017 3:45 PM Client-Info Version: 0.11.12 10/4/2017 3:45 PM Client-Info OS: Windows 10/4/2017 3:45 PM Middleware::Authentication Waiting for authentication timeout to pass 10/4/2017 3:45 PM Middleware::Communication Download: http://10.5.2.127/fog/management/other/ssl/srvpublic.crt 10/4/2017 3:45 PM Middleware::Communication ERROR: Could not download file 10/4/2017 3:45 PM Middleware::Communication ERROR: Unable to connect to the remote server 10/4/2017 3:45 PM Middleware::Authentication ERROR: Could not authenticate 10/4/2017 3:45 PM Middleware::Authentication ERROR: The system cannot find the file specified. ------------------------------------------------------------------------------ --------------------------------Authentication-------------------------------- ------------------------------------------------------------------------------ 10/4/2017 3:45 PM Client-Info Version: 0.11.12 10/4/2017 3:45 PM Client-Info OS: Windows 10/4/2017 3:45 PM Middleware::Authentication Waiting for authentication timeout to pass 10/4/2017 3:47 PM Middleware::Communication Download: http://10.5.2.127/fog/management/other/ssl/srvpublic.crt 10/4/2017 3:47 PM Data::RSA FOG Server CA cert found 10/4/2017 3:47 PM Middleware::Authentication Cert OK 10/4/2017 3:47 PM Middleware::Communication POST URL: http://10.5.2.127/fog/management/index.php?sub=requestClientInfo&authorize&newService 10/4/2017 3:47 PM Middleware::Response Success 10/4/2017 3:47 PM Middleware::Authentication Authenticated 10/4/2017 3:47 PM Middleware::Communication URL: http://10.5.2.127/fog/management/index.php?sub=requestClientInfo&configure&newService&json 10/4/2017 3:47 PM Middleware::Response Success 10/4/2017 3:47 PM Middleware::Communication URL: http://10.5.2.127/fog/management/index.php?..........**...hidden** 10/4/2017 3:48 PM Middleware::Response Success 10/4/2017 3:48 PM Middleware::Communication URL: http://10.5.2.127/fog/service/getversion.php?clientver&newService&json 10/4/2017 3:48 PM Middleware::Communication URL: http://10.5.2.127/fog/service/getversion.php?newService&json 10/4/2017 3:48 PM Service Creating user agent cache 10/4/2017 3:48 PM Middleware::Response Invalid time 10/4/2017 3:48 PM Middleware::Response No Printers 10/4/2017 3:48 PM Middleware::Response Module is disabled globally on the FOG server 10/4/2017 3:48 PM Service Initializing modules ------------------------------------------------------------------------------ ---------------------------------ClientUpdater-------------------------------- ------------------------------------------------------------------------------ 10/4/2017 3:48 PM Client-Info Client Version: 0.11.12 10/4/2017 3:48 PM Client-Info Client OS: Windows 10/4/2017 3:48 PM Client-Info Server Version: 1.5.0-RC-9 10/4/2017 3:48 PM Middleware::Response Success ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ ----------------------------------TaskReboot---------------------------------- ------------------------------------------------------------------------------ 10/4/2017 3:48 PM Client-Info Client Version: 0.11.12 10/4/2017 3:48 PM Client-Info Client OS: Windows 10/4/2017 3:48 PM Client-Info Server Version: 1.5.0-RC-9 10/4/2017 3:48 PM Middleware::Response Success ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ --------------------------------HostnameChanger------------------------------- ------------------------------------------------------------------------------ 10/4/2017 3:48 PM Client-Info Client Version: 0.11.12 10/4/2017 3:48 PM Client-Info Client OS: Windows 10/4/2017 3:48 PM Client-Info Server Version: 1.5.0-RC-9 10/4/2017 3:48 PM Middleware::Response Success 10/4/2017 3:48 PM HostnameChanger Users still logged in and enforce is disabled, delaying any further actions ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ ---------------------------------SnapinClient--------------------------------- ------------------------------------------------------------------------------ 10/4/2017 3:48 PM Client-Info Client Version: 0.11.12 10/4/2017 3:48 PM Client-Info Client OS: Windows 10/4/2017 3:48 PM Client-Info Server Version: 1.5.0-RC-9 10/4/2017 3:48 PM Middleware::Response No snapins ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ --------------------------------PrinterManager-------------------------------- ------------------------------------------------------------------------------ 10/4/2017 3:48 PM Client-Info Client Version: 0.11.12 10/4/2017 3:48 PM Client-Info Client OS: Windows 10/4/2017 3:48 PM Client-Info Server Version: 1.5.0-RC-9 10/4/2017 3:48 PM Middleware::Response No Printers ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ --------------------------------PowerManagement------------------------------- ------------------------------------------------------------------------------ 10/4/2017 3:48 PM Client-Info Client Version: 0.11.12 10/4/2017 3:48 PM Client-Info Client OS: Windows 10/4/2017 3:48 PM Client-Info Server Version: 1.5.0-RC-9 10/4/2017 3:48 PM Middleware::Response Success 10/4/2017 3:48 PM PowerManagement Calculating tasks to unschedule 10/4/2017 3:48 PM PowerManagement Calculating tasks to schedule ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ ----------------------------------UserTracker--------------------------------- ------------------------------------------------------------------------------ 10/4/2017 3:48 PM Client-Info Client Version: 0.11.12 10/4/2017 3:48 PM Client-Info Client OS: Windows 10/4/2017 3:48 PM Client-Info Server Version: 1.5.0-RC-9 10/4/2017 3:48 PM Middleware::Response Success 10/4/2017 3:48 PM Middleware::Communication URL: http://10.5.2.127/fog/service/usertracking.report.php?................**.......Hidden** ------------------------------------------------------------------------------ 10/4/2017 3:48 PM Service Sleeping for 112 seconds 10/5/2017 9:25 AM Main Overriding exception handling 10/5/2017 9:25 AM Main Bootstrapping Zazzles 10/5/2017 9:25 AM Controller Initialize 10/5/2017 9:25 AM Controller Start 10/5/2017 9:25 AM Service Starting service 10/5/2017 9:25 AM Bus Became bus server 10/5/2017 9:25 AM Bus Emmiting message on channel: Status 10/5/2017 9:25 AM Service Invoking early JIT compilation on needed binaries ------------------------------------------------------------------------------ --------------------------------Authentication-------------------------------- ------------------------------------------------------------------------------ 10/5/2017 9:25 AM Client-Info Version: 0.11.12 10/5/2017 9:25 AM Client-Info OS: Windows 10/5/2017 9:25 AM Middleware::Authentication Waiting for authentication timeout to pass 10/5/2017 9:25 AM Middleware::Communication Download: http://10.5.2.127/fog/management/other/ssl/srvpublic.crt 10/5/2017 9:25 AM Middleware::Communication ERROR: Could not download file 10/5/2017 9:25 AM Middleware::Communication ERROR: Unable to connect to the remote server 10/5/2017 9:25 AM Middleware::Authentication ERROR: Could not authenticate 10/5/2017 9:25 AM Middleware::Authentication ERROR: The system cannot find the file specified. ------------------------------------------------------------------------------ --------------------------------Authentication-------------------------------- ------------------------------------------------------------------------------ 10/5/2017 9:25 AM Client-Info Version: 0.11.12 10/5/2017 9:25 AM Client-Info OS: Windows 10/5/2017 9:25 AM Middleware::Authentication Waiting for authentication timeout to pass
-
@user4000 said in Authentication:
10/4/2017 3:40 PM Middleware::Communication Download: http://10.5.2.127/fog/management/other/ssl/srvpublic.crt
10/4/2017 3:40 PM Middleware::Communication ERROR: Could not download file
…
10/4/2017 3:42 PM Middleware::Communication Download: http://10.5.2.127/fog/management/other/ssl/srvpublic.crt
10/4/2017 3:42 PM Data::RSA FOG Server CA cert foundSo on 3:40 PM downloading the cert from the FOG server did not work but it went all fine just two minutes later. So I guess there is something wrong with your network there. Did you ever try downloading the cert (http://10.5.2.127/fog/management/other/ssl/srvpublic.crt) from exactly that machine having the fog-client issue? Please try several times in a row and see if you can always fully download the cert.
From the logs it does not look like a general fog-client issue. Maybe also check the apache webserver logs (see my signature on where to find those) and see if you can match up an error message in those logs with the timestamps of your client log…
-
I changed the NIC speed from 1Gbps to 100mbps and it worked. I’m assuming the cat6 wasn’t punched down correctly?
Any other help would be appreciated.Thank you
-
@user4000 To me it sounds like you hit the nail on the head. Flacky network connection would likely cause such an issue…
See if you want to invest a little money and buy a tester device called Pockethernet. It does a great job but is way less expensive than professional networt test equipment.