linux/centos7/centos8免费配置https并自动续期
2021/12/15 7:20:12
本文主要是介绍linux/centos7/centos8免费配置https并自动续期,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!
安装免费https证书并自动续期
-
安装certbot,centos7+nginx https://certbot.eff.org/instructions?ws=nginx&os=centosrhel7
-
certbot --nginx #来配置nginx
-
crontab -e # 创建定时任务
-
0 3 */7 * * certbot renew --renew-hook "nginx -s reload" # 写入到crontab -e命令中
如果要删除自动续期任务,直接crontab -e,然后删除某一行就完了
这篇关于linux/centos7/centos8免费配置https并自动续期的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!
- 2024-09-11Linux部署Scrapy学习:入门级指南
- 2024-09-11Linux部署Scrapy:入门级指南
- 2024-08-21【Linux】分区向左扩容的方法
- 2024-08-21【Linux】gnome桌面环境切换KDE Plasma
- 2024-08-19如何安装 VMware Tools (macOS, Linux, Windows)
- 2024-08-15Linux部署Scrapy教程:入门级指南
- 2024-07-29linux命令行下好用的性能监控工具atop
- 2024-07-04Linux系统上离线升级SSH服务的具体操作步骤-icode9专业技术文章分享
- 2024-06-0600-macOS和Linux安装和管理多个Python版本
- 2024-03-30[译]漫画SELinux概念