Install certbot certificate

SSH to server

Add Certbot PPA

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

Install Certbot

sudo apt-get install certbot python-certbot-apache 

Get and install certificate

sudo certbot --apache

Test automatic renewal

sudo certbot renew --dry-run

Confirm that Certbot worked


Leave a Reply

Your email address will not be published. Required fields are marked *