本文へスキップ
Skillpedia
セキュリティ41k · #6661

mtls-configuration

できること

このツールは、コンピューターのサービス同士が安全に通信できるように、mTLSという特別なセキュリティの設定を支援します。各サービスに身分証明書を持たせて、許可されたサービスだけが通信できるようにするイメージです。

使う場面

  • ✓サービスが互いに身元を証明する必要があるネットワークを構築するとき。
  • ✓システムの各部分の間の通信を安全にしたいとき。
  • ✓サービスのセキュリティ証明書を管理・更新するとき。

スキルのリンク

https://github.com/wshobson/agents/blob/main/plugins/cloud-infrastructure/skills/mtls-configuration/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/wshobson/agents/blob/main/plugins/cloud-infrastructure/skills/mtls-configuration/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“サービス間の安全な通信のために、mTLSをどのように設定すればよいですか?”

毎週5つの新しいスキル。1分で読めます。

仕組み

「ハンドシェイク」と呼ばれる手順を使います。サービス同士がデジタル証明書を交換して、互いの身元を確認します。これにより、安全で暗号化された通信経路が作られます。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

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
よくある質問

mTLSとは何ですか?

「Mutual Transport Layer Security(相互型トランスポート層セキュリティ)」の略です。通信の前に、クライアントとサーバーの両方が互いに身元を証明する仕組みです。

なぜmTLSを使うのですか?

特にマイクロサービスの構成や「ゼロトラスト」のネットワークのように、サービス同士が通信する環境でセキュリティを高めるためです。

「ルートCA」とは何ですか?

証明書を発行し、署名する最上位の認証局です。他のすべての証明書を検証する、大元の公証人のようなものと考えてください。

詳細

作者による元の説明

Configure mutual TLS (mTLS) for zero-trust service-to-service communication. Use when implementing zero-trust networking, certificate management, or securing internal service communication.

repo: wshobson/agents

人気

GitHubのスター
41k
ランキング
#6661
ライセンス
MIT
更新日
2026/10/15

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル