Many computers are failing loginscripts periodically -- like 80% of the time they wont work. the other 20%, they're fine. These scripts worked fine for the first 6 months we were using them. Only recently having an issue (maybe related to an update we did last month?)
I've re-enrolled the computers, and they download certs, and everything enrolls properly.
This only affects login scripts -- log out scripts are working fine.
I've re-created the policys that apply the script, and done some blank pushes.
This is what the jamf.log shows:
Thu Feb 11 11:56:17 dmlmac8 jamf[4295]: Checking for policies triggered by "login" for user "username"...
Thu Feb 11 11:56:19 dmlmac8 jamf[4295]:
There was an error.
The jamf binary could not connect to the JSS because the web certificate is not trusted.
On the same computer when i test the jssconnection, I get this:
$ /usr/local/bin/jamf checkJSSConnection
Checking availability of https://jss.*:8443/...
The JSS is available.
so it can connect to the jss regularly, just not during the login event? what am I missing?