# Rails Newbie--where do I configure webrick to start using ssl certs/https?

**URL:** <https://www.ruby-forum.com/t/rails-newbie-where-do-i-configure-webrick-to-start-using-ssl-certs-https/122325>\
**Category:** Rails\
**Created:** [December 6, 2007, 5:15pm UTC](https://www.ruby-forum.com/t/rails-newbie-where-do-i-configure-webrick-to-start-using-ssl-certs-https/122325 "2007-12-06T17:15:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrkohrea](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/4491bb/32.png) [@mrkohrea](https://www.ruby-forum.com/u/mrkohrea)\
**Post date:** [December 6, 2007, 5:15pm UTC](https://www.ruby-forum.com/t/rails-newbie-where-do-i-configure-webrick-to-start-using-ssl-certs-https/122325/1 "2007-12-06T17:15:14Z")

</div>

Hello all-

Though I’ve got eons of java dev experience, I’m a fresh RoR noob with  
a server configuration question.

Because it has to be tied into a single sign on solution(that uses  
secure cookies), an application that I’ve inherited absolutely  
requires that all requests go over secure http.

I’ve seen this:  
[http://wiki.rubyonrails.org/rails/pages/HowToEnableSSL](http://wiki.rubyonrails.org/rails/pages/HowToEnableSSL)  
and this:

> **[Creating an SSL certificate for WEBrick](https://www.networkworld.com/article/2285193/creating-an-ssl-certificate-for-webrick.html)**
>
> We are developing a Ruby on Rails application and it is almost ready for production. We need to use SSL and https URLs rather than plain old http.The WEBrick server Rails uses is different from Apache, and we’re stuck trying to install the SSL...

And they give me an idea of what I’ve got to do, but they don’t seem  
to get me all the way there.

With regards to the HowTo on the RoR homepage, it just gives  
development examples, using filters. With regards to Dr. Internet, he  
doesn’t say _where_ in an existing rails app to best put this webrick  
startup call.

Do any of you old, steady hands have any advice on how to accomplish  
this?  
thanks  
Mike Kohout
