k8s-certs
Tools for managing and troubleshooting TLS/SSL certificates and issuers via cert-manager.
Install
mkdir -p .claude/skills/k8s-certs && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/4904" && unzip -o skill.zip -d .claude/skills/k8s-certs && rm skill.zipInstalls to .claude/skills/k8s-certs
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Kubernetes certificate management with cert-manager. Use when managing TLS certificates, configuring issuers, or troubleshooting certificate issues.Key capabilities
- →List and describe cluster issuers and certificates
- →Configure Let's Encrypt issuers for TLS
- →Monitor certificate expiry status
- →Troubleshoot certificate and issuer readiness
- →Integrate certificates with Kubernetes Ingress
How it works
The skill interfaces with cert-manager tools to list, describe, and apply certificate and issuer manifests within a Kubernetes cluster.
Inputs & outputs
When to use k8s-certs
- →Renewing expired certificates
- →Configuring Let's Encrypt issuers
- →Troubleshooting TLS errors
About this skill
Certificate Management with cert-manager
Manage TLS certificates using kubectl-mcp-server's cert-manager tools.
When to Apply
Use this skill when:
- User mentions: "certificate", "cert-manager", "TLS", "SSL", "issuer", "Let's Encrypt"
- Operations: creating certificates, configuring issuers, debugging cert issues
- Keywords: "https", "secure", "encrypt", "renew", "expiring"
Priority Rules
| Priority | Rule | Impact | Tools |
|---|---|---|---|
| 1 | Detect cert-manager first | CRITICAL | certmanager_detect_tool |
| 2 | Use staging issuer for testing | HIGH | Test with letsencrypt-staging |
| 3 | Check issuer before cert | HIGH | certmanager_clusterissuers_list_tool |
| 4 | Monitor certificate expiry | MEDIUM | certmanager_certificate_get_tool |
Quick Reference
| Task | Tool | Example |
|---|---|---|
| Detect cert-manager | certmanager_detect_tool | certmanager_detect_tool() |
| List certificates | certmanager_certificates_list_tool | certmanager_certificates_list_tool(namespace) |
| Get certificate | certmanager_certificate_get_tool | certmanager_certificate_get_tool(name, namespace) |
| List issuers | certmanager_clusterissuers_list_tool | certmanager_clusterissuers_list_tool() |
Check Installation
certmanager_detect_tool()
Certificates
List Certificates
certmanager_certificates_list_tool(namespace="default")
Get Certificate Details
certmanager_certificate_get_tool(
name="my-tls",
namespace="default"
)
Create Certificate
kubectl_apply(manifest="""
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: my-tls
namespace: default
spec:
secretName: my-tls-secret
issuerRef:
name: letsencrypt-prod
kind: ClusterIssuer
dnsNames:
- app.example.com
- www.example.com
""")
Issuers
List Issuers
certmanager_issuers_list_tool(namespace="default")
certmanager_clusterissuers_list_tool()
Get Issuer Details
certmanager_issuer_get_tool(name="my-issuer", namespace="default")
certmanager_clusterissuer_get_tool(name="letsencrypt-prod")
Create Let's Encrypt Issuer
kubectl_apply(manifest="""
apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
name: letsencrypt-staging
spec:
acme:
server: https://acme-staging-v02.api.letsencrypt.org/directory
email: [email protected]
privateKeySecretRef:
name: letsencrypt-staging-key
solvers:
- http01:
ingress:
class: nginx
""")
kubectl_apply(manifest="""
apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
name: letsencrypt-prod
spec:
acme:
server: https://acme-v02.api.letsencrypt.org/directory
email: [email protected]
privateKeySecretRef:
name: letsencrypt-prod-key
solvers:
- http01:
ingress:
class: nginx
""")
Create Self-Signed Issuer
kubectl_apply(manifest="""
apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
name: selfsigned
spec:
selfSigned: {}
""")
Certificate Requests
certmanager_certificaterequests_list_tool(namespace="default")
certmanager_certificaterequest_get_tool(
name="my-tls-xxxxx",
namespace="default"
)
Troubleshooting
Certificate Not Ready
certmanager_certificate_get_tool(name, namespace)
certmanager_certificaterequests_list_tool(namespace)
get_events(namespace)
Issuer Not Ready
certmanager_clusterissuer_get_tool(name)
get_events(namespace="cert-manager")
Ingress Integration
kubectl_apply(manifest="""
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: my-ingress
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
spec:
tls:
- hosts:
- app.example.com
secretName: app-tls
rules:
- host: app.example.com
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: my-service
port:
number: 80
""")
Prerequisites
- cert-manager: Required for all certificate tools
kubectl apply -f https://github.com/cert-manager/cert-manager/releases/latest/download/cert-manager.yaml
Related Skills
- k8s-networking - Ingress configuration
- k8s-security - Security best practices
When not to use it
- →Managing non-Kubernetes TLS certificates
- →Handling non-cert-manager certificate authorities
Prerequisites
Limitations
- →Requires cert-manager installed in the cluster
How it compares
It provides pre-configured tools for cert-manager operations instead of manually running kubectl commands for every resource check.
Compared to similar skills
k8s-certs side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| k8s-certs (this skill) | 1 | 6mo | Review | Intermediate |
| k8s-security | 1 | 6mo | Review | Advanced |
| container-security-testing | 1 | 7mo | Review | Intermediate |
| benchmarking-kubernetes-with-kube-bench | 0 | 1mo | Review | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by rohitg00
View all by rohitg00 →You might also like
k8s-security
rohitg00
Audit Kubernetes RBAC, enforce policies, and manage secrets. Use for security reviews, permission audits, policy enforcement with Kyverno/Gatekeeper, and secret management.
container-security-testing
Ed1s0nZ
容器安全测试的专业技能和方法论
benchmarking-kubernetes-with-kube-bench
mukul975
Run CIS Kubernetes Benchmark checks and remediate findings with kube-bench.
linkerd-patterns
wshobson
Implement Linkerd service mesh patterns for lightweight, security-focused service mesh deployments. Use when setting up Linkerd, configuring traffic policies, or implementing zero-trust networking with minimal overhead.
managing-network-policies
jeremylongshore
Execute use when managing Kubernetes network policies and firewall rules. Trigger with phrases like "create network policy", "configure firewall rules", "restrict pod communication", or "setup ingress/egress rules". Generates Kubernetes NetworkPolicy manifests following least privilege and zero-trust principles.
azure-stack-edge
orgdevendra
Expert knowledge for Azure Stack Edge development including troubleshooting, best practices, decision making, limits & quotas, security, configuration, integrations & coding patterns, and deployment. Use when running IoT Edge or GPU/Kubernetes apps, configuring VMs/storage/networking, or managing de