project-imas / mdm-server

Sample iOS MDM server
601 stars 150 forks source link

Profile installation failed #47

Open pedy711 opened 7 years ago

pedy711 commented 7 years ago

Hi,

when I run the server, I can successfully install the CA certificate, but not the Enroll.mobileconfig file. It says: "Profile installation failed"

Any help would be appreciated.

SyedIsmailAhamed commented 7 years ago

@pedy711 I too have the same issue, were you able to resolve this?

eggeggss commented 7 years ago

what's your python's version?

SyedIsmailAhamed commented 7 years ago

@eggeggss Python version is 2.7.13

binoliMhatre commented 7 years ago

I have the same issue. Waiting for the fix. Please help

pedy711 commented 7 years ago

Try this:

on iPhone go to General > About > Certificate Trust Settings and then enable your CA there.

asadsam commented 6 years ago

I have the same issue, did you guys find any fix? Please update.. thanks

pedy711 commented 6 years ago

My above cm could be one reason that it is not working. Another problem could be your generated certificates.

the7saint7 commented 5 years ago

After digging in the device log to see what is going on, i found this: (which makes the problem obvious, but not obvious to fix)

Cannot install MDM “com.apple.mdm.redacted”. Error: NSError: US Desc: The payload “com.apple.mdm.redacted” could not be installed. US Sugg: The server certificate for “https://10.1.3.23:8080/checkin” is invalid. Domain : MCInstallationErrorDomain Code : 4001 Type : MCFatalError Params : ( "com.apple.mdm.redacted" )