Wednesday, 11 April 2012

Disable ssl in developement environment


Hi,

I am using 'bartt-ssl_requirement' gem for ssl(https) functionality in my rails application.

But working in development environment https is not working. So We need to disable ssl in development. This can be done in many ways.
But the simplest way of doing this is by making the ssl disabled at configuration level.

Add the below line of code in the development environment.

SslRequirement.disable_ssl_check = true

Restart the server and check now. In the development environment ssl is disabled.


Thank You,
Uma Mahesh.

No comments:

Post a Comment