본문 바로가기
2013.04.23 10:05

SMTP Client with SSL/TLS

조회 수 4013 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

+ - Up Down Comment Print
?

단축키

Prev이전 문서

Next다음 문서

+ - Up Down Comment Print

http://www.codeproject.com/Articles/98355/SMTP-Client-with-SSL-TLS


There are 2 kinds of secure connections for SMTP, one is SSL and the other is TLS. Some SMTP servers support only one kind and some support both. Generally speaking, the port for SSL is 465, and the port for TLS is 587, but this is not always the case. In addition to the ports being different, SMTP/SSL is different than SMTP/TLS in that, SMTP/SSL negotiates an encrypted connection directly after the underlying TCP connection has been established, while SMTP/TLS requires that the client send a STARTLS command to the server before they negotiate an encrypted connection.

The steps involved in SMTP/SSL are as follows:

  1. The client connects to the server using TCP.
  2. The client negotiates an encrypted connection with the server.
  3. The server sends a welcome message using the encrypted connection to the client.
  4. The client sends a EHLO command using the encrypted connection to the server.
  5. The server responds to the EHLO command using the encrypted connection.

The steps involved in SMTP/TLS are as follows:

  1. The client connects to the server using TCP.
  2. The server sends a welcome message using the un-encrypted connection to the client.
  3. The client sends a EHLO command using the un-encrypted connection to the server.
  4. The server responds to the EHLO command using the un-encrypted connection.
  5. The client sends a STARTTLS command using the un-encrypted connection to the server.
  6. The server responds to the STARTTLS command using the un-encrypted connection.
  7. The client negotiates an encrypted connection with the server.
  8. The client sends a EHLO command using the encrypted connection to the server.
  9. The server responds to the EHLO command using the encrypted connection.


Title
List of Articles
번호 제목 글쓴이 날짜 조회 수
92 Selecting an 802.1X EAP Method: Access Point Considerations Hojung 2015.04.22 2573
91 How does 802.1X help wireless security? Hojung 2015.04.22 2777
90 EAP-AKA 기반의 인증 및 인터넷 접속 흐름 file Hojung 2015.04.20 5800
89 Wi-Fi WPA2 AES(CCMP) 암호화 알고리즘 file Hojung 2015.04.20 5392
88 Good Article about Hotspot Logins with Wi-Fi Devices Hojung 2015.04.20 2704
87 Wireless LAN (Wi-Fi): Standard and Basic Terms file Hojung 2015.04.20 2985
86 Ports used for SNMP Trap and Poll file Hojung 2014.08.22 3488
» SMTP Client with SSL/TLS Hojung 2013.04.23 4013
84 How to extract original file from pcap (wireshark) file Hojung 2013.02.26 7123
83 웹브라우저에서 인증서 보안경고 후 계속 진행시 다시 액세스함 file Hojung 2012.12.24 6886
82 Path MTU 와 ICMP Filtering 과의 관계 Hojung 2012.09.20 6033
81 TCP sessions with untrusted cert file Hojung 2012.02.24 4998
80 IP Fragmentation을 이용한 공격기술들 file Hojung 2012.02.24 6530
79 XML, SOAP, WSDL, UDDI 설명 (Good) Hojung 2012.02.02 19005
78 QoS lecture from Youtube Hojung 2012.01.05 5363
77 What is SOA? What is REST? Hojung 2011.12.25 6149
76 SOAP 기반 웹서비스와 RESTful 기반 웹서비스 Hojung 2011.12.25 5967
75 NTLM VS Kerberos Hojung 2011.12.24 5627
74 LDAP or RADIUS? (Good) Hojung 2011.12.23 6360
73 IPSec Overview (good) Hojung 2011.10.19 6232
Board Pagination ‹ Prev 1 2 3 4 5 Next ›
/ 5

Designed by sketchbooks.co.kr / sketchbook5 board skin

나눔글꼴 설치 안내


이 PC에는 나눔글꼴이 설치되어 있지 않습니다.

이 사이트를 나눔글꼴로 보기 위해서는
나눔글꼴을 설치해야 합니다.

설치 취소

Sketchbook5, 스케치북5

Sketchbook5, 스케치북5

Sketchbook5, 스케치북5

Sketchbook5, 스케치북5