[英]letsencrypt ssl install shortcut
I am currently using letsencrypt for SSL certificates on my server. 我目前在服务器上使用letencrypt来获取SSL证书。 As the amount of sites on my server is forever increasing, its becoming very time consuming installing a certificate running the ssh command:
letsencrypt
. 随着服务器上站点数量的不断增加,安装运行ssh命令的证书
letsencrypt
变得非常耗时。 I have to manually uncheck all domains that i dont want an SSL installed on. 我必须手动取消选中我不希望安装SSL的所有域。
My question: is there some sort of shortcut for example running the following: letsencrypt mydomain.com
to install a certificate for the specified domain? 我的问题:是否存在某种快捷方式,例如运行以下命令:
letsencrypt mydomain.com
为指定域安装证书? I cant seem to find anything in the documentation. 我似乎找不到任何文档。
Any help would be greatly appreciated. 任何帮助将不胜感激。
The help says : 帮助说:
letsencrypt --help
letsencrypt [SUBCOMMAND] [options] [-d domain] [-d domain] ...
So you should be able to do what you want with letsencrypt -d mydomain.com
因此,您应该能够使用
letsencrypt -d mydomain.com
If you have certboot it is easy to run the following: 如果您具有certboot,则可以轻松运行以下命令:
sudo certbot --nginx -d example.com -d www.example.com
or apache 或阿帕奇
sudo certbot --apache -d example.com -d www.example.com
Have a look at digitalocean tutorial 看看digitalocean教程
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.