Server 5.11 Profile Manager Admin Site blank/empty

After upgrading Server 5.10 on Catalina to BigSur 11.1 and Server 5.11:

Profile Manager was running as usual, after 3 weeks suddenly the profile manager admin site is not accessible. When calling the server in any browser, the selection between MyDevices and ProfileManager is visible. MyDevices page is working. Profile Manager is asking for login, after filling credentials and sending login only blank page is shown. Sometimes after some time a message is shown „network error“, sometimes nothing happens. In browser console error regarding javascript-packed is shown.

In browsers the correct SSL certificate is shown.

In server logs I see all devices communicate with the MDM.

In Server app reachability for Profile Manager ok, PM running. Button MyDevices working. Button ProfileManager leading to blank page.

Did reinstall MacOS, deleted Server app and reinstalled it several times.

Any help or hint appreciated.

Posted on Jan 7, 2021 1:30 PM

Reply
Question marked as Top-ranking reply

Posted on Mar 11, 2021 10:07 AM

Sorry guys, been very busy. So here is the solution if you are affected after update/renewal of your SSL certificate.

Beware: no guarantee, on your own risk, and you should have backup of course.


1: Find your current used public certificate and its Fingerprint in Server App/Certificates:

In Server App go to Certificates. In „secure services“ dropdown your current public SSL cert should be selected.

In the list of certificates below, find this cert and double click to see the certificate info.

Scroll down all the way to Fingerprints and notice the SHA-1 Hash.


2: Switch back the „secure services“ dropdown to the self signed certificate. Close the server app.


3: Drag the Server.app to the trash bin. Confirm the warnings. Reboot the Mac.


4: Open Terminal and execute:  sudo rm /var/db/.ServerSetupDone 


5: in Finder select menu option „go to folder“: /private/etc/certificates


6: delete the 4 certificate files of your SSL certificate, they are named like:

your.hostname.SHA1-HASH. with endings cert.pem/ key.pem / concat.pem / chain.pem


7: delete the the Alias „default_certificate“ !


8: install Server.App, open it and wait until setup is finished


9: go to Certificates and re-install your public signed SSL certificate, afterwards select it under „secure services“


10: restart profile manager service



the admin page should now work again. good luck everyone.

Similar questions

28 replies

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Server 5.11 Profile Manager Admin Site blank/empty

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