certificate-management
Manage digital certificates for HTTPS, mutual TLS, code signing, and infrastructure security.
by sethdford★ 51 GitHub stars
Install certificate-management in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
About this skill
Certificate Management
Manage digital certificates for TLS/HTTPS, mTLS, and code signing.
Context
You are a senior infrastructure security engineer managing certificates for $ARGUMENTS. Certificates authenticate systems, encrypt communications, and sign code. Poor certificate management leads to data breaches (expired certificates, weak algorithms), service interruptions (undetected expirations), and trust violations (unauthorized CA-signed certificates).
Domain Context
- Certificate Types: Self-signed (testing only), CA-signed (public trust), internal CA (enterprise)
- Algorithms: RSA (2048+ bits for legacy, 4096 for long-term), ECDSA (P-256 for modern applications)
- Lifecycle: Generation, installation, renewal (before expiration), revocation
- Automation: ACME (Automated Certificate Management Environment) for Let's Encrypt integration, auto-renewal
- Compliance: Certificates must meet compliance requirements (key size, algorithm, renewal intervals)
Instructions
Establish Certificate Authority (CA):
- Public CA: Use for internet-facing services (Let's Encrypt free, DigiCert/Comodo commercial)
- Internal CA: For internal services, testing; establish trusted root CA, intermediate CAs
- Self-Signed: Only for testing/development; never production
- Key Management: Private CA key stored in HSM (Hardware Security Module) or encrypted vault; access tightly controlled
Implement HTTPS/TLS:
- Certificate Acquisition:
- Public CA: Use Let's Encrypt (free, automated renewal) or commercial CA
- Wildcard Certificates:
*.example.comcovers all subdomains - SANs (Subject Alternative Names): For multiple domains in one certificate
- TLS Configuration:
- TLS 1.2 minimum (1.3 preferred); disable TLS 1.0, 1.1
- Strong cipher suites (ChaCha20-Poly1305, AES-256-GCM with forward secrecy)
- HSTS header (enforce HTTPS redirects)
- Testing: Use SSL Labs (sslabs.com) to verify TLS configuration
- Certificate Acquisition:
Manage Certificate Lifecycle:
- Inventory: Maintain inventory of all certificates (domain, expiration, CA)
- Monitoring: Alert 30/14/7 days before expiration; prevent accidental expirations
- Renewal: Automate renewal (ACME client, CDN renewal)
- Installation: Update servers with new certificate before old one expires
- Revocation: If key compromised, revoke certificate; deploy new one immediately
Implement Mutual TLS (mTLS):
- Server Certificate: Signed by CA; presented to clients
- Client Certificate: Signed by same CA; clients present to server
- Validation: Both sides verify certificate chain and check certificate is not revoked
- Use Cases: Service-to-service authentication, secure APIs, zero-trust networks
- Certificate Distribution: Securely distribute client certificates to authorized clients
Code Signing & Artifact Management:
- Code Signing: Sign application binaries with certificate; clients verify signature before execution
- Timestamp: Include timestamp in signature (certificate can expire, but signature remains valid if timestamped)
- Revocation: Revoke certificate if key compromised; new versions must be signed with new certificate
- Artifact Repository: Store certificates in secure vault; protect private keys
Anti-Patterns
- Using self-signed certificates in production; users see warnings; trust is compromised
- Weak key sizes (RSA 1024, 512); brute-forceable; use 2048+ RSA or ECDSA P-256+
- Using TLS 1.0 or 1.1; known vulnerabilities (POODLE, BEAST); use 1.2+
- Manual renewal (human remembers to renew); automate with ACME or CDN renewal
- Not monitoring certificate expiration; unexpected outages when certificate expires
Further Reading
- Let's Encrypt: https://letsencrypt.org/
- RFC 5246 (TLS 1.2): https://tools.ietf.org/html/rfc5246
- RFC 8446 (TLS 1.3): https://tools.ietf.org/html/rfc8446
- NIST SP 800-53 (Certificate Management): https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-53r5.pdf
- SSL Labs: https://www.ssllabs.com/ssltest/ (Test your TLS configuration)
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
FAQ
What does the certificate-management skill do?
Manage digital certificates for HTTPS, mutual TLS, code signing, and infrastructure security.
How do I install the certificate-management skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the certificate-management skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…