I have seen gems like ssl_requirement, but its too complicated for securing just two pages of user login and sign up.
Referred few blogs and found few useful links for the same:
# Creating your private key
# Creating your certificate signing request
# Getting your certificate
# Configuring your web server
2> For Setting up Rails app with Devise, I have referred this :
More useful links: