Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

MDM - OS X machine cannot install mdm_profile

Good morning,

I have been tasked to set up a MDM server for my company. I have a new Mac Mini with OS X 10.10.4 and OS X Server 4.1.3. All updates have been installed.


I have configured Open Directory and created a few Local Network users.

I have configured Profile Manager, installed a self signed certificate we use for the whole domain (*.company.com).

I have generated and installed the OD Intermetidate CA and Code Signing certificates.

I have generated and installed the Apple Push Notification certificate.


My OS X machines are able to connect to profile manager from the internet. After logging in they are presented with the mydevices page. Clicking on Enrol begins the installation of two profiles. The first (Trust Profile) installs fine. The second (MDM Device Management/Remote Management) profile tries to install but always results in the following error:


Profile installation failed.

Unable to contact the SCEP server at “http://mdm.company.com:1640/scep/”.


Port 1640 is open on my firewall.


I've spent 2 days Googling and have found nothing relevant.


This server sits behind Nginx which appears to be configured correctly. i.e. http://mdm.company.com has it's URL rewritten to https://mdm.company.com.

When I point a browser at http://mdm.company.com:1640/scep results in a timeout. The same is true for https://mdm.company.com:1640/scep.

If I remove the port number from the URL I get a 403 (forbidden) message.


All I see in scep_helper.log are lots of these messages:

0:: [957] [2015/07/28 13:08:30.199] getSCEPURL: hostname = '127.0.0.1', urlString = 'http://127.0.0.1:1640/scep/'


I've spent far too long working on this problem. I'm sure it's something simple but I'm not very familiar with Apple products which is a hinderance.


Any help is appreciated.


Regards


Rob

Mac mini, OS X Server, MDM

Posted on Jul 29, 2015 1:53 AM

Reply
2 replies

Aug 4, 2015 11:48 PM in response to robc76

On the machines you are trying to enroll, can you ping the server using the server address? You can use the network utility located in System/Library/CoreServices/Applications/Network Utility.app in Yosemite.

In the Lookup tab enter the IP, it should return w/ IP# pointing to the server address then if you enter the server address, it should point to the server IP. If you get an error then you probably have to check your server DNS settings.


If not a DNS issue then try binding to the server first. To bind, go to system preferences > users & groups. Select Login options then click join, enter server address. Try enrolling again.

You can also try Opera instead of Safari web browser to enroll.

MDM - OS X machine cannot install mdm_profile

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.