ios - WSO2 EMM iOS 注册错误 : "The Registration Authority' s response is invalid"

标签 ios ssl certificate wso2 mdm

在 Mac (10.8) 上设置 WSO2 EMM 服务器。根据 iOS 服务器配置指南创建自签名证书: https://docs.wso2.org/display/EMM100/iOS+Server+Configurations

能够在 iPad (iOS 7) 上成功下载并安装自签名根 CA。 但是,在 WSO2 配置文件服务安装期间在 iPad 上出现错误:

“配置文件安装失败:注册机构的响应无效。”

同时尝试使用服务器域名和IP地址作为证书的CN得到同样的错误。

MDM服务器端没有错误日志。

这是 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;
}

最佳答案

可能有许多问题会导致此操作。首先,在文档中,您必须使用生成的 CA 对生成的 RA 进行签名。打开证书并查看签名者是否是您创建的根 CA。接下来是导入到 wso2mobilemdm.jks 时,您必须指定别名和私钥密码。 EMM 附带一些默认配置。如果它与您的别名和密码不匹配,这将不起作用。要检查这一点,只需导航到{安装文件夹}/repository/conf/mdm-config.xml 文件。检查那里是否有正确的 RA 配置。更改这些条目后,您需要重新启动服务器。让我知道这是否适合你。

关于ios - WSO2 EMM iOS 注册错误 : "The Registration Authority' s response is invalid",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22491134/

相关文章:

iOS:在设备上运行不同的应用程序

ios - 在 Swift 4 中呈现来自 ParentViewController 的 uiviewcontroller

html - 内部导航被拒绝 : <allow-navigation not set> in Cordova on iOS

ios - Swift 中的社交分享

SSL 握手失败,出现 'Certificate Unknown'

java - Mongo SSL 和 Java 驱动程序

apache - 使用 Apache 和 Raspberry Pi 设置安全代理

android - 使用自签名证书的 HTTPS 产生握手错误

ios - Lottie 动画不出现 iOS

ios - 从 OSX 复制 p12 证书,应用程序在调用 Web API 时将使用该证书