记录一些操作命令
略
# install
sudo apt install certbot
# 生成证书, 中间会填写邮箱以及两次Y
sudo certbot certonly --standalone -d yourdomain -d www.yourdomain
# 为证书添加访问权限
sudo chmod 755 /etc/letsencrypt/{live,archive}
sudo chmod 644 /etc/letsencrypt/live/yourdomain/*
未完待续