跳到正文
Skillpedia
部署与云(DevOps)35k · #8310

performing-ssl-certificate-lifecycle-management

它能做什么

这个工具用于管理网站和服务的安全证书(SSL/TLS)。它会自动完成证书的获取、续期和监控,防止证书过期后引发问题。

适用场景

  • ✓需要续期即将过期的安全证书时。
  • ✓设置需要安全证书的新网站或服务时。
  • ✓检查系统的安全证书是否正常工作时。

技能链接

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/performing-ssl-certificate-lifecycle-management/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/performing-ssl-certificate-lifecycle-management/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“帮我续期我域名的安全证书。”

每周 5 个新技能,1 分钟读完。

工作原理

工具使用一种名为 ACME 的协议与证书颁发机构通信。它可以生成证书请求、获取证书、将证书安装到服务器上,并检查证书是否处于有效状态。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Performing SSL Certificate Lifecycle Management

Overview

SSL/TLS certificate lifecycle management encompasses the full process of requesting, issuing, deploying, monitoring, renewing, and revoking X.509 certificates. Poor certificate management is a leading cause of outages and security incidents. This skill covers automating the entire certificate lifecycle using Python and ACME protocol tools.

When to Use

  • When conducting security assessments that involve performing ssl certificate lifecycle management
  • When following incident response procedures for related security events
  • When performing scheduled security testing or auditing activities
  • When validating security controls through hands-on testing

Prerequisites

  • Familiarity with cryptography concepts and tools
  • Access to a test or lab environment for safe execution
  • Python 3.8+ with required dependencies installed
  • Appropriate authorization for any testing activities

Objectives

  • Generate Certificate Signing Requests (CSRs) programmatically
  • Parse and validate X.509 certificates
  • Monitor certificate expiration across infrastructure
  • Automate renewal using ACME protocol (Let's Encrypt)
  • Implement certificate revocation checking (CRL and OCSP)
  • Track certificate inventory across multiple domains

Key Concepts

Certificate Lifecycle Stages

  1. Request: Generate key pair and CSR
  2. Issuance: CA validates and issues certificate
  3. Deployment: Install certificate on servers
  4. Monitoring: Track expiration and health
  5. Renewal: Request new certificate before expiry
  6. Revocation: Invalidate compromised certificates

Certificate Types

Type Validation Use Case
DV (Domain Validation) Domain ownership Websites, APIs
OV (Organization Validation) Domain + org identity Business sites
EV (Extended Validation) Full legal verification E-commerce, banking
Wildcard *.domain.com Multi-subdomain
SAN/UCC Multiple domains Multi-domain hosting

Security Considerations

  • Set up automated monitoring for all certificates
  • Use ECDSA (P-256) certificates for better performance over RSA
  • Enable OCSP stapling on all servers
  • Implement Certificate Transparency log monitoring
  • Maintain inventory of all certificates and their locations
  • Plan for CA compromise scenarios (key pinning, backup CAs)

Validation Criteria

  • CSR generation produces valid PKCS#10 request
  • Certificate parsing extracts all relevant fields
  • Expiration monitoring detects certificates within threshold
  • Certificate chain validation verifies trust path
  • OCSP checking detects revoked certificates
  • Certificate inventory tracks all deployed certificates
常见问题

什么是 SSL/TLS 证书?

这是一个数字文件,用来验证网站或服务的身份,并让用户与服务器之间的通信可以加密(即安全传输)。

为什么证书管理很重要?

证书过期会让网站或服务显得不可信或无法访问,还可能危及数据安全。

什么是 ACME 协议?

这是一种自动化协议,让软件能够高效地向证书颁发机构申请并管理安全证书。

详情

作者的原始描述

Automates the full SSL/TLS certificate lifecycle, including generating Certificate Signing Requests, issuing, deploying, monitoring, renewing, and revoking X.509 certificates, using Python and ACME protocol tools. Use when managing certificate issuance or renewal, preventing certificate-expiry outages, or building automated PKI/ACME workflows.

repo: mukul975/Anthropic-Cybersecurity-Skills

热度

GitHub 星标
35k
排名
#8310
许可证
Apache-2.0
更新时间
2026/8/31

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能