# SSL certificate and rails

**URL:** <https://www.ruby-forum.com/t/ssl-certificate-and-rails/61964>\
**Category:** Rails\
**Created:** [May 30, 2006, 10:04am UTC](https://www.ruby-forum.com/t/ssl-certificate-and-rails/61964 "2006-05-30T10:04:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![daniel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/3ec8ea/32.png) [@daniel](https://www.ruby-forum.com/u/daniel)\
**Post date:** [May 30, 2006, 10:04am UTC](https://www.ruby-forum.com/t/ssl-certificate-and-rails/61964/1 "2006-05-30T10:04:44Z")

</div>

Newbie Q:

Building a webstore and need to have SLL-encryption on the checkout  
pages…  
I have no previous experience with SSL.

I understand that I need a SSL-certificate. I’m planning on purchasing  
the cert from RapidSSL, but to do that I need to generate a CSR  
(Certificate Signing Request). How do I do that?

How do I install the certificate on the server? Are there any guides on  
this topic? How do I configure rails for SSL?  
I’m feeling a bit lost here…

OS: win xp pro  
rails: 1.1.2  
ruby 1.8.2  
lighttpd  
scgi

---

<div class="post-metadata">

**Author:** ![daniel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/3ec8ea/32.png) [@daniel](https://www.ruby-forum.com/u/daniel)\
**Post date:** [May 30, 2006, 11:48am UTC](https://www.ruby-forum.com/t/ssl-certificate-and-rails/61964/2 "2006-05-30T11:48:33Z")

</div>

I’ve not done it with lighty, but with Apache it’s a breeze. Just google  
“apache ssl install” or a variant and you should get far.

Also, if you’re building a web store, at least check out Substruct as a  
base  
to start from.

[http://dev.subimage.com/projects/substruct/](http://dev.subimage.com/projects/substruct/)

---

<div class="post-metadata">

**Author:** ![daniel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/3ec8ea/32.png) [@daniel](https://www.ruby-forum.com/u/daniel)\
**Post date:** [May 30, 2006, 3:02pm UTC](https://www.ruby-forum.com/t/ssl-certificate-and-rails/61964/3 "2006-05-30T15:02:32Z")

</div>

On Tue, May 30, 2006 at 10:04:44AM +0200, Daniel wrote:

> I’m feeling a bit lost here…  
> SSL is (almost) entirely a web-server level thing. You’ll want to ask  
> these  
> sorts of questions somewhere else (such as the lighttpd list, but help  
> on  
> generating CSRs is off-topic there, too). By the time the HTTP data  
> gets to  
> Rails, all the SSL magic should have been done and dusted.

Practically, I think most of your support questions should be asked of  
your  
chosen CA. They’re the ones taking your money, after all.

- Matt

–  
“I’m tempted to try Gentoo, but… I have better things to do with my  
CPU  
cycles than to compile Python so that it can compile the compiler  
so that it can compile the kernel.”  
– Dave Brown, ASR
