HTTPS only on homepage & checkout page

I have installed CW Let’s Encrypt and now I want homepage and checkout page only on HTTPS not any other pages. I have tried everything but no luck. Please help me out urgently.

Why should you need HTTPS on specific pages? You only have advantages if you have it in all your domain. However, if still want it, you can force a redirect through htaccess. Google “how to enable https in specific pages only”