简体   繁体   English

我可以使用免费的自签名SSL证书来获取安全的Canvas URL吗?

[英]Can I use a free self signed SSL certificate for a secure Canvas URL?

Facebook require SSL certs for a secure Canvas URL. Facebook需要SSL证书才能获得安全的Canvas URL。

I notice some organizations offer free, self-signed SSL certificates. 我注意到一些组织提供免费的自签名SSL证书。 You can aslso find them by using your search engine of choice. 您可以使用您选择的搜索引擎找到它们。

Will these types of certificates be acceptable? 这些类型的证书是否可以接受?

You may be able to use a Self Signed certificate but it will throw up browser warnings because your certificate isn't included in the ones that are trusted. 您可以使用自签名证书,但它会抛出浏览器警告,因为您的证书不包含在受信任的证书中。 To get a proper certificate you need to pay and get one through a Certificate Authority 要获得适当的证书,您需要通过证书颁发机构支付并获得证书

According to this forum post on the FB Developer Forums you should be able to: 根据FB Developer Forums上的这篇论坛帖子 ,您应该能够:

Facebook has not set up any requirements for the SSL certificate, but in the interest of your users not being showed an invalid signature dialog (It's looking pretty dangerous in firefox, while it's not dangerous at all having a self-signed cert) you should get a certificate for somewhere around 10$/Yr. Facebook没有对SSL证书提出任何要求,但是为了您的用户不会出现无效的签名对话框(在Firefox中看起来非常危险,而且拥有自签名证书并不危险),您应该得到大约10美元/年的证书。

However the wording on the Developer Roadmap suggests that you actually need to obtain a certificate. 但是, 开发者路线图上的措辞表明您确实需要获得证书。 You could get the minimum required certificate for about $10/year and could save quite a few headaches 您可以以每年约10美元的价格获得最低要求的证书,并且可以节省相当多的麻烦

Fortunately this problem is now solved with the free LetsEncrypt certificate. 幸运的是,现在使用免费的LetsEncrypt证书解决了这个问题。 Hail the end of the SSL corporate maffia! 欢呼SSL企业maffia的结束! :) https://letsencrypt.org/ :) https://letsencrypt.org/

I have tested Start SSL certificates, and they work fine on all browsers in Windows XP, and even most mobile handsets. 我已经测试了启动SSL证书,它们适用于Windows XP中的所有浏览器,甚至大多数手机。 I did not find any advantage in low-end certs ( 我没有发现低端证书的任何优势(

I tested on: 我测试过:

Internet Explorer 6 Internet Explorer 7 Internet Explorer 8 Internet Explorer 9 Firefox 6 Google Chrome Safari Android browser Android Opera Nokia Symbian opera Iphone browser Blackberry browser Internet Explorer 6 Internet Explorer 7 Internet Explorer 8 Internet Explorer 9 Firefox 6 Google Chrome Safari Android浏览器Android Opera诺基亚Symbian opera Iphone浏览器Blackberry浏览器

我已经编写了一个可以在heroku.com上运行的代理 ,这将在一个ssl域中显示你的应用程序,如https://your-app.herokuapp.com

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM