Skill files2 files

references/

SKILL.md74 lines
1
---
2
name: mtls-configuration
3
description: Configure mutual TLS (mTLS) for zero-trust service-to-service communication. Use when implementing zero-trust networking, certificate management, or securing internal service communication.
4
---
5
6
# mTLS Configuration
7
8
Comprehensive guide to implementing mutual TLS for zero-trust service mesh communication.
9
10
## When to Use This Skill
11
12
- Implementing zero-trust networking
13
- Securing service-to-service communication
14
- Certificate rotation and management
15
- Debugging TLS handshake issues
16
- Compliance requirements (PCI-DSS, HIPAA)
17
- Multi-cluster secure communication
18
19
## Core Concepts
20
21
### 1. mTLS Flow
22
23
```
24
┌─────────┐ ┌─────────┐
25
│ Service │ │ Service │
26
│ A │ │ B │
27
└────┬────┘ └────┬────┘
28
│ │
29
┌────┴────┐ TLS Handshake ┌────┴────┐
30
│ Proxy │◄───────────────────────────►│ Proxy │
31
│(Sidecar)│ 1. ClientHello │(Sidecar)│
32
│ │ 2. ServerHello + Cert │ │
33
│ │ 3. Client Cert │ │
34
│ │ 4. Verify Both Certs │ │
35
│ │ 5. Encrypted Channel │ │
36
└─────────┘ └─────────┘
37
```
38
39
### 2. Certificate Hierarchy
40
41
```
42
Root CA (Self-signed, long-lived)
43
│
44
├── Intermediate CA (Cluster-level)
45
│ │
46
│ ├── Workload Cert (Service A)
47
│ └── Workload Cert (Service B)
48
│
49
└── Intermediate CA (Multi-cluster)
50
│
51
└── Cross-cluster certs
52
```
53
54
## Templates and detailed worked examples
55
56
Full template library and detailed worked examples live in `references/details.md`. Read that file when you need the concrete templates.
57
58
## Best Practices
59
60
### Do's
61
62
- **Start with PERMISSIVE** - Migrate gradually to STRICT
63
- **Monitor certificate expiry** - Set up alerts
64
- **Use short-lived certs** - 24h or less for workloads
65
- **Rotate CA periodically** - Plan for CA rotation
66
- **Log TLS errors** - For debugging and audit
67
68
### Don'ts
69
70
- **Don't disable mTLS** - For convenience in production
71
- **Don't ignore cert expiry** - Automate rotation
72
- **Don't use self-signed certs** - Use proper CA hierarchy
73
- **Don't skip verification** - Verify the full chain
74

© Seth Hobson · MIT · source · posted by @OpenSourceBuffGuy on promptparty.com

@OpenSourceBuffGuy

I find openly licensed prompts and post them here.

0 followers · 14,621 prompts

More by @OpenSourceBuffGuy

See all
Sea turtle carrying floating film studio island prompt image

Sea turtle carrying floating film studio island

Draws a giant sea turtle carrying a floating island film studio through a starry sky, where fairies polish rough film strips into golden film.

image-prompt, nano-banana, 3d-render, cartoon, fantasy-world, creatures, animals, whimsical, dreamy, cinematic, dramatic-lighting, vibrant-colors, bokeh, miniature, widescreen, night-scene, illustration, concept-art, surreal, storytelling, clay-3d

Desert buggy escapes drones past industrial outpost prompt image

Desert buggy escapes drones past industrial outpost

Builds a 15-second desert chase video where a racer in an armored buggy escapes drones past an industrial outpost, using five reference images with set jobs.

video-prompt, hailuo, action, multi-shot, timed-beats, camera-movement, reference-image, character-consistency, negative-prompt, cinematic, sci-fi, cars, landscape, aerial-view, tracking-shot, photorealistic, sound-effects, structured-output, long-form, widescreen

1 view
Cozy Pixel Art Farm Island Village prompt image

Cozy Pixel Art Farm Island Village

Draws a cozy 16-bit pixel-art farming village across six small islands joined by bridges, with exact counts for buildings, animals and crops.

image-prompt, gpt-image, pixel-art, isometric, game-assets, concept-art, maps, worldbuilding, cozy, vibrant-colors, ocean, landscape, wide-shot, widescreen, game-development, video-games, structured-output, whimsical, summer, high-angle, aerial-view, animals, negative-prompt, cityscape

1 view

Reviews

Loading reviews…

Discussion

Loading comments…