找回密码
 立即注册
搜索
查看: 1268|回复: 0

使用 Certbot 获取 Let’s Encrypt 证书

[复制链接]

267

主题

0

回帖

1176

积分

管理员

积分
1176
发表于 2023-12-29 00:55:19 | 显示全部楼层 |阅读模式

Let’s Encrypt

https://letsencrypt.org/

Let’s Encrypt is a free, automated, and open Certificate Authority.

Certbot

Automatically enable HTTPS on your website with EFF's Certbot, deploying Let's Encrypt certificates.

Install:

On Ubuntu systems, the Certbot team maintains a PPA. Once you add it to your list of repositories all you'll need to do is apt-get the following packages.

$ sudo apt-get update

$ sudo apt-get install software-properties-common

$ sudo add-apt-repository ppa:certbot/certbot

$ sudo apt-get update

$ sudo apt-get install python-certbot-nginx

$ sudo certbot --nginx

$ sudo certbot renew --dry-run #自动更新

执行该命令会创建系统级 cron 任务:/etc/cron.d/certbot,会每天检查两次。


您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|棱讯科技 ( 粤ICP备2024228160号-2|粤公网安备44030002003510号 )

GMT+8, 2024-12-31 01:17 , Processed in 0.015627 second(s), 3 queries , Redis On.

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表