android - 自签名证书在发布到 chromecast 时是否有效?

标签 android https ssl-certificate chromecast ca

开发一个简单的 android 应用程序,它将在更大的显示器上转换 URL(网页)。

用于发布“接收器应用程序必须通过 SSL (HTTPS) 提供服务”。为此,我生成了自签名 SSL 证书并计划使用它。

URL for publish

但是,在尝试从浏览器访问该页面时,它会给出以下警告:

The site's security certificate is not trusted! You attempted to reach basilapps.com, but the server presented a certificate issued by an entity that is not trusted by your computer's operating system. This may mean that the server has generated its own security credentials, which Chrome cannot rely on for identity information, or an attacker may be trying to intercept your communications.

所以我的查询是: (A) 自签名证书在发布期间会正常工作吗? (B) 如果没有,那么我需要从受信任的机构购买 SSL 证书吗? (C) 是否有免费的可信证书服务可用?

谢谢

最佳答案

自签名证书不起作用,是的,您需要从已知权威机构获取/使用受信任的证书。如果您可以使用 App Engine,那就行得通了,因为它已经有了。对于开发,要么使用 http,要么使用 App Engine 甚至 Google Drive(最后两个支持 https)。

关于android - 自签名证书在发布到 chromecast 时是否有效?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24698415/

相关文章:

android - 为什么使用 Fragment#setRetainInstance(boolean)?

javascript - Internet Explorer 6 上的 SSL 安全信息

wordpress - 从带有 WP 4.1 的 IP 地址到 wordpress 服务器的安全连接?

java - 我如何模仿 Lollipop ( Material 设计)按钮动画?

android - 在自定义 ViewGroup 上从布局 XML 扩充内容时,布局参数不适用

java.lang.异常 : Public keys in reply and keystore don't match

ssl - 如何将 ssl 证书从 centOS 7 复制到 Windows?

java - WebSphere 6.1 for Windows 上的 SSL 设置

android - 在适配器中按删除 TextView 后从 ListView 中删除项目

java - OpenAS2 AS2ReceiverHandler : HTTP connection error on inbound message