简体   繁体   English

WSO2 EMM iOS注册错误:“注册机构的响应无效”

[英]WSO2 EMM iOS enrollment error: “The Registration Authority's response is invalid”

Setup WSO2 EMM server on a Mac (10.8). 在Mac(10.8)上安装WSO2 EMM服务器。 Created self-signed certificates according to the iOS server configuration guide: https://docs.wso2.org/display/EMM100/iOS+Server+Configurations 根据iOS服务器配置指南创建了自签名证书: https : //docs.wso2.org/display/EMM100/iOS+Server+Configurations

Was able to successfully download and install the self-signed Root CA on iPad (iOS 7). 能够在iPad(iOS 7)上成功下载并安装自签名的根CA。 However, getting error on iPad during WSO2 Profile Service installation: 但是,在WSO2 Profile Service安装期间在iPad上出现错误:

"Profile Installation Failed: The Registration Authority's response is invalid." “配置文件安装失败:注册机构的响应无效。”

Tried with both server domain name as well as IP address as the CN for certificates got the same error. 尝试使用服务器域名和IP地址,因为证书的CN遇到相同的错误。

There is no error log on the MDM server side. MDM服务器端没有错误日志。

Here is the iOS error log: 这是iOS错误日志:

Mar 18 11:55:09 XXXXX-iPad profiled[2191] <Notice>: (Error) MC: Cannot retrieve SCEP identity: NSError:
Desc   : The Registration Authority’s response is invalid.
US Desc: The Registration Authority’s response is invalid.
Domain : MCSCEPErrorDomain
Code   : 22003
Type   : MCFatalError
Mar 18 11:55:09 XXXXX-iPad profiled[2191] <Notice>: (Error) MC: Failure occurred while retrieving profile during OTA Profile Enrollment: NSError:
Desc   : The Registration Authority’s response is invalid.
US Desc: The Registration Authority’s response is invalid.
Domain : MCSCEPErrorDomain
Code   : 22003
Type   : MCFatalError
Mar 18 11:55:09 XXXXX-iPad profiled[2191] <Notice>: (Error) MC: Installation failed. Error: NSError:
Desc   : Profile Installation Failed
Sugg   : The Registration Authority’s response is invalid.
US Desc: Profile Installation Failed
US Sugg: The Registration Authority’s response is invalid.
Domain : MCInstallationErrorDomain
Code   : 4001
Type   : MCFatalError
...Underlying error:
NSError:
Desc   : The Registration Authority’s response is invalid.
US Desc: The Registration Authority’s response is invalid.
Domain : MCSCEPErrorDomain
Code   : 22003
Type   : MCFatalError
Extra info:
{
   isPrimary = 1;
}

There can be many issues which cause this actions. 可能有许多问题导致此动作。 First as in docs you have to sign your generated RA using your generated CA. 首先,如在docs中一样,您必须使用生成的CA对生成的RA进行签名。 Open the certificate and see whether the signer is the root CA which you have created. 打开证书,查看签名者是否是您创建的根CA。 Next thing is when importing to the wso2mobilemdm.jks you have to specify an alias and a private key password. 接下来是导入wso2mobilemdm.jks时,您必须指定一个别名和一个私钥密码。 EMM ships with some default configurations. EMM附带了一些默认配置。 If it mismatches from your alias and the password this will not work. 如果它与您的别名和密码不匹配,则将不起作用。 To check this just navigate to the {installation folder}/repository/conf/mdm-config.xml file. 要检查这一点,只需导航到{安装文件夹} /repository/conf/mdm-config.xml文件。 Check whether you have the proper RA configurations there. 检查那里是否具有正确的RA配置。 Once you change these entries you need to restart the server. 更改这些条目后,需要重新启动服务器。 Let me know whether this works for you. 让我知道这是否对您有用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM