Snapin Cert Issues
-
Ubuntu 20.04.3
FOG 1.5.9Just built a new FOG server and storage node.
I can deploy and capture images, but i cannot deploy Snapins.
------------------------------------------------------------------------------ ---------------------------------SnapinClient--------------------------------- ------------------------------------------------------------------------------ 18/01/2022 11:20:40 Client-Info Client Version: 0.12.0 18/01/2022 11:20:40 Client-Info Client OS: Windows 18/01/2022 11:20:40 Client-Info Server Version: 1.5.9 18/01/2022 11:20:40 Middleware::Response Success 18/01/2022 11:20:40 SnapinClient Running snapin AutoCAD 2021 18/01/2022 11:20:40 Middleware::Communication Download: http://x.x.x.x//fog/service/snapins.file.php?mac=EC:B1:D7:49:C9:EE&taskid=19 18/01/2022 11:20:40 Data::RSA FOG Server CA cert found 18/01/2022 11:20:40 Data::RSA ERROR: Certificate validation failed 18/01/2022 11:20:40 Data::RSA ERROR: Trust chain did not complete to the known authority anchor. Errors: The signature of the certificate cannot be verified. (NotSignatureValid) 18/01/2022 11:20:40 Middleware::Communication SSL certificate chain error: A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider. 18/01/2022 11:20:40 Middleware::Communication ERROR: Could not download file 18/01/2022 11:20:40 Middleware::Communication ERROR: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. 18/01/2022 11:20:40 SnapinClient C:\Program Files (x86)\FOG\tmp\AutoCad2021.sfx.exe 18/01/2022 11:20:40 Middleware::Communication URL: https://x.x.x.x/fog/service/snapins.checkin.php?taskid=19&exitcode=-1&mac=EC:B1:D7:49:C9:EE&newService&json
-
@Duncan Please use the fixed fog-client installer we provide on github: https://github.com/FOGProject/fog-client/releases/download/0.12.0/SmartInstaller_fixed-tls.exe
-
Tried that, didnt solve anything.
Ended up redoing Server and Storage node. Now i have new issues…
19/01/2022 14:48:39 Client-Info Version: 0.12.0 19/01/2022 14:48:39 Client-Info OS: Windows 19/01/2022 14:48:39 Middleware::Authentication Waiting for authentication timeout to pass 19/01/2022 14:48:39 Middleware::Communication Download: http://x.x.x.x/fog/management/other/ssl/srvpublic.crt 19/01/2022 14:48:39 Data::RSA FOG Server CA cert found 19/01/2022 14:48:39 Middleware::Authentication Cert OK 19/01/2022 14:48:39 Middleware::Authentication No token found at C:\Program Files (x86)\FOG\token.dat, this is expected if the client has not authenticated before 19/01/2022 14:48:39 Middleware::Authentication ERROR: Could not get security token 19/01/2022 14:48:39 Middleware::Authentication ERROR: Could not find file 'C:\Program Files (x86)\FOG\token.dat'. 19/01/2022 14:48:39 Middleware::Communication POST URL: http://x.x.x.x/fog/management/index.php?sub=requestClientInfo&authorize&newService 19/01/2022 14:48:39 Middleware::Response Private key path not found
-
Tried that, didnt solve anything.
Well, my first assumntion on what was causing this was obviously wrong. Looking at it again now I notice what I missed last time. This seems to be the snapin download only but not a general communication error. My fault, sorry. This could be a known bug which no one yet got to fix: https://github.com/FOGProject/fogproject/issues/371
Ended up redoing Server and Storage node. Now i have new issues…
Hmmm?! Why did you do that? What exactly do you mean by “redoing”? Installed from scratch? Did you migrate the certificates from the old server? Do you have a backup of that old server?
Private key path not found
I think the only time I have seen this error was in the forums back in 2019 and that one never got solved I think: https://forums.fogproject.org/topic/13674/private-key-path-not-found-when-registering-client
-
@sebastian-roth Yeh i wiped the fog server and reinstalled it all using http. not https.
I cleared out the storage node fog settings and then reran the installer.
Im setting it up as new server so didnt bother keeping certs. I then uninstalled the client and reinstalled on windows 10 build.
Im going to rebuild the server one more time, but not add the node and see how it behaves.
Thanks
-
@duncan
removed the storage node and it seems to be working now.Il try to rebuild the node and test again.