Subdomain SSL encryption

Posted June 13, 2021 179 views

Hi - How i can easily setup a SSL for my newly created subdomain?

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 @FloatingCyanSubmarine,

You can use Certbot. Certbot is a service that installs Let’s Encrypt SSL which is free for use on your Droplet and even adds it to your configuration.

Depending on your WebServer (Apache/Nginx) the steps are a little bit different. Having said that, DigitalOcean have written a pretty useful tutorial for both scenarios which should help you out.

If you are using Apache on your Droplet, I’ll recommend checking out te following tutorial:

If you are using Nginx, this is the one for you:

by Hazel Virdó
by Kathleen Juell
In this tutorial, we will show you how to use Let's Encrypt to obtain a free SSL certificate and use it with Nginx on Ubuntu 18.04. We will also show you how to automatically renew your SSL certificate. If you're running a different web server, simply follow your web server's documentation to learn how to use the certificate with your setup.