Let’s Encrypt is a Certificate Authority (CA) that facilitates obtaining and installing free TLS/SSL certificates, thereby enabling encrypted HTTPS on web servers.
1. Installing Certbot
#sudo apt install certbot python3-certbot-apache
2.Checking your Apache Virtual Host Configuration
#sudo vi /etc/apache2/sites-available/your_domain.conf
#sudo apache2ctl configtest
#sudo systemctl reload apache2
3.Allowing HTTPS Through the Firewall
#sudo ufw status
#sudo ufw allow 'Apache Full'
#sudo ufw delete allow 'Apache'
4.Obtaining an SSL Certificate
#sudo certbot --apache
5.Verifying Certbot Auto-Renewal
#sudo systemctl status certbot.timer
- To test the renewal process
#sudo certbot renew --dry-run
source:
0 comments:
Post a Comment