How to install Let's Encrypt SSL Certificate in Ubuntu 18.04/NGINX?

In this post, we will see, how to install Let's Encrypt SSL Certificate on NGINX webserver. Steps are pretty straight forward and easy.


First, add the repository:

sudo add-apt-repository ppa:certbot/certbot

 You’ll need to press ENTER to accept.


Install Certbot’s Nginx package with apt:

sudo apt install python-certbot-nginx

  

Install Let's Encrypt SSL Certificate

sudo certbot --nginx -d jenkins.cloudshades.in

    

Follow the screen and provide the required input. Like email-id, permanent redirection to https etc.


Popular posts from this blog

How to redirect Drupal site from http to https?

Setup and Configure AWS CLI on EC2 Instances

How to SSH EC2 instance with ssh-agent along with SSH agent forwarding to SSH private instances in VPC?