我正在尝试通过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颁发的有效服务器证书,其根证书安装在设备上。我能做错什么?
答案 0 :(得分:1)
通过查看您的错误,我猜您在有效负载中缺少一些字段。尝试在不使用证书的情况下安装配置文件。
还有一件事,你应该使用值得信赖的证书。您使用的是从任何可信实体获得的服务器证书吗?