How can I future-proof my system for a future migration from HTTP to HTTPS???

Hi,

How can I future-proof my system for a future migration from HTTP to HTTPS?

I have a .net winforms client talking to my ruby on rails backend . If I move the website in the future I want to make sure that my API links from the client don't have to change. Is this something: (a) a Rails hosting/web hosting site can be configured for, or (b) do I need to do something specific in my Rails application, and/or (c) what should the links in the desktop client that connects be?

Notes: * when I do migrate I will not want any non HTTPS to occur * I am not talking about moving servers here, just upgrading the existing web application server with a certificate and moving to HTTPS only traffic

thanks

Check out the SSL Requirement plugin: http://github.com/rails/ssl_requirement

excellent - thats great