certbot 安装证书报错:The requested nginx plugin does not appear to be installed

更新日期: 2020-11-16 阅读次数: 753 字数: 49 分类: Nginx

系统环境

Ubuntu 20.04

报错信息

# certbot --nginx
Saving debug log to /var/log/letsencrypt/letsencrypt.log
The requested nginx plugin does not appear to be installed

解决方法

sudo apt install python3-certbot-nginx

然后重新执行

certbot --nginx

爱评论不评论