SSL Certificate for redirected domain
I successfully moved my website from Hostgator to DigitalOcean redirecting the domain to DO servers.
I then installed Wordpress and everything works fine.
Now I would like to add a SSL certificate to my new website. How can I do it? Will I simply need to edit the .htaccess file in order to add the "https" line?
Do I need to buy a certificate from Hostgator? as far as I can see another website I hosted on their server has the "https" but I did not buy any additional certificate (so I guess it was included).
My droplet has installed Ubuntu 18.04.
Thanks in advance for the answers.