gpt4 book ai didi

cordova - 使用带有自签名 SSL 证书的 Apache Ripple 模拟器

转载 作者:太空宇宙 更新时间:2023-11-03 13:16:29 29 4
gpt4 key购买 nike

我在使用 Cordova 5.1.1 和 Apache Ripple 0.9.32 时遇到问题。我正在尝试使用 IIS Express 和自签名 SSL 证书连接到在 Visual Studio 2013 中调试运行的 C# Web API 2 Web 服务。

Ripple,在 http://localhost:4400 的默认代理上运行, 报道

INFO: Proxying cross origin XMLHttpRequest - https://localhost:44300/api/account/login
ERROR: Proxying failed with: [Error: UNABLE_TO_VERIFY_LEAF_SIGNATURE]

当我在没有 SSL 的情况下调试 Web 服务时,一切正常。

谁能阐明这一点,或者我是否需要从权威机构获得 SSL 证书?

我知道这可能与 https://stackoverflow.com/questions/32805507/apache-ripple-emulator-and-ssl-test-certificates 有关.

最佳答案

也许是一个配置选项?来自 rippled.cfg:

/* If ssl_verify is 1, certificates will be validated

Use this if you have a certificate issued by a Certificate Authority

To allow the use of self-signed certificates for development or internal use,

set this to ssl_verify to 0. */

[ssl_verify]

1

关于cordova - 使用带有自签名 SSL 证书的 Apache Ripple 模拟器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34748432/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com