MacOSX 服務器 - 註冊 (MacOSX Server - Enrollment)


問題描述

MacOSX 服務器 ‑ 註冊 (MacOSX Server ‑ Enrollment)

我在全新安裝 MacOS X Server 時遇到問題。我無法在設備頁面中使用註冊按鈕。錯誤 500。來自服務器的日誌:

0:: [8047] [2015/11/16 18:14:01.678] <85.93.120.195> Completed in 253ms | 500 Internal Server Error  [https://osx.bcas.cz/devicemanagement/mdm/mdm_enroll]
1:: [7664] [2015/11/16 18:14:13.432] <85.93.120.195> Time since script start: 8525us [https://osx.bcas.cz/devicemanagement/mdm/mdm_enroll]
1:: [7664] [2015/11/16 18:14:13.432] <85.93.120.195> >>> Processing POST mdm_enroll
1:: [7664] [2015/11/16 18:14:13.551] <85.93.120.195> iOS version 9.1
1:: [7664] [2015/11/16 18:14:13.561] \033[1;7;31mEXCEPTION:\033[0;31m  Error <‑[SCEPHelper getSCEPRootCertificateForHost:] (/Library/Caches/com.apple.xbs/Sources/RemoteDeviceManagement/RemoteDeviceManagement‑889.8/Compiled/Framework‑Base/Support/SCEPHelper.m:89): "'((SCEPHELPER_GetSCEPRootCertificate(self.connection, hostname, hostnameCnt, &root, &rootCnt)))' error 1">
    USERINFO: {
        NSLocalizedDescription = "Operation not permitted";
    }\033[0m\033[0m
0:: [7664] [2015/11/16 18:14:13.561] do_dmx_get_scep_root_certificate: caught exception ‑[SCEPHelper getSCEPRootCertificateForHost:] (/Library/Caches/com.apple.xbs/Sources/RemoteDeviceManagement/RemoteDeviceManagement‑889.8/Compiled/Framework‑Base/Support/SCEPHelper.m:89): "'((SCEPHELPER_GetSCEPRootCertificate(self.connection, hostname, hostnameCnt, &root, &rootCnt)))' error 1"
0:: [7664] [2015/11/16 18:14:13.561] <85.93.120.195> EXCEPTION: 500 Internal Server Error ‑ Could not retrieve root certificate from open directory server. at
    #0 /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/php/ota_service_common.php(43): DieInternalError('Could not retri...')
    #1 /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/php/mdm_enroll.php(78): GenerateMDMBindingProfile(8191, '6EBF7885‑74A7‑4...')
    #2 {main}
1:: [7664] [2015/11/16 18:14:13.562] <85.93.120.195> <<< Sent Final Output (26 bytes) ‑ POST mdm_enroll
0:: [7664] [2015/11/16 18:14:13.562] <85.93.120.195> Completed in 138ms | 500 Internal Server Error  [https://osx.bcas.cz/devicemanagement/mdm/mdm_enroll]

我嘗試刪除和添加證書,重新啟動服務器應用程序並從谷歌重新啟動服務器和其他人,但沒有任何效果。有人知道嗎?


參考解法

方法 1:

What certificates did you remove? You may need to reset OD. It creates a couple certificates that look like currently don't exist.

EXCEPTION: 500 Internal Server Error ‑ Could not retrieve root certificate from open directory server

(by Vojta BereščákMichael Williams)

參考文件

  1. MacOSX Server ‑ Enrollment (CC BY‑SA 2.5/3.0/4.0)

#objective-c #mdm #osx-server






相關問題

為什麼 NSWindow 或 NSView 實例處理它自己的鍵事件,而不是它的委託? (Why does an NSWindow or NSView instance handle its own key events, and not its delegate?)

在調用之前釋放了 didFinishSelector ASIHTTPRequest 的自定義委託類 (Custom delegate class for didFinishSelector ASIHTTPRequest being deallocated before called)

通過 IKImage 視圖預覽圖像 (Previewg images via IKImage View)

Gaya Jendela Kustom di Kakao (Custom Window Style in Cocoa)

Тонкія белыя лініі дадаюцца пры абрэзцы выявы (Objective-C OSX) (Thin white lines being added when cropping an image (Objective-C OSX))

Obj-C:遞歸:在堆棧上創建新對像或使用可變性 (Obj-C: Recursion: Making new objects on stack or use mutability)

XCode 4.6 顯示方法 + (void)beginAnimations:(NSString *)animationID context:(void *)context; 的內存洩漏警告 (XCode 4.6 shows a warning of memory leak for method + (void)beginAnimations:(NSString *)animationID context:(void *)context;)

單元格中不可見的 UITextField 已將 userInteractionEnabled 設置為 No (UITextField in cell that is not visible has userInteractionEnabled set to No)

Gửi nhật ký sự cố ứng dụng / nhật ký ứng dụng thông thường (Send app crash logs/regular app logs)

我的鍵盤默認值僅在我的應用程序中更改 (My keyboard default be change in only my App)

在復選框上單擊獲取表行 ID - 目標 c (On check box click get the table Row ID - Objective c)

iPhone SDK:檢查 UITableView 中每個對象的 ID 號並相應地更改徽章號 (iPhone SDK: Checking the ID number for each object in a UITableView and change the badge number accordingly)







留言討論