"NSURLErrorDomain - 1012" when enrolling devices with Apple Configurator
When enrolling a new device to SimpleMDM using Apple Configurator software, you may receive the following error on the device during enrollment:
The configuration for your [device] could not be downloaded from [company name]
The operation couldn't be completed. (NSURLErrorDomain error -1012.)
This error sometimes occurs because Apple Configurator has cached an expired certificate.
To resolve the issue, complete the following steps within Apple Configurator:
- Click the "Apple Configurator" file menu and select the "Preferences" option.
- Click the "Servers" tab.
- Select any SimpleMDM servers and delete them by clicking the "-" button at the bottom of the window.
- Attempt to re-enroll your device. Select the device in Apple Configurator, click "Prepare" and follow the prompts. When asked to, configure a new MDM server.
This process will cause Apple Configurator to fetch the latest SimpleMDM certificates and may resolve the error.