Hi @Sarthak_Sharma , you can get a free SSL certificate from the CloudFlare.
I am not much sure about the integration with DigitalOcean, but the CloudFlare SSL works correctly for any WordPress site. I am using it from last 3 months on one of my sites, and it's great!
Here is a tutorial on Installation of CloudFlare Flexible SSL on any WordPress website.
https://jonnyjordan.com/blog/how-to-setup-cloudflare-flexible-ssl-for-wordpress/ [Not my site]