OS X Server: Cannot enroll devices with Profile Manager after changing server's hostname

When using a self-signed certificate, a new certificate must be created to enroll devices with Profile Manager after changing the server's host name.

This article has been archived and is no longer updated by Apple.

To create a new certificate for the new host name:

  1. In Lion Server only: On the server, enable the root user, then log in as root.
  2. Open the server.app.
  3. In Lion only: Sign in as the System Administrator (root) user.
  4. Go into the Settings for this server via the Hardware section.
  5. Next to SSL Certificate, click the Edit... button.
  6. Choose "Manage Certificates..." from the action menu.

 

  1. Choose "Create a Certificate Identity..." from the + menu; this opens Certificate Assistant.

 

  1. In the Name field, enter the server's new host name.
  2. From the Identity Type pop-up menu, choose Leaf.
  3. From the Certificate Type pop-up menu, choose SSL Server.

 

  1. Click Create.
  2. When prompted to Choose An Issuer, select the Intermediate Certificate Authority for the existing Open Directory.
  3. Click Create.
  4. After the certificate is created, click Done.
  5. A prompt will appear requesting permission to export the key for the certificate from the keychain into the Server.app.  Choose Always Allow.

 

  1. In the Server.app, select the new certificate for the web service.  This certificate can be used for other services as desired.

 

  1. For Lion Server only: Log out of the root user, then disable the root user.
  2. Enroll or re-enroll devices with Profile Manager.

Changing a server's host name may adversely affect the services running on the server and the clients that use those services.  Some services may be unavailable or only partially functional after changing the hostname. All devices already enrolled with profile manager will have to be removed from the Profile Manager administration website and then re-enrolled after following the above steps.

Before changing the hostname, consider making a full backup of the server.

Important: Information about products not manufactured by Apple is provided for information purposes only and does not constitute Apple’s recommendation or endorsement. Please contact the vendor for additional information.
Last Modified:
Helpful?

Additional Product Support Information

Start a Discussion

in Apple Support Communities
See all questions on this article See all questions I have asked
United States (English)