# SSL with Thin Server

**URL:** <https://www.ruby-forum.com/t/ssl-with-thin-server/238357>\
**Category:** Rails\
**Created:** [January 6, 2014, 12:19pm UTC](https://www.ruby-forum.com/t/ssl-with-thin-server/238357 "2014-01-06T12:19:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Detlef\_R](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/58f4c7/32.png) [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Post date:** [January 6, 2014, 12:19pm UTC](https://www.ruby-forum.com/t/ssl-with-thin-server/238357/1 "2014-01-06T12:19:33Z")

</div>

Hello All,

My Project consists of :-  
Rails - 3.2.8  
Ruby - 1.9.8  
Server - Thin  
& Devise - 2.1.2

I have added force\_ssl in ApplicationController.  
Then thin start --ssl.  
It took me to https, but with red cross. Not trusted site.

I tried with creating the certificate with -  
[http://www.napcsweb.com/blog/2013/07/21/rails\_ssl\_simple\_wa/](http://www.napcsweb.com/blog/2013/07/21/rails_ssl_simple_wa/)

Still the same.

Can anyone suggest? Do we need to buy ssl?

Thanks,  
Avinash

---

<div class="post-metadata">

**Author:** ![Avi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/b9bd4f/32.png) [@Avi](https://www.ruby-forum.com/u/Avi)\
**Post date:** [January 6, 2014, 2:04pm UTC](https://www.ruby-forum.com/t/ssl-with-thin-server/238357/2 "2014-01-06T14:04:07Z")

</div>

On Mon, Jan 6, 2014 at 5:18 AM, Avi [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Can anyone suggest? Do we need to buy ssl?

Yes, unless you trust your own certificate or create your own  
authority and trust it. For development an untrusted local  
certificate is just fine, for the public (even though now days it  
might be worthless) you’ll need another authority to sign your  
certificate for it to gain trust because that’s the way things are  
right now.

---

<div class="post-metadata">

**Author:** ![Avi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/b9bd4f/32.png) [@Avi](https://www.ruby-forum.com/u/Avi)\
**Post date:** [January 14, 2014, 10:55pm UTC](https://www.ruby-forum.com/t/ssl-with-thin-server/238357/3 "2014-01-14T22:55:59Z")

</div>

I’d suggest RapidSSL [www.rapidssl.com](http://www.rapidssl.com).

---

<div class="post-metadata">

**Author:** ![Avi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/b9bd4f/32.png) [@Avi](https://www.ruby-forum.com/u/Avi)\
**Post date:** [January 8, 2014, 9:52am UTC](https://www.ruby-forum.com/t/ssl-with-thin-server/238357/4 "2014-01-08T09:52:26Z")

</div>

Sorry for the late reply.

Can you please suggest some ssl options?  
Which is the best one to go for?
