Open iansltx opened 2 days ago
Found while troubleshooting #21317.
Turns out, the issue was specific to downloading the config file in-browser due to a misconfigured HTTP getter function that was attempting to parse the download as JSON prior to saving. Fixing that fixes this issue.
QA Notes:
Confirmed the fix works and I'm able to manually enroll a host after installing fleetd then downloading and installing the enrollment profile.
I also retested the change that originally introduced the issue and validated it still worked on the host.
Fleet version: At least
main
💥 Actual behavior
When attempting to install a mobileconfig file downloaded from Fleet for manual MDM enrollment, macOS errors (verified on macOS 14 and 15):
This appears to be a signature related issue; deleting the header and trailer from the XML part of the plist gives me a (unsigned) profile that will apply.
🧑💻 Steps to reproduce
🕯️ More info
See this Slack thread