git clone https://github.com/letsencrypt/letsencrypt # 没有git的先安装git # yum install git # apt-get install git
cd letsencrypt ./letsencrypt-auto certonly --standalone --email admin@163.org -d 163.org -d www.163.org 命令解析 --standalone 需要手动关闭占用443端口的程序,此命令会占用443端口进行验证 --email admin@163.org 填写您的Email -d 163.org 需要使用ssl的域名(必须是当前主机绑定的地址,否则验证失败。)
<span style="color: #ff6600"># nginx.conf 配置文件中加入生成的证书<br/></span>
* * * * 1 /var/www/letsencrypt/letsencrypt-auto renew
以上就是详解一个Let's Encrypt免费又好用的证书的详细内容,更多请关注php中文网其它相关文章!
每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号