跳到正文
Skillpedia
技术文档35k · #8312

performing-ssl-tls-inspection-configuration

它能做什么

这个技能可以帮助配置网络安全设备对加密流量(如 HTTPS)的检测。它让网络能够查看这些流量的内容以发现威胁,相当于一个受信任的中间人。

适用场景

  • ✓设置网络安全以监控加密流量时。
  • ✓审计安全配置,确保能检测到恶意流量时。
  • ✓应对可能涉及隐藏流量的安全事件时。

技能链接

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/performing-ssl-tls-inspection-configuration/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/performing-ssl-tls-inspection-configuration/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“在我的防火墙上配置 SSL/TLS 检测,以便查看 HTTPS 流量。”

每周 5 个新技能,1 分钟读完。

工作原理

这个技能会配置网络设备,拦截并解密加密流量。这包括创建受信任的证书,并设置规则,在重新加密之前检查流量内容。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Performing SSL/TLS Inspection Configuration

Overview

SSL/TLS inspection (also called SSL decryption, HTTPS inspection, or TLS break-and-inspect) intercepts encrypted traffic between clients and servers to inspect the cleartext content for malware, data exfiltration, policy violations, and command-and-control communications. The inspection device acts as a trusted man-in-the-middle, terminating the TLS session from the client, inspecting the plaintext content, and establishing a new TLS session to the destination server. With over 95% of web traffic now encrypted, organizations without TLS inspection have a massive blind spot. This skill covers configuring TLS inspection on next-generation firewalls, deploying trusted CA certificates, managing exemptions for certificate-pinned applications, and ensuring compliance with privacy regulations.

When to Use

  • When conducting security assessments that involve performing ssl tls inspection configuration
  • When following incident response procedures for related security events
  • When performing scheduled security testing or auditing activities
  • When validating security controls through hands-on testing

Prerequisites

  • Next-generation firewall or secure web gateway with TLS inspection capability
  • Internal Certificate Authority (CA) for signing inspection certificates
  • Endpoint certificate management (GPO, MDM, or manual deployment)
  • Privacy and legal review for TLS inspection scope
  • Understanding of PKI, X.509 certificates, and TLS handshake

Core Concepts

SSL/TLS Inspection Modes

Mode Direction Description
SSL Forward Proxy Outbound Intercepts client-to-internet HTTPS connections
SSL Inbound Inspection Inbound Decrypts traffic destined for internal servers
SSH Proxy Both Inspects SSH tunneled traffic

Forward Proxy Process

Client                  Firewall/Proxy              Web Server
  │                         │                          │
  │──TLS ClientHello──────→│                          │
  │                         │──TLS ClientHello───────→│
  │                         │←─TLS ServerHello────────│
  │                         │  (real server cert)      │
  │                         │                          │
  │                         │  [Validates server cert]  │
  │                         │  [Generates proxy cert   │
  │                         │   signed by internal CA]  │
  │                         │                          │
  │←─TLS ServerHello───────│                          │
  │  (proxy-signed cert)    │                          │
  │                         │                          │
  │──Encrypted data────────→│  [Decrypt, Inspect]      │
  │                         │──Encrypted data────────→│
  │←─Encrypted data─────────│  [Decrypt, Inspect]      │
  │                         │←─Encrypted data─────────│

Certificate Trust Chain

Enterprise Root CA
  └── Subordinate CA (SSL Inspection)
        └── Dynamically Generated Server Certificates
             (CN matches requested server)

Workflow

Step 1: Generate Internal CA for SSL Inspection

# Create private key for SSL Inspection CA
openssl genrsa -aes256 -out ssl-inspect-ca.key 4096

# Create CA certificate (5 year validity)
openssl req -new -x509 -key ssl-inspect-ca.key \
  -sha256 -days 1825 \
  -out ssl-inspect-ca.crt \
  -subj "/C=US/ST=California/O=Corp Inc/OU=Network Security/CN=Corp SSL Inspection CA" \
  -extensions v3_ca \
  -config <(cat <<EOF
[req]
distinguished_name = req_dn
x509_extensions = v3_ca

[req_dn]

[v3_ca]
basicConstraints = critical,CA:TRUE,pathlen:0
keyUsage = critical,digitalSignature,keyCertSign,cRLSign
subjectKeyIdentifier = hash
authorityKeyIdentifier = keyid:always
EOF
)

# Verify certificate
openssl x509 -in ssl-inspect-ca.crt -text -noout

Step 2: Deploy CA Certificate to Endpoints

Windows (Group Policy):

# Import CA cert to trusted root store via GPO
# Computer Configuration > Policies > Windows Settings >
# Security Settings > Public Key Policies > Trusted Root CAs

# Or deploy via PowerShell
Import-Certificate -FilePath "\\server\share\ssl-inspect-ca.crt" `
  -CertStoreLocation "Cert:\LocalMachine\Root"

# Verify deployment
Get-ChildItem Cert:\LocalMachine\Root | Where-Object {
    $_.Subject -like "*SSL Inspection CA*"
}

macOS (MDM profile or manual):


…
常见问题

什么是 SSL/TLS 检测?

这是一个过程:安全设备拦截加密流量(如 HTTPS),将其解密以检查是否存在威胁,然后再重新加密并发送到目的地。

为什么 SSL/TLS 检测很重要?

大部分互联网流量都是加密的。如果不进行检测,隐藏在加密流量中的威胁可能无法被安全系统发现。

设置 SSL/TLS 检测需要哪些前提条件?

你需要一台支持 SSL/TLS 检测功能的防火墙或安全网关、一个用于签发检测证书的内部证书颁发机构,以及将这些证书部署到用户设备上的能力。

详情

作者的原始描述

Configure SSL/TLS break-and-inspect on next-generation firewalls and forward proxies to decrypt, inspect, and re-encrypt HTTPS traffic for malware and exfiltration detection, including deploying trusted CA certificates, managing exemptions for certificate-pinned apps, and privacy compliance. Use when setting up or auditing TLS inspection on network security devices to close the encrypted-traffic b

repo: mukul975/Anthropic-Cybersecurity-Skills

热度

GitHub 星标
35k
排名
#8312
许可证
Apache-2.0
更新时间
2026/8/31

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能