WSO2 EMM Android代理配置 [英] WSO2 EMM Android Agent Configuration
问题描述
我正在尝试使用WSO2 EMM service
.我下载了二进制文件并将其上传到我的服务器,并在其中配置了ipaddress.然后,我启动了它,是的,它工作正常.这是我的地址<a href=https://ip:94433/emm/>.
普通管理员admin.但是,我尝试注册我的设备,但没有注册,但我一直无法通过身份验证.我使用的服务器地址为ip.
,请尽您所能,如果我能解决如何注册设备的问题,我将感到非常高兴.
I'm trying to use WSO2 EMM service
. I downloaded the Binary file and uploaded it to my server and configured the ipaddress into it. And then, I started it, yes it works fine. This is my address <a href=https://ip:94433/emm/>.
Normal admin admin. But, I tried to register my device, but it wouldn't register.I keep getting authentication failed. The server address i used is ip.
Please help in anyway you can, I'll be very glad if I can get through how to register devices.
谢谢.
推荐答案
您似乎对HTTPS有疑问
Seems you have issue with HTTPS
请按照以下步骤操作:步骤2到步骤8 https://docs.wso2.com/display/EMM110/iOS + Server + Configurations#iOSServerConfigurations-step2
Please follow these steps: step 2 to step 8 https://docs.wso2.com/display/EMM110/iOS+Server+Configurations#iOSServerConfigurations-step2
之后,您可以使用以下命令生成BKS文件:
After that, you can generate the BKS file using following command:
keytool -noprompt -import -v -trustcacerts -alias'openssl x509 -通知PEM -subject_hash -noout -in ca_cert.pem'-文件ca_cert.pem -keystore emm_truststore.bks -storetype BKS -providerclass org.bouncycastle.jce.provider.BouncyCastleProvider -providerpath bcprov-jdk16-146.jar -storepass'wso2carbon'
keytool -noprompt -import -v -trustcacerts -alias 'openssl x509 -inform PEM -subject_hash -noout -in ca_cert.pem' -file ca_cert.pem -keystore emm_truststore.bks -storetype BKS -providerclass org.bouncycastle.jce.provider.BouncyCastleProvider -providerpath bcprov-jdk16-146.jar -storepass 'wso2carbon'
注意:您必须在文件夹中包含bcprov-jdk16-146.jar才能生成上述bks文件
Note: you need to have bcprov-jdk16-146.jar in the folder in order to generate above bks file
生成后,将emm_truststore.bks复制到Android res/raw文件夹. 在android源代码CommonUtilities.java中,将SERVER_PORT更改为9443,将SERVER_PROTOCOL更改为https://
Once you generate it copy emm_truststore.bks to Android res/raw folder. In android source code CommonUtilities.java change SERVER_PORT to 9443 and SERVER_PROTOCOL to https://
这篇关于WSO2 EMM Android代理配置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!