[eluser]ray73864[/eluser]
https happens on the webserver end along with a rewrite condition so that anything going to a certain controller for instance is rewritten as a https url.
there are plenty of tutorials on how to do it with web servers like Apache2 and Lighttpd if you search google.