Skip to content

Instantly share code, notes, and snippets.

@ismarsantos
Created November 8, 2023 20:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ismarsantos/be781201bfb3c1f9139dfa4812419fa3 to your computer and use it in GitHub Desktop.
Save ismarsantos/be781201bfb3c1f9139dfa4812419fa3 to your computer and use it in GitHub Desktop.
SSL Certificate Option
SSL Certificate Option
There are many ways to obtain an SSL certificate. An easy and cheap way is to use LetsEncrypt. Setting up LetsEncrypt for a server that uses port 80 for a webserver is extremely easy. Since the Coturn server does use port 80, a manual request with a DNS challenge is easiest:
Install CertBot
sudo snap install core; sudo snap refresh core
sudo snap install --classic certbot
sudo ln -s /snap/bin/certbot /usr/bin/certbot
Request the certificate
sudo certbot -d *.yourdomain.com --manual --preferred-challenges dns certonly
Follow the steps certbot is guiding you through.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment