Chapter 16 HTTPS - ChoDragon9/posts GitHub Wiki

OSI ๋ชจ๋ธ(Open Systems Interconnection Reference Model)

๊ตญ์ œํ‘œ์ค€ํ™”๊ธฐ๊ตฌ(ISO)์—์„œ ๊ฐœ๋ฐœํ•œ ๋ชจ๋ธ๋กœ, ์ปดํ“จํ„ฐ ๋„คํŠธ์›Œํฌ ํ”„๋กœํ† ์ฝœ ๋””์ž์ธ๊ณผ ํ†ต์‹ ์„ ๊ณ„์ธต์œผ๋กœ ๋‚˜๋ˆ„์–ด ์„ค๋ช…ํ•œ ๊ฒƒ์ด๋‹ค. ์ผ๋ฐ˜์ ์œผ๋กœ OSI ๊ณ„์ธต์ด๋ผ๊ณ  ํ•œ๋‹ค.

7. ์‘์šฉ ๊ณ„์ธต(Application layer)
   - ๋„คํŠธ์›Œํฌ ์†Œํ”„ํŠธ์›จ์–ด UI ๋ถ€๋ถ„. ์‚ฌ์šฉ์ž์˜ ์ž…์ถœ๋ ฅ(I/O) ๋ถ€๋ถ„.
   - HTTP, HTTPS, FTP
6. ํ‘œํ˜„ ๊ณ„์ธต(Presentation layer)
   - ์••์ถ•, ์•”ํ˜ธํ™”
   - XDR
5. ์„ธ์…˜ ๊ณ„์ธต(Session layer)
   - TCP/IP ์„ธ์…˜์„ ๋งŒ๋“ค๊ณ  ์—†์• ๋Š” ์ฑ…์ž„. ์šด์˜์ฒด์ œ๊ฐ€ ๋‹ด๋‹น.
   - TCP์˜ ์„ธ์…˜ ๊ด€๋ฆฌ ๋ถ€๋ถ„
4. ์ „์†ก ๊ณ„์ธต(Transport layer)
   - ํŒจํ‚ท ์ƒ์„ฑ.
   - TCP, UDP
3. ๋„คํŠธ์›Œํฌ ๊ณ„์ธต(Network Layer)
   - ์ฃผ์†Œ๋ถ€์—ฌ(IP), ๊ฒฝ๋กœ์„ค์ •(Route)
2. ๋ฐ์ดํ„ฐ ๋งํฌ ๊ณ„์ธต(Data link layer)
   - MAC ์ฃผ์†Œ๋ถ€์—ฌ. ๋ฌผ๋ฆฌ๊ณ„์ธต์˜ ์—๋Ÿฌ๊ฒ€์ถœ/์žฌ์ „์†ก/ํ๋ฆ„์ œ์–ด
1. ๋ฌผ๋ฆฌ ๊ณ„์ธต(Physical Layer)
   - ๋„คํŠธ์›Œํฌ์˜ ๊ธฐ๋ณธ ๋„คํŠธ์›Œํฌ ํ•˜๋“œ์›จ์–ด ์ „์†ก ๊ธฐ์ˆ ์„ ์ด๋ฃฌ๋‹ค.

TLS(Transport Layer Security)

  • ์ „์†ก ๊ณ„์ธต ๋ณด์•ˆ
  • OSI 7๊ณ„์ธต ์ค‘ ๋„ค ๋ฒˆ์งธ
  • ์ „์†ก ๊ณ„์ธต์˜ TCP ํ”„๋กœํ† ์ฝœ์„ ๊ธฐ๋ฐ˜์œผ๋กœ ๋™์ž‘ํ•˜๋Š” ๋ณด์•ˆ ํ”„๋กœํ† ์ฝœ

SSL(Secure Socket Layer)

HTTPS(HyperText Transfer Protocol and Secure Socket Layer)

TLS๊ฐ€ ๋“ฑ์žฅํ•˜๊ธฐ ์ „์—๋Š” SSL์„ ์‚ฌ์šฉํ–ˆ์Œ ์ทจ์•ฝ์ ์ด ๋งŽ์ด ๋ฐœ๊ฒฌ๋˜์–ด ๋ณ€๊ฒฝ๋จ

  • TLS์„ ๊ธฐ๋ฐ˜์œผ๋กœํ•˜๋Š” HTTP