Skip to content
Skills Library
Security · Review & audit

certificate-lifecycle

/certificate-lifecycle

Manage TLS/PKI certificate lifecycle and risk — inventory (CT logs, scanners, internal CA), expiry monitoring, automation with ACME/cert-manager, key protection, revocation after key compromise, CA trust and shortening validity periods (47-day public TLS by 2029), plus TLS configuration checks with openssl and testssl.sh. Use when certificates expire unexpectedly, a private key leaks, planning PKI automation, or reviewing TLS posture.

Repository
Claude-Blue ↗
Licence
MIT
Last repository change
01.11.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
6
Deprecation

No signals detected. Repository changed on 01.11.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Manage TLS/PKI certificate lifecycle and risk — inventory (CT logs, scanners, internal CA), expiry monitoring, automation with ACME/cert-manager, key protection, revocation after key compromise, CA trust and shortening validity periods (47-day public TLS by 2029), plus TLS configuration checks with openssl and testssl.sh. Use when certificates expire unexpectedly, a private key leaks, planning PKI automation, or reviewing TLS posture.

Original author description

Manage TLS/PKI certificate lifecycle and risk — inventory (CT logs, scanners, internal CA), expiry monitoring, automation with ACME/cert-manager, key protection, revocation after key compromise, CA trust and shortening validity periods (47-day public TLS by 2029), plus TLS configuration checks with openssl and testssl.sh. Use when certificates expire unexpectedly, a private key leaks, planning PKI automation, or reviewing TLS posture.

How it works

  1. Inventory
  2. Check a live endpoint
  3. Automation
  4. Key compromise response
  5. Related skills
  6. References
Original SKILL.md headings · 38 lines, 246 words
SKILL.md preview
---
name: certificate-lifecycle
description: Manage TLS/PKI certificate lifecycle and risk — inventory (CT logs, scanners, internal CA), expiry monitoring, automation with ACME/cert-manager, key protection, revocation after key compromise, CA trust and shortening validity periods (47-day public TLS by 2029), plus TLS configuration checks with openssl and testssl.sh. Use when certificates expire unexpectedly, a private key leaks, planning PKI automation, or reviewing TLS posture.
license: MIT
metadata:
  category: secrets-management
  version: "2.0.0"
  verification: documented
---

# Certificate Lifecycle

## Inventory

- Public certs: Certificate Transparency (`curl -s 'https://crt.sh/?q=%25.example.com&output=json' | jq -r '.[].name_value' | sort -u`), external scans.
- Internal: AD CS issued certificates database, cert-manager `Certificate` resources (`kubectl get certificates -A`), cloud certificate managers (ACM `aws acm list-certificates`, Azure Key Vault certificates, GCP Certificate Manager), load balancer and appliance configs.
- Record: subject/SANs, issuer, expiry, key type/size, location(s) deployed, owner, automation status.

## Check a live endpoint

```sh
echo | openssl s_client -connect www.example.com:443 -servername www.example.com 2>/dev/null | openssl x509 -noout -subject -issuer -dates -ext subjectAltName
testssl.sh --severity MEDIUM https://www.example.com      # protocols, ciphers, known vulns
```
Targets: TLS 1.2+ (prefer 1.3), no SSLv3/TLS 1.0/1.1, forward-secret ciphers, HSTS, ECDSA P-256 or RSA ≥ 2048, OCSP stapling.

## Automation

ACME (Let's Encrypt, ZeroSSL, internal ACME CAs) via certbot/lego/cert-manager; CA/Browser Forum ballot SC-081 phases public TLS max validity down to 200 days (2026), 100 days (2027) and **47 days (2029)** — manual renewal will not scale. Monitor expiry (alert at 30/14/7 days).

## Key compromise response

1. Revoke the certificate at the CA (reason `keyCompromise`).
2. Generate a **new key pair** (never reuse the key), issue, deploy everywhere the old cert lived.
3. Investigate how the key leaked (`secret-leak-response`); internal CA key compromise → rebuild CA, distrust old root/intermediate (AD CS: remove from NTAuth — `adcs-security-review`).

## Related skills

`secret-leak-response`, `adcs-security-review`, `kms-key-review`, `external-attack-surface-review`, `tls-reverse-proxy-build`

## References

- CA/Browser Forum Baseline Requirements: https://cabforum.org/working-groups/server/baseline-requirements/
- cert-manager: https://cert-manager.io/docs/
- testssl.sh: https://testssl.sh/
- Mozilla server-side TLS guidelines: https://wiki.mozilla.org/Security/Server_Side_TLS

Versions

The database has no other skills named certificate-lifecycle.

Database snapshot: 13.11.2026 · package version ec0ea4ad3117 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 1 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 90OpenSSL
    Expert guidance for OpenSSL operations including certificate generation, key management, CSR creation, certificate verification, encryption, and PKI operations. Use this when working with SSL/TLS certificates, cryptographic keys, or PKI infrastructure.
  • 100certificate-management
    Use when managing TLS certificates and PKI infrastructure — issuing, renewing, or rotating certificates, debugging TLS handshake failures, managing cert-manager in Kubernetes, operating an internal CA, creating CSRs, or checking certificate expiration. Also use for "certificate…
  • 100pki-secrets
    Certificate, secret and access-management standards — cert-manager with ACME (HTTP-01/DNS-01) or Vault PKI, certificate-expiry alerting, External Secrets Operator with Key Vault/Secrets Manager/Vault, SOPS and Sealed Secrets, secret-leak prevention (gitleaks), workload identity,…
  • 90performing-ssl-certificate-lifecycle-management
    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…
  • 100configuring-certificate-authority-with-openssl
    Build a two-tier PKI Certificate Authority hierarchy (offline Root CA plus issuing Intermediate CA) using OpenSSL and the Python cryptography library, covering certificate extensions, CRL distribution points, OCSP responder configuration, and certificate policy management. Use…
  • 90PKI and X.509
    Expert guidance for Public Key Infrastructure (PKI) and X.509 certificates including certificate structure, DN parsing, CSR generation, certificate signing, revocation (CRL/OCSP), key management, and OpenSSL commands. Use this when working with digital certificates, certificate…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.