DEV Community

paulmojicatech
paulmojicatech

Posted on

Install SSL on Ubuntu NGINX server

Description

We are going to walk through how to set up website using nginx that is served via https. We will be using Certbot to accomplish this.

Steps

  • Go to Certbot webpage
  • On the webpage, select Nginx and Ubuntu 18 in the drop downs
  • Follow the steps on the webpage. (Note:Ubuntu 18 comes with the snap program already installed so no need to do a apt-get.
  • Certbot will automatically find the nginx sites for you to serve behind https. Just pick websites you want the SSL certificate to be applied to.

Conclusion

With Let's Encrypt and tools like Certbot, serving content over a secure channel has never been easier.

Oldest comments (0)