Before you start changing the .htaccess file, you NEED a SSL certificate first. Follow these guide first:
.htaccess