JavaScript 中的 SSL 连接 [英] SSL connection in JavaScript

查看:44
本文介绍了JavaScript 中的 SSL 连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以从 JavaScript 建立 SSL 连接?还是直接在Phonegap?我没有找到任何相关信息.

Is it possible to establish an SSL connection from a JavaScript? Or directly in Phonegap? I don't find any information about that.

推荐答案

深入了解,听起来您在使用 Phonegap 通过 SSL 发出请求时遇到了麻烦.Phonegap 不允许向具有自签名证书的网络服务发出安全请求.

Reading behind the lines, it sounds like you're having trouble making a request over SSL with Phonegap. Phonegap does not allow secure requests to a web service that has a self signed cert.

这篇关于JavaScript 中的 SSL 连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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