Skip to Content
HTTP 완벽 가이드
book

HTTP 완벽 가이드

by David Gourlry, Brian Totty, Lee Eung Jun, Sang -Il Jeong, Anshu Agarwal, Seilu Reddy, Marjorie Sayre
May 2022
Beginner to intermediate
756 pages
21h 30m
Korean
Insight
Content preview from HTTP 완벽 가이드
384
HTTP
3
부 식별, 인가, 보안
· 프로그램의 제일 위에서는 TCP 네트워킹과 SSL을 지원하기 위해 필요한 지원 파
일들을 포함시켰다.
· 섹션 1에서는 SSL_CTX_new를 호출해서 핸드셰이크 매개변수와 그 외 SSL 커넥
션에 대한 상태들을 추적할 로컬 콘텍스트를 생성했다.
· 섹션 2에서는 유닉스 gethostbyname 함수를 이용해 입력 호스트 명(명령줄 인수
로 제공된)을 IP 주소로 변환한다. 이 기능을 제공하는 방법은 플랫폼에 따라 다
를 수 있다.
· 섹션 3에서는 로컬 소켓을 생성해서 서버의 443 포트로 TCP 커넥션을 열고, 원격
주소 정보를 설정한 뒤, 원격 서버와 연결한다.
· 한번 TCP 커넥션이 수립되면, 우리는 SSL_new와 SSL_set_fd를 사용해서 SSL 레
이어를 TCP 커넥션에 붙이고 SSL_connect를 호출해서 서버와의 SSL 핸드셰이크
를 수행한다. 섹션 4가 완료되면 우리는 암호 선택 및 인증 교환이 완료되고 동작
하는 SSL 채널을 수립하게 된다.
· 섹션 5에서는 선택된 대량 암호화 암호의 값을 출력한다.
· 섹션 6에서는 서버가 되돌려준 X.509 인증서 안에 포함된 정보 중 일부를 출력한
다(인증서 소지자 및 인증서를 발급한 기관에 대한 정보 등). OpenSSL 라이브러
리는 서버 인증서의 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

몽고DB 완벽 가이드(3판): 실전 예제로 배우는 NoSQL 데이터베이스 기초부터 활용까지

몽고DB 완벽 가이드(3판): 실전 예제로 배우는 NoSQL 데이터베이스 기초부터 활용까지

김인범, 크리스티나 초도로우, 섀넌 브래드쇼, 오언 브라질

Publisher Resources

ISBN: 9788966261208