I am trying to setup an development environment where i need LAMP stack with ssl. I created a droplet. Used one click LAMP installation and setup basic server then mapped that droplet to a subdomain (http://shopifyapp.sjranjan.com/) by creating a A record (This domain is being managed at another service).
Now i have to enable https in this setup where i did follow this link to set up Lets Encrypt SSL.
That also successfully happened and got the certificate files generated here: /etc/letsencrypt/live/shopifyapp.sjranjan.com
I also restarted the apache after this point. Now i have no clue how to proceed further how to enable https://shopifyapp.sjranjan.com/ working.
Now what is it exactly i need to do to enable https working in this droplet ? I am new to all this… so kind of very confused. Someone kindly help.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Hi there @sjranjan,
As you already have Apache installed I would recommend following the steps from this tutorial here on how to secure Apache with Let’s Encrypt rather than the stand-alone tutorial:
https://www.digitalocean.com/community/tutorials/how-to-secure-apache-with-let-s-encrypt-on-ubuntu-18-04
This would be the better approach as this would automatically configure your Apache service to use the new SSL by creating a virtual host for your site.
Hope that this helps! Regards, Bobby