Setup bring your own certificate in droplet - Lamp - Apache

Hello All,

I have one droplet and that droplet ip points to one subdomain from another providers DNS manager, i have added a bring your own certificate , but i don’t know how to connect it, I have simple php application running on/var/www/html.

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.


In case that you already have your SSL certificate issued you could follow the steps here on how to install an SSL certificate from a commercial certificate authority:

If you do not have a certificate yet, I could suggest using Let’s Encrypt together with certbot as it provides an automated way of installing the certificate and then of renewing it every 3 months automatically:

Best, Bobby