【发布时间】:2016-06-29 04:30:55
【问题描述】:
我正在尝试在服务器上设置 WSO2-EMM。我已成功启动服务器并使用默认的 admin/admin 用户名和密码登录到 Enterprise Mobility Manager。我正在使用 https 连接到 EMM(HTTP 对我不起作用)。我没有更改服务器上 XML 文件中的任何设置。我所做的是按照步骤创建一个 JKS 和 P12 文件,这些文件已成功添加到 wso2 JKS 文件并上传到服务器。我还成功创建了一个 BKS 文件并在 Android 项目中将其覆盖。然后我使用以下设置更新了 CommonUtilities.java 文件:
- SERVER_IP:我的服务器的 IP 地址(不包括端口)
- SERVER_PORT:9443
-
SERVER_PROTOCOL:https://
我已将应用程序直接构建到我的手机上,但无法连接到服务器。然后,我使用 wso2-emm 网站上提供的 stept 期间创建的密钥库生成了一个签名的 APK。也连接不上服务器。我现在唯一能想到的是 WSO2-EMM Dashboard 的 https 证书无效,这可能会以某种方式干扰与应用程序的连接?
我的 Android 工作室日志:
04-21 09:50:00.174 25086-25168/org.wso2.emm.agent D/ServerUtils: 尝试 #1 注册 [ 04-21 09:50:00.174 25086:25168 E/
] 在 04-21 09:50:00.194 25086-25168/org.wso2.emm.agent V/ServerUtils: my_ipPosting '{username=admin, password=admin}' to https://my_ip:9443/emm/api/devices/clientkey 04-21 09:50:00.194 25086-25168/org.wso2.emm.agent V/ServerUtils:发布 'username=admin&password=admin' 到 https://my_ip:9443/emm/api/devices/clientkey 04-21 09:50:00.194 25086-25168/org.wso2.emm.agent I/System.out: Thread-202051(ApacheHTTPLog):从变量值中读取 setDefaultValuesToVariables 04-21 09:50:00.194 25086-25168/org.wso2.emm.agent I/System.out: Thread-202051(ApacheHTTPLog):isSBSettingEnabled false 04-21 09:50:00.194 25086-25168/org.wso2.emm.agent I/System.out: Thread-202051(ApacheHTTPLog):isShipBuild true 04-21 09:50:00.194 25086-25168/org.wso2.emm.agent I/System.out: Thread-202051(ApacheHTTPLog):getDebugLevel 0x4f4c 04-21 09:50:00.194 25086-25168/org.wso2.emm.agent I/System.out: Thread-202051(ApacheHTTPLog):智能绑定设置为假 04-21 09:50:00.194 25086-25168/org.wso2.emm.agent I/System.out: Thread-202051(ApacheHTTPLog):SmartBonding 设置为假,SHIP_BUILD 为真,日志到文件为假,DBG 为假,DEBUG_LEVEL (1-LOW, 2-MID, 3-HIGH) 是 1 04-21 09:50:00.214 25086-25106/org.wso2.emm.agent D/mali_winsys: new_window_surface 返回 0x3000, [1336x648]-format:1 04-21 09:50:00.224 25086-25086/org.wso2.emm.agent E/ViewRootImpl: sendUserActionEvent() mView == null
【问题讨论】:
标签: android wso2 wso2carbon wso2-emm