开发一个简单的 android 应用程序,它将在更大的显示器上转换 URL(网页)。
用于发布“接收器应用程序必须通过 SSL (HTTPS) 提供服务”。为此,我生成了自签名 SSL 证书并计划使用它。
但是,在尝试从浏览器访问该页面时,它会给出以下警告:
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/