我注册了一个.delivery
域,我想安装let's encrypt ssl证书,但它不起作用,它给出了以下信息:
> sudo certbot --nginx -d dieselfuel.delivery www.dieselfuel.delivery
usage:
certbot [SUBCOMMAND] [options] [-d DOMAIN] [-d DOMAIN] ...
Certbot can obtain and install HTTPS/TLS/SSL certificates. By default,
it will attempt to use a webserver both for obtaining and installing the
certificate.
certbot: error: unrecognized arguments: www.dieselfuel.delivery
我通常使用这种方式为.com
域生成ssl证书
我使用UBUNTU 18.04
谢谢你的帮助。
每个域都需要一个-d
;
sudo certbot --nginx -d dieselfuel.delivery -d www.dieselfuel.delivery
或者,对于单个-d
,您需要一个逗号分隔的列表;
sudo certbot --nginx -d dieselfuel.delivery,www.dieselfuel.delivery
文档