Topic: Heroku ignoring SSL

I have a Ruby on Rails server running in Heroku and I've been trying to add SSL for communicate with app clients, developed with Android, for while.

I created a self-signed certificate as explained on Heroku's site ( … requisites) and added end-point as this Heroku's tutorial( suggests. Everything seems perfect, I tested the certificate and it worked too. To force the server to redirect to https protocol, I added 'rack-ssl-enforcer' gem too.

The problem is, when hitting any server route using no certificate in header/payload, (REST Console or curl), I imagined the ruby server should deny the request, allowing only when requests have the valid certificate. However, it is returning the same value as when there was no SSL protocol in the project.

Do I have to configure anything more? Why is this happening?