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.

  • I did add this certification details to ‘Security->Certificates->Add Certificate->Bring Your Own Cerificate’ option in digital ocean login. * I tried looking for httpd.conf file to see if i can modify any setting to enable this. This droplet has ubuntu and i could not find any such file.

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.

Submit an Answer
1 answer

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:


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!

by Kathleen Juell
by Erika Heidi
Let's Encrypt is a Certificate Authority (CA) that provides an easy way to obtain and install free TLS/SSL certificates, thereby enabling encrypted HTTPS on web servers. In this tutorial, you will use Certbot to obtain a free SSL certificate for Apache on Ubuntu 18.04 and set up your certificate to renew automatically.