You are trying to install an MDM profile to enroll a device and you get an error message "Error in Third Party Certificate".
This mainly occurs due to an error in Third Party Certificate configuration as specified below. It can also occur due to error while installing Secure Gateway.
When you open the server URL (https://nat_address:port_number) on Firefox browser, the corresponding error in certificate will be shown.
Check whether the intermediate chain is configured properly. Also, verify whether the certificate is encrypted (Open the certificate in notepad, it should be readable). If not, you need to follow the steps below to configure intermediate certificate properly, either using automatic or manual download.
Check whether the certificate is accessible in the installation directory (Check whether it has read and write permissions)
Applies to: iOS Enrollment, Device Enrollment, Managing Mobile Devices
Keywords: Enrollment failure, Mobile Device Management, Managing iOS Devices