First you need to order SSL, install a certificate (we recommend to contact your hosting provider). Finally, the http to https redirect is configured.