申请 Let's Encrypt 数字证书,并安装cerbot快速上手教程~~

申请 Let's Encrypt 数字证书,并安装cerbot快速上手教程~~


  1. 从 github 上下载 certbot

  2. 运行 certbot (-d 参数指定对应域名)

    • 如果知道软件的类型,如Apache, nginx等,运行 ./certbot-auto --apache -d example.com -d www.example.com -d other.example.net
    • 如果不知道就运行 ./certbot-auto certonly --standalone --email [email protected] -d example.com -d www.example.com -d other.example.net

例如:./certbot-auto certonly --standalone --email [email protected] -d www.***.com


当然,这条指令要在有cerbot-auto 这个文件的文件夹使用,并且要注意有时候该文件没有其相应的权限,可以通过

chmod 777 certbot-auto来给其赋权

参考:https://github.com/konginyan/Learning-Notes/blob/master/protocol/%E7%94%B3%E8%AF%B7%20Let's%20Encrypt%20%E6%95%B0%E5%AD%97%E8%AF%81%E4%B9%A6.md

猜你喜欢

转载自blog.csdn.net/weixin_37766296/article/details/80188559
今日推荐