TLS negotiation
am 20.10.2006 16:30:05 von nahum_barneaHi.
I amtrying to send a mail through gmail using telnet to smtp.gmail.com.
I follow RFC-3207 that show how to do the STARTTLS.
The problem is that I dont know how to do the "TLS negotiation" and I
did'nt find any usefull guide for this.
Can anyone help ?
ThankX,
NAHUM.
PS Here is the quote from RFC-3207
5. Usage Example
The following dialog illustrates how a client and server can start a
TLS session:
S:
C:
S: 220 mail.imc.org SMTP service ready
C: EHLO mail.example.com
S: 250-mail.imc.org offers a warm hug of welcome
S: 250-8BITMIME
S: 250-STARTTLS
S: 250 DSN
C: STARTTLS
S: 220 Go ahead
C:
C & S:
C & S:
C: EHLO mail.example.com
S: 250-mail.imc.org touches your hand gently for a moment
S: 250-8BITMIME
S: 250 DSN