Question

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.

Was it helpful?

Solution

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

OTHER TIPS

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top