IBM工作灯6.0 - 原生Android应用程序无法使用时,连接HTTPS [英] IBM Worklight 6.0 - Native Android app unable to connect when using HTTPS

查看:134
本文介绍了IBM工作灯6.0 - 原生Android应用程序无法使用时,连接HTTPS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个简单的Andr​​oid Hybrid和使用工作灯6.0本机应用程序开发。通过HTTP两种应用程序正常工作与连接到服务器和调用一个过程。但只要我移动到https,混合应用程序工作正常,但我可以看到本机连接请求本身不是在服务器端的接收。

I have a simple Android Hybrid and Native Application developed using Worklight 6.0. Over http both the apps work fine with connecting to the server and invoking a procedure. But as soon as I move to https, hybrid app works fine, but I can see that the native connect request itself is not received at the server end.

我需要让别的得到HTTPS对Android原生应用程序的工作?

Do I need to enable anything else to get https working on the android native app?

推荐答案

要使用HTTPS,您需要在WAS服务器上配置的SSL证书。 SSL证书不应该是自签名的,而是由例如VeriSign信任CA签名。
在WebSphere Application Server上配置SSL证书,这里的<一个href=\"http://pic.dhe.ibm.com/infocenter/wasinfo/v8r5/index.jsp?topic=/com.ibm.websphere.base.doc/ae/csec_sslconfigs.html&resultof=%2522%2553%2553%254c%2522%2520%2522%2573%2573%256c%2522%2520\"相对=nofollow>为你DOC 。

To use HTTPS, you need to configure your SSL certificate on your WAS server. The SSL certificate should not be self-signed, but signed by a trust CA like VeriSign. To configure SSL certificate on WebSphere application server, here's the doc for you.

这篇关于IBM工作灯6.0 - 原生Android应用程序无法使用时,连接HTTPS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆