I use this code at the bottom of my Main Skin Page. It works in your development enviroment and live. It will force your site to SSL assuming you have a certificate installed. Installation of the certificate is different based on your host.
<%
' Tom Harris SSL Script for Main Skin page.
' checks for localhost, if not then force to HTTPS://
' Use Embed tags for Mozilla, Firefox, Netscape compatibility
' Embed Tags Create a space in IE so put at bottom of page
Dim isSSLOn As Boolean = False
If Not LCase(Request.ServerVariables("HTTP_HOST")) = "localhost" Then
isSSLOn = True
End If
If isSSLOn Then
%>
<embed hidden='true' height='0' clientheight='0'>
<script language="Javascript1.1" type="text/javascript">
if(location.protocol.toLowerCase() !="https:") {
location.href = location.href.replace('http:','https:');
}
</script>
</embed>
<%End If%>