https加密 for ubuntu

$sudo apt install software-properties-common
$ sudo add-apt-repository ppa:certbot/certbot
$ sudo apt-get update
$ sudo apt-get install python-certbot-apache
$ certbot --apache

crontab -e 
添加 
0 3 * * * certbot renew --quiet --no-self-upgrade
原文地址:https://www.cnblogs.com/leilei-1/p/8135631.html