Magento 2 Enable SSL

To enabel SSL on magento 2 site using command line (SSH), first change to the folder where magento installed.

Now run

Replace “m2.serverok.in” with your Magento installation Url.