mtls-configuration
π―SkillA guide for making your internal services check each other's digital ID before they talk. It helps you lock down traffic inside your system so only trusted services can connect.
Installation
npx skills add wshobson/agents --skill mtls-configurationRun it in a terminal; it asks which AI coding tools to install it for (Claude Code, Codex, Cursor and more).
Uses skills.sh Β· Node.js 22.20+
After installing
Ask for related work and the agent uses it on its own, or call it yourself.
/mtls-configurationInstall by hand
Copy the whole skill folder from GitHub to the place below. Copying only SKILL.md can leave out files the skill uses.
Open the skill folder β- This project
.claude/skills/mtls-configuration/ - All projects
~/.claude/skills/mtls-configuration/
These paths are for Claude Code. For other tools, the command above puts it in the right place.
What this skill does
Overview
This skill explains how to set up mutual TLS, or mTLS. With mTLS, both sides of a connection show a certificate, a kind of digital ID, and check the other side's. It supports a zero-trust approach, where no service is trusted just because it sits inside your network.
Key Features
- Learn how two services check each other's certificates before sharing data.
- Plan a certificate chain that runs from one main issuer down to each service.
- Move step by step from a lenient mode (PERMISSIVE) to a strict mode (STRICT).
- Use short-lived certificates and set alerts before they expire.
- Use the ready-made templates and examples in
references/details.md.
Who is this for?
It suits platform and DevOps engineers who protect traffic between internal services. It also helps teams that must follow security rules for payment or health data, like PCI-DSS or HIPAA. It is useful when a secure connection fails and you need to find out why.
Summarized by AI from this skill's SKILL.md. Suggest a better one
SKILL.md
View on GitHub βConfigure mutual TLS (mTLS) for zero-trust service-to-service communication. Use when implementing zero-trust networking, certificate management, or securing internal service communication.
mTLS Configuration
Comprehensive guide to implementing mutual TLS for zero-trust service mesh communication.
When to Use This Skill
- Implementing zero-trust networking
- Securing service-to-service communication
- Certificate rotation and management
- Debugging TLS handshake issues
- Compliance requirements (PCI-DSS, HIPAA)
- Multi-cluster secure communication
Core Concepts
1. mTLS Flow
βββββββββββ βββββββββββ
β Service β β Service β
β A β β B β
ββββββ¬βββββ ββββββ¬βββββ
β β
ββββββ΄βββββ TLS Handshake ββββββ΄βββββ
β Proxy ββββββββββββββββββββββββββββββΊβ Proxy β
β(Sidecar)β 1. ClientHello β(Sidecar)β
β β 2. ServerHello + Cert β β
β β 3. Client Cert β β
β β 4. Verify Both Certs β β
β β 5. Encrypted Channel β β
βββββββββββ βββββββββββ
2. Certificate Hierarchy
Root CA (Self-signed, long-lived)
β
βββ Intermediate CA (Cluster-level)
β β
β βββ Workload Cert (Service A)
β βββ Workload Cert (Service B)
β
βββ Intermediate CA (Multi-cluster)
β
βββ Cross-cluster certs
Templates and detailed worked examples
Full template library and detailed worked examples live in references/details.md. Read that file when you need the concrete templates.
Best Practices
Do's
- Start with PERMISSIVE - Migrate gradually to STRICT
- Monitor certificate expiry - Set up alerts
- Use short-lived certs - 24h or less for workloads
- Rotate CA periodically - Plan for CA rotation
- Log TLS errors - For debugging and audit
Don'ts
- Don't disable mTLS - For convenience in production
- Don't ignore cert expiry - Automate rotation
- Don't use self-signed certs - Use proper CA hierarchy
- Don't skip verification - Verify the full chain
More from this repository10
Helps you build a consistent look for your app with Tailwind CSS v4. It sets up shared colors, sizes, dark mode and reusable components so every screen matches.
A guide to TypeScript's advanced type features, which describe the shape of your data so mistakes are caught before the code runs. It covers reusable types, types that change based on rules, and built-in helper types, with short examples.
Guidance for building reliable server-side apps with Node.js, using Express or Fastify. It covers login, error handling, databases, API design and a list of proven best practices.
Intelligent automation and multi-agent orchestration for Claude Code
Claude Code plugin for AI-powered framework migration workflows, coordinating specialized agents to plan and execute transitions between technology stacks as part of the wshobson/agents marketplace.
A Claude Code plugin for payment system integration covering Stripe, PayPal, and billing platforms with checkout flows, subscription management, and webhook handling in the wshobson/agents ecosystem.
A Claude Code plugin bundling core development tools and agents for everyday tasks like debugging and code generation, part of the wshobson/agents marketplace with 73 focused plugins.
Claude Code plugin for observability and monitoring including logging, metrics, distributed tracing, and alerting, part of the wshobson/agents marketplace with 73 focused plugins.
A Claude Code plugin providing specialized AI agents for deployment strategy planning and execution, covering blue-green deployments, canary releases, rolling updates, and zero-downtime patterns.
Claude Code plugin for JVM language development including Java, Kotlin, and Scala with specialized agents for idiomatic patterns, build tools, and runtime optimization in the wshobson/agents marketplace.