This article explains two ways to enable https protocol. First is by enabling at the web server side and second by using a cloud service such as Cloudflare. Read the article to know more about it.
Source: LXer – What is https and How to enable https on your website