Computer >> บทช่วยสอนคอมพิวเตอร์ >  >> ระบบเครือข่าย >> ความปลอดภัยเครือข่าย

Certificate Authority (CA) ในความปลอดภัยเครือข่ายคืออะไร?

Certificate Authority (CA) คืออะไร?

CA (Certificate Authority) หรือ องค์กรออกใบรับรอง เป็นบุคคลที่สามที่ไว้ใจได้ (Trusted Third Party) ที่ออก ใช้จัดการ และเพิกถอน Digital Certificates (PKI) เพื่อยืนยันตัวตนและเข้ารหัสการสื่อสารบนเครือข่ายสาธารณะ (Internet)

บทบาทของ CA

  • ออกใบรับรอง (Issue Certificates) – ผูก Public Key กับ Identity
  • ตรวจสอบตัวตน (Validate Identity) – DV, OV, EV
  • จัดการวงจรชีวิตใบรับรอง (Lifecycle Management) – Renew, Revoke (CRL/OCSP)
  • เผยแพร่ Root CA Certificate ให้ Browser/OS Trust Store นำเข้า
  • บังคับใช้นโยบาย (CA/Browser Forum Baseline Requirements)

CA Service (Managed PKI)

บริการ CA แบบคลาวด์ (เช่น Google Cloud CA, AWS Private CA, DigiCert, GlobalSign, Sectigo) ทำให้การตั้งค่า Private CA เรียบง่าย อัตโนมัติ และปลอดภัย ไม่ต้องดูแล Infrastructure เอง

Trusted CA (Commercial CA)

CA ที่ Browser/OS (Microsoft, Apple, Mozilla, Google) ยอมรับ Root Certificate อยู่ใน Trust Store แล้ว เช่น DigiCert, GlobalSign, Let's Encrypt, Sectigo, Entrust

ทำไมต้องใช้ CA?

  • ยืนยันตัวตนเว็บไซต์/เซิร์ฟเวอร์ (Authentication) – กัน Spoofing/Phishing
  • เข้ารหัสการสื่อสาร (Encryption) – TLS/HTTPS
  • ความสมบูรณ์ (Integrity) – ป้องกันการแก้ไขข้อมูลระหว่างทาง
  • Non-repudiation – Digital Signatures

ขอใบรับรอง (Certificate) จาก CA

  1. สร้าง CSR (Certificate Signing Request) บน Server (Private Key อยู่ที่ Server)
  2. ส่ง CSR ไปยัง CA (พร้อมหลักฐานตัวตน: Domain Validation, Organization Docs)
  3. CA Verify > Sign CSR ด้วย Private Key ของ CA > ส่ง Certificate กลับมา
  4. ติดตั้ง Certificate บน Server (พร้อม Private Key และ Chain)

CA ใน Blockchain

ใน Permissioned Blockchain (Hyperledger Fabric, R3 Corda) CA ใช้สำหรับ Enroll Users/Nodes ออก Identity Certificates (ECert/TLS Cert) ใช้ใน TLS และ Signing Transactions

6 หน้าที่หลักของ CA (X.509 / RFC 5280)

  1. รับและประมวลผลคำขอ Certificate
  2. ยืนยันตัวตน Subscriber (Identity Proofing)
  3. ออก Certificate (Sign with CA Private Key)
  4. เผยแพร่ Certificate (Directory, OCSP)
  5. เพิกถอน Certificate (Revocation - CRL/OCSP)
  6. Archive/เก็บบันทึก (Audit Logs)

เริ่ม/หยุด Certificate Services (Windows CA)

  • Start: Server Manager > Tools > Certification Authority > Right-click CA Name > Start
  • Stop: 同上 > Stop
  • PowerShell: Start-Service CertSvc / Stop-Service CertSvc

การนำ Root CA ไปใส่ Trust Store

Windows: certlm.msc > Trusted Root Certification Authorities > Import > ใส่ Root CA .cer/.crt > จะไว้ใจ Certificates ที่ CA นั้นออกทั้งหมด