Files
WddSuperAgent/.cursor/rules/cert-manager-wdd.mdc

36 lines
990 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
description: 关于WDD实现的证书管理工具的设计概要
globs:
alwaysApply: false
---
# 模块目的
- 设置一个SSL证书申请 有效期管理的简单工具
### 参考项目
- 是 https://github.com/cert-manager/cert-manager 的超级简化版本
- 是 https://github.com/acmesh-official/acme.sh 的平行替代版本
## 申请证书
- 输入一个域名可以支持Cloudflare DNS验证的方式申请域名
- 申请域名的格式默认为ec-256
- CA服务器 不要违反其滥用策略 保持合适的等待时间
- ZeroSSL
- Let's Encrypt
- 证书目录
- 设置默认的证书保存目录,按照域名的形式保存证书
- 通配域名 如 *.qq.com的文件夹名称用 x.qq.com表示
## 证书查看
- 能够查看所有申请的证书信息
- domain名称
- 注册时间
- 到期时间
- 是否需要更新有效期不足30天
## 证书更新
- 传入domain名称
- 查询该证书的详细信息
- 重新为该domain申请新的证书