WSO2 EMM Android Agent Configuration

孤人 提交于 2019-12-04 06:19:46

问题


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.

Thanks.


回答1:


Seems you have issue with HTTPS

Please follow these steps: step 2 to step 8 https://docs.wso2.com/display/EMM110/iOS+Server+Configurations#iOSServerConfigurations-step2

After that, you can generate the BKS file using following command:

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'

Note: you need to have bcprov-jdk16-146.jar in the folder in order to generate above bks file

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://



来源:https://stackoverflow.com/questions/25783927/wso2-emm-android-agent-configuration

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!