How To Create a Self-Signed SSL Certificate for Apache in Ubuntu

Apache Django SSL Configration

Posted by indranil on Jan. 18, 2021, 12:44 p.m.

How To Create a Self-Signed SSL Certificate for Apache in Ubuntu (18.04-20.04)

Introduction

Let’s Encrypt is a Certificate Authority (CA) that provides an easy way to obtain and install free TLS/SSL certificates, thereby enabling encrypted HTTPS on web servers. It simplifies the process by providing a software client, Certbot, that attempts to automate most (if not all) of the required steps. Currently, the entire process of obtaining and installing a certificate is fully automated on both Apache and Nginx.

In this tutorial, you will use Certbot to obtain a free SSL certificate for Apache on Ubuntu (18.04-20.04) and set up your certificate to renew automatically.

Lets Start Practically

**Step1 (Open Terminal and Login Your Server )

sudo apt-get update

sudo apt-get install software-properties-common

sudo add-apt-repository universe

sudo add-apt-repository ppa:certbot/certbot

sudo apt-get update

sudo apt-get install python-certbot-apache

a2enmod rewrite

a2enmod ssl


____________COMPLETE INSTALLATION__________

//Setup SSL-Certificate

sudo certbot --apache

Select Your Domain or Subdomain

_______SSL CREATED_________

Django - SSL - Installation Process 

Click Here

 

noimg Visit Link: digitalocean.com