Below is some detail on what has caused these new sync errors & how to resolve.
So, these errors appeared in the Jamf Pro UI as shown at the top of this post.
This the same same UI that was presented with the recent Terms & Conditions update.
However, logging into an affected deployments ABM/ASM did not offer any new Terms & Conditions, the logs were not showing the same errors & re-uploading the DEP token would either not work or not resolve the issue.
Digging into the logs, each affected deployment showed the following in it’s Jamf Pro’s logs:
[ERROR] [duledPool-6] [eEnrollmentProgramRequest] - javax.net.ssl.SSLHandshakeException: Received fatal alert: decode_error
After reaching out to various Slack channels yesterday & today, it became clear that numerous folks were impacted by this issue & it was not just us or an issue with our hosting.
The discovery of this was compounded by the fact that you might only be affected for a short while before everything synced correctly &, with a recent Jamf Pro update, the sync changed to an automatic every 5 minute activity with no option to manually trigger a sync in the UI.
Once some people started to come forward about being affected, we all traced back the initial entry for the “decode_error” to 26/09/19.
This then assumed that the issue was upstream & not caused by any updates as the folks that were affected had all updated Jamf Pro & differing times & none on 26/09/19.
Digging deeper, Jamf Cloud did not appear to be affected here.
Jamf Cloud uses Amazon Corretto for Java. Where all affected had been using OpenJDK, however as typing this some Amazon Corretto users found they were impacted by the issue
Presuming this was a Java issue, the logs messages, & reaching out to Jamf Support lead me to:
All of which pretty much advise to disable TLS 1.3.
So, disabling TLS 1.3 is what’s needed.
As such, you’ll need to add the below to either CATALINA_OPTS or JAVA_OPTS on your Jamf Pro host.
This will likely be the file which you’ve set Tomcats memory, & if you have a clustered Jamf Pro setup only the Master Web Application will need this amendment as it’s the one which performs the DEP Device Monitor checks:
Once inplace, you’ll need to restart Tomcat.
After which the DEP Sync error should go from the UI, no “decode_error” should show in the logs & all should be well.
However, as of OpenJDK 11.0.5 there will be a fix in place to disable TLS 1.3 & therefore not need this change to the OPTS.
The issue here is, OpenJDK 11.0.5 is not scheduled for released until 15/10/19 & then any forks will need to add the change afterwards.
So, what happened?
I can only guess that some one or more hosts in the CDN that is used for DEP has a bad TLS config, & that this config went bad on 26/09/19.
Jamf have this logged as PI-007508 & have raised a ticket with Apple, so maybe something here will come to light down the line.
Many thanks to those that helped diagnose this on Slack & the folks at Jamf for their support with this issue.