如何将 SSL 与 InstantRails 结合起来以实现安全本地开发?

发布于 2024-07-13 12:13:50 字数 218 浏览 5 评论 0原文

我正在使用 InstantRails(在 Vista 上),并且我正处于寻求将 Rails 应用程序与 PayPal 集成的阶段(通过网络支付标准定期计费 - 不需要 ActiveMerchant)。 为我的本地开发/测试目的启用 HTTPS 的最佳分步过程是什么?

我正在使用 InstantRails 附带的默认 Mongrel/Apache 设置。

预先感谢您的任何帮助。

I'm using InstantRails (on Vista), and I'm at the stage where I'm looking to integrate a Rails app with PayPal (recurring billing via web payments standard - no ActiveMerchant needed). What is the best step-by-step process for enabling HTTPS for my local development/testing purposes?

I'm using the default Mongrel/Apache setup that comes with InstantRails.

Thanks in advance for any help.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

绳情 2024-07-20 12:13:50

使用 openSSL 生成私钥和自签名证书。

这里有很好的说明:http://www.akadia.com/services/ssh_test_certificate.html

OpenSSL 指南:http://www.openssl.org/docs/HOWTO/certificates。文本

Use openSSL to generate a private key and self-signed certificate.

Good instructions here: http://www.akadia.com/services/ssh_test_certificate.html

OpenSSL HOWTO: http://www.openssl.org/docs/HOWTO/certificates.txt

雅心素梦 2024-07-20 12:13:50

Rails 有一个插件,也称为 ssl_requirement,您可以使用它非常轻松地告诉应用程序哪些操作需要通过 ssl 完成。 非常方便,我认为DHH 写了它。

There is a plugin for rails also called ssl_requirement which you can use to very easily tell the application which actions will need to be done over ssl. It's pretty handy, I think DHH wrote it.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文