How to make my site secure (No SSL)?

Hi! I installed Debian 11 on my Digital Ocean droplet. I updated my DNS (Google Domains) to point to Digital Ocean. I installed apache2 and setup virtual hosts for my site (I run 2 different domains from there). My sites load fine, but the problem is all web browsers I use tell me the sites are not secure and that SSL is not enables (https). I have no idea how to setup and configure SSL. Is this something I must do in Debian? Or is it something I do through the Digital Ocean control panel? Do I have to pay more money to get this working? Can someone tell me precisely how to setup SSL and configure it in Debian? Here are my 2 sites: I would like both sites to be sure and use SSL.

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.

Bobby Iliev
Site Moderator
Site Moderator badge
July 5, 2022

Hi there,

You could use Let’s Encrypt to generate a free SSL certificate for your domain name.

You can follow this step-by-step tutorial on how to do that on Debian:



Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up