letsencrypt

使用 Certbot 和 Let's Encrypt 获取免费的 TLS 证书。适用于需要为网站添加 HTTPS、获取免费 SSL 证书、实现证书自动续订或用 TLS 保护 Web 服务器的场景。

仓库最近推送
GitHub Stars
219
Forks
38
Issues / PRs
7

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "letsencrypt":https://skillpi.com/zh/skills/deepskill-f92bc0c7851f6a50257084c4b74cc87d935c0c9525c2c09aa5a716f6c8e5a3a3。安装前核对上游来源和版本:https://github.com/TerminalSkills/skills。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

github.com

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

使用 Certbot 和 Let's Encrypt 获取免费的 TLS 证书。适用于需要为网站添加 HTTPS、获取免费 SSL 证书、实现证书自动续订或用 TLS 保护 Web 服务器的场景。

0 下载

介绍来源: third_party · TerminalSkills · 1.0.0 参考来源

SkillPi 解读

实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: letsencrypt
description: >-
  Get free TLS certificates with Certbot and Let's Encrypt. Use when a user
  asks to add HTTPS to a website, get a free SSL certificate, auto-renew
  certificates, or secure a web server with TLS.
license: Apache-2.0
compatibility: 'Any web server (Nginx, Apache, standalone)'
metadata:
  author: terminal-skills
  version: 1.0.0
  category: devops
  tags:
    - letsencrypt
    - tls
    - ssl
    - https
    - certbot

Let's Encrypt

Overview

Let's Encrypt provides free, automated TLS certificates. Certbot is the official client — obtains and renews certificates automatically. Supports Nginx, Apache, standalone, and DNS validation for wildcards.

Instructions

Step 1: Install Certbot

sudo apt install certbot python3-certbot-nginx

Step 2: Get Certificate

# Automatic Nginx configuration
sudo certbot --nginx -d example.com -d www.example.com

# Standalone (no web server needed)
sudo certbot certonly --standalone -d example.com

# DNS validation (for wildcards)
sudo certbot certonly --manual --preferred-challenges dns -d "*.example.com"

Step 3: Auto-Renewal

# Certbot installs a systemd timer automatically
sudo systemctl status certbot.timer
sudo certbot renew --dry-run    # test renewal

Step 4: Docker with Traefik

# docker-compose.yml — Automatic TLS with Traefik
services:
  traefik:
    image: traefik:v3
    command:
      - --entrypoints.websecure.address=:443
      - --certificatesresolvers.le.acme.email=admin@example.com
      - --certificatesresolvers.le.acme.storage=/acme/acme.json
      - --certificatesresolvers.le.acme.httpchallenge.entrypoint=web
    ports: ["80:80", "443:443"]
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock:ro
      - acme:/acme
volumes:
  acme:

Guidelines

  • Certificates valid for 90 days — auto-renewal handles this.
  • Rate limits: 50 certs per domain per week.
  • Use DNS validation for wildcard certs and internal servers.
  • For containers, Traefik or Caddy handle Let's Encrypt automatically.

当前收录版本

1.0.0

核对来源版本 ↗

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值85/100

亮点

  • 提供获取免费 TLS 证书的完整流程,覆盖多种 Web 服务器场景
  • 包含自动续订和 Docker 集成方案,实用性强
触发精准95/100

亮点

  • 触发词精准完整,覆盖多种用户请求场景
结构规范90/100

亮点

  • 文档结构清晰,步骤分明,包含具体命令和配置示例
执行可靠88/100

亮点

  • 工具来源明确,参数正确,覆盖了主要异常情况和最佳实践
证据可验 (前四项均值)90/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。