0

我正在尝试通过 IPCU 在设备上安装配置文件,但我不断收到以下错误,我通过 IPCU 控制台恢复了该错误。

Nov  1 17:55:04 iPad mc_mobile_tunnel[1156] <Notice>: (Note ) MC: mc_mobile_tunnel starting.
Nov  1 17:55:04 iPad profiled[1157] <Notice>: (Note ) profiled: Service starting...
Nov  1 17:55:04 iPad profiled[1157] <Notice>: (Note ) MC: Removing profile 2a18cf02251b4682bf56c502d35060441e5bb4dca...
Nov  1 17:55:05 iPad profiled[1157] <Notice>: (Note ) MC: Profile 2a18cf02251b4682bf56c502d35060441e5bb4dca removed.
Nov  1 17:55:05 iPad profiled[1157] <Notice>: (Note ) MC: Removing certificate with persistent ID 636572740000000000000012
Nov  1 17:55:05 iPad mc_mobile_tunnel[1156] <Notice>: (Note ) MC: mc_mobile_tunnel shutting down.
Nov  1 17:55:05 iPad mc_mobile_tunnel[1158] <Notice>: (Note ) MC: mc_mobile_tunnel starting.
Nov  1 17:55:05 iPad mc_mobile_tunnel[1158] <Notice>: (Note ) MC: mc_mobile_tunnel shutting down.
Nov  1 17:55:05 iPad mc_mobile_tunnel[1159] <Notice>: (Note) MC: mc_mobile_tunnel starting.
Nov  1 17:55:05 iPad mc_mobile_tunnel[1159] <Notice>: (Note ) MC: mc_mobile_tunnel shutting down.
Nov  1 17:55:09 iPad mc_mobile_tunnel[1160] <Notice>: (Note ) MC: mc_mobile_tunnel starting.
Nov  1 17:55:09 iPad profiled[1157] <Notice>: (Note ) MC: Profile com.abc.lk queued for installation.
Nov  1 17:55:09 iPad mc_mobile_tunnel[1160] <Notice>: (Note ) MC: mc_mobile_tunnel shutting down.
Nov  1 17:55:18 iPad mc_mobile_tunnel[1163] <Notice>: (Note ) MC: mc_mobile_tunnel starting.
Nov  1 17:55:18 iPad profiled[1157] <Notice>: (Note ) MC: Profile com.abc.lk queued for installation.
Nov  1 17:55:18 iPad mc_mobile_tunnel[1163] <Notice>: (Note ) MC: mc_mobile_tunnel shutting down.
Nov  1 17:55:20 iPad profiled[1157] <Notice>: (Note ) MC: Checking for MDM installation...
Nov  1 17:55:20 iPad profiled[1157] <Notice>: (Note ) MC: ...finished checking for MDM installation.
Nov  1 17:55:20 iPad profiled[1157] <Notice>: (Note ) MC: Beginning profile installation...
Nov  1 17:55:32 iPad profiled[1157] <Notice>: (Error) MC: Connection to https://hostaddress.abc.lk/MDMServer/checkin failed with error: NSError:
Desc   : The server certificate for https://hostaddress.abc.lk/MDMServer/checkin is invalid.
US Desc: The server certificate for https://hostaddress.abc.lk/MDMServer/checkin is invalid.
Domain : MCHTTPTransactionErrorDomain
Code   : 23002
Type   : MCFatalError
Params : (
    "https://hostaddress.abc.lk/MDMServer/checkin"
)
Nov  1 17:55:32 iPad profiled[1157] <Notice>: (Error) MDM: Cannot Authenticate. Error: NSError:
Desc   : The server certificate for https://hostaddress.abc.lk/MDMServer/checkin is invalid.
US Desc: The server certificate for https://hostaddress.abc.lk/MDMServer/checkin is invalid.
Domain : MCHTTPTransactionErrorDomain
Code   : 23002
Type   : MCFatalError
Params : (
    "https://hostaddress.abc.lk/MDMServer/checkin"
)
Nov  1 17:55:32 iPad profiled[1157] <Notice>: (Error) MC: Cannot install MDM com.abc.lk.mdm2. Error: NSError:
Desc   : The payload com.abc.lk.mdm2 could not be installed.
Sugg   : The server certificate for https://hostaddress.abc.lk/MDMServer/checkin is invalid.
US Desc: The payload com.abc.lk.mdm2 could not be installed.
US Sugg: The server certificate for https://hostaddress.abc.lk/MDMServer/checkin is invalid.
Domain : MCInstallationErrorDomain
Code   : 4001
Type   : MCFatalError
Params : (
    "com.abc.lk.mdm2"
)
...Underlying error:
NSError:
Desc   : The server certificate for https://hostaddress.abc.lk/MDMServer/checkin is invalid.
US Desc: The server certificate for https://hostaddress.abc.lk/MDMServer/checkin is invalid.
Domain : MCHTTPTransactionErrorDomain
Code   : 23002
Type   : MCFatalError
Params : (
    "https://hostaddress.abc.lk/MDMServer/checkin"
)
Nov  1 17:55:32 iPad profiled[1157] <Notice>: (Error) MC: Rolling back installation of profile com.abc.lk...
Nov  1 17:55:32 iPad profiled[1157] <Notice>: (Error) MC: Installation of profile com.abc.lk failed with error: NSError:
Desc   : The profile Profile Name 6 could not be installed.
Sugg   : The payload com.abc.lk.mdm2 could not be installed.
US Desc: The profile Profile Name 6 could not be installed.
US Sugg: The payload com.abc.lk.mdm2 could not be installed.
Domain : MCProfileErrorDomain
Code   : 1009
Type   : MCFatalError
Params : (
    "Profile Name 6"
)
...Underlying error:
NSError:
Desc   : The payload com.abc.lk.mdm2 could not be installed.
Sugg   : The server certificate for https://hostaddress.abc.lk/MDMServer/checkin is invalid.
US Desc: The payload com.abc.lk.mdm2 could not be installed.
US Sugg: The server certificate for https://hostaddress.abc.lk/MDMServer/checkin is invalid.
Domain : MCInstallationErrorDomain
Code   : 4001
Type   : MCFatalError
Params : (
    "com.abc.lk.mdm2"
)
...Underlying error:
NSError:
Desc   : The server certificate for https://hostaddress.abc.lk/MDMServer/checkin is invalid.
US Desc: The server certificate for https://hostaddress.abc.lk/MDMServer/checkin is invalid.
Domain : MCHTTPTransactionErrorDomain
Code   : 23002
Type   : MCFatalError
Params : (
    "https://hostaddress.abc.lk/MDMServer/checkin"
)
Nov  1 17:55:32 iPad profiled[1157] <Notice>: (Error) MC: Profile com.abc.lk failed to install with error: NSError:
Desc   : Profile Failed to Install
Sugg   : The profile Profile Name 6 could not be installed.
US Desc: Profile Failed to Install
US Sugg: The profile Profile Name 6 could not be installed.
Domain : MCInstallationErrorDomain
Code   : 4001
Type   : MCFatalError
...Underlying error:
NSError:
Desc   : The profile Profile Name 6 could not be installed.
Sugg   : The payload com.abc.lk.mdm2 could not be installed.
US Desc: The profile Profile Name 6 could not be installed.
US Sugg: The payload com.abc.lk.mdm2 could not be installed.
Domain : MCProfileErrorDomain
Code   : 1009
Type   : MCFatalError
Params : (
    "Profile Name 6"
)
...Underlying error:
NSError:
Desc   : The payload com.abc.lk.mdm2 could not be installed.
Sugg   : The server certificate for https://hostaddress.abc.lk/MDMServer/checkin is invalid.
US Desc: The payload com.abc.lk.mdm2 could not be installed.
US Sugg: The server certificate for https://hostaddress.abc.lk/MDMServer/checkin is invalid.
Domain : MCInstallationErrorDomain
Code   : 4001
Type   : MCFatalError
Params : (
    "com.abc.lk.mdm2"
)
...Underlying error:
NSError:
Desc   : The server certificate for https://hostaddress.abc.lk/MDMServer/checkin is invalid.
US Desc: The server certificate for https://hostaddress.abc.lk/MDMServer/checkin is invalid.
Domain : MCHTTPTransactionErrorDomain
Code   : 23002
Type   : MCFatalError
Params : (
    "https://hostaddress.abc.lk/MDMServer/checkin"
)

我在上述错误消息中认为重要的重要部分是......

Desc   : The server certificate for https://hostaddress.abc.lk/MDMServer/checkin is invalid.
    US Desc: The server certificate for https://hostaddress.abc.lk/MDMServer/checkin is invalid.

这里的困惑是我知道我正在使用 CA 颁发的有效服务器证书,其根证书安装在设备上。我可能做错了什么?

4

1 回答 1

1

通过看到您的错误,我猜您在有效负载中缺少某些字段。尝试在不使用证书的情况下安装配置文件。

还有一件事,您应该使用受信任的证书。您是否使用从任何受信任实体获得的服务器证书?

于 2012-12-04T06:44:08.583 回答