Skillpedia
الأمان35k · #7767

configuring-tls-1-3-for-secure-communications

ما الذي تفعله

تساعد هذه المهارة على إعداد أحدث وأكثر إصدارات بروتوكول TLS أمانًا (TLS 1.3) على الخوادم. وتضمن حماية الاتصالات وتختبر صحة الإعدادات وأمانها.

متى تستخدمها

  • ✓عندما تُعد خادمًا جديدًا للتواصل الآمن.
  • ✓عندما تريد تحديث أمان خادم موجود.
  • ✓عندما تتحقق من أن الخادم محمي من الثغرات الأمنية المعروفة.

رابط المهارة

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/configuring-tls-1-3-for-secure-communications/SKILL.md

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/configuring-tls-1-3-for-secure-communications/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“اضبط TLS 1.3 على خادم الويب الخاص بي وتحقق من أنه آمن.”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

تعدّل المهارة إعدادات الخادم لاستخدام أحدث طرق التشفير وأكثرها أمانًا (TLS 1.3) فقط. ثم تستخدم أدوات أخرى للتأكد من أن كل شيء يعمل كما ينبغي وأنه لا توجد ثغرات أمنية.

المحتوى التقني (ملف SKILL.md الأصلي)

النص الأصلي من المؤلف، مباشرة من GitHub.

Configuring TLS 1.3 for Secure Communications

Overview

TLS 1.3 (RFC 8446) is the latest version of the Transport Layer Security protocol, providing significant improvements over TLS 1.2 in both security and performance. It reduces handshake latency to 1-RTT (and 0-RTT for resumed sessions), removes obsolete cipher suites, and mandates perfect forward secrecy. This skill covers configuring TLS 1.3 on servers, validating configurations, and testing for common misconfigurations.

When to Use

  • When deploying or configuring configuring tls 1 3 for secure communications capabilities in your environment
  • When establishing security controls aligned to compliance requirements
  • When building or improving security architecture for this domain
  • When conducting security assessments that require this implementation

Prerequisites

  • Familiarity with cryptography concepts and tools
  • Access to a test or lab environment for safe execution
  • Python 3.8+ with required dependencies installed
  • Appropriate authorization for any testing activities

Objectives

  • Configure TLS 1.3 on nginx and Apache web servers
  • Implement TLS 1.3 in Python applications using the ssl module
  • Validate TLS configurations with openssl and testssl.sh
  • Understand TLS 1.3 cipher suites and key exchange mechanisms
  • Configure 0-RTT early data with appropriate protections
  • Disable legacy TLS versions (1.0, 1.1) and weak cipher suites

Key Concepts

TLS 1.3 Cipher Suites

Cipher Suite Key Exchange Authentication Encryption Hash
TLS_AES_256_GCM_SHA384 ECDHE/DHE Certificate AES-256-GCM SHA-384
TLS_AES_128_GCM_SHA256 ECDHE/DHE Certificate AES-128-GCM SHA-256
TLS_CHACHA20_POLY1305_SHA256 ECDHE/DHE Certificate ChaCha20-Poly1305 SHA-256

TLS 1.3 vs 1.2 Improvements

  • 1-RTT Handshake: Full handshake completes in one round trip (vs 2 in TLS 1.2)
  • 0-RTT Resumption: Resumed connections can send data immediately
  • No RSA Key Exchange: Only ephemeral Diffie-Hellman (mandatory PFS)
  • Simplified Cipher Suites: Removed CBC, RC4, 3DES, static RSA, SHA-1
  • Encrypted Handshake: Server certificate is encrypted after ServerHello

Key Exchange Groups

  • x25519: Curve25519 ECDH (preferred, fast)
  • secp256r1: NIST P-256 ECDH (widely supported)
  • secp384r1: NIST P-384 ECDH (higher security margin)
  • x448: Curve448 ECDH (highest security)

Workflow

  1. Verify OpenSSL version supports TLS 1.3 (1.1.1+)
  2. Generate or obtain TLS certificate and private key
  3. Configure server to use TLS 1.3 cipher suites
  4. Disable TLS 1.0 and 1.1 (optionally keep 1.2 for compatibility)
  5. Set preferred key exchange groups
  6. Enable OCSP stapling for certificate validation
  7. Test configuration with openssl s_client and testssl.sh
  8. Configure HSTS header for HTTP Strict Transport Security

Security Considerations

  • 0-RTT data is vulnerable to replay attacks; limit to idempotent requests
  • Always include TLS 1.2 fallback if legacy client support is required
  • Use ECDSA certificates for better performance (vs RSA)
  • Enable OCSP stapling to improve client certificate validation
  • Set HSTS header with long max-age and includeSubDomains
  • Monitor for certificate transparency logs

Validation Criteria

  • TLS 1.3 handshake completes successfully
  • Only approved cipher suites are offered
  • Perfect forward secrecy is enforced
  • TLS 1.0 and 1.1 are rejected
  • OCSP stapling is functional
  • Certificate chain is valid and complete
  • testssl.sh reports no vulnerabilities
الأسئلة الشائعة

ما هو TLS 1.3؟

هو أحدث وأكثر إصدارات البروتوكول أمانًا لحماية الاتصالات على الإنترنت، مثل عند زيارة موقع إلكتروني. وهو أسرع وأكثر أمانًا من الإصدارات القديمة.

لماذا أستخدم TLS 1.3؟

لأنه يوفر أمانًا أفضل، ويحمي بياناتك من التنصت والهجمات، ويحسن أيضًا سرعة الاتصال.

هل أحتاج إلى معرفة البرمجة لاستخدام هذه المهارة؟

لا، لا تحتاج إلى معرفة برمجية. صُممت المهارة لتساعد على ضبط الأمان دون الحاجة إلى فهم التفاصيل البرمجية التقنية.

التفاصيل

الوصف الأصلي من المؤلف

Configures TLS 1.3 (RFC 8446) on servers, covering cipher suite and key-exchange group selection, and validates the resulting configuration with openssl s_client and testssl.sh. Use when deploying or hardening TLS 1.3 for secure communications, or when testing a server for common TLS misconfigurations and vulnerabilities.

repo: mukul975/Anthropic-Cybersecurity-Skills

الشعبية

نجوم GitHub
35k
الترتيب
#7767
الترخيص
Apache-2.0
آخر تحديث
31‏/8‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة