openssl s_client -connect smtp.qq.com:465 -crlf -ign_eof
EHLO localhost
AUTH LOGIN
xxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxx
MAIL FROM:<xxxx@qq.com>
RCPT TO:<xxxx@163.com>
DATA
From: Test <xxxx@qq.com>
To: Me <xxxx@163.com>
Subject: Testing email from telnet
This is the body
.
QUIT
-------------------------------------------------------------------------------------
# openssl s_client -connect smtp.qq.com:465 -crlf -ign_eof
CONNECTED(00000003)
depth=1 C = US, O = GeoTrust Inc., CN = GeoTrust SSL CA - G3
verify error:num=20:unable to get local issuer certificate
---
Certificate chain
0 s:/C=CN/ST=Guangdong/L=Shenzhen/O=Shenzhen Tencent Computer Systems Company Limited/OU=R&D/CN=pop.qq.com
i:/C=US/O=GeoTrust Inc./CN=GeoTrust SSL CA - G3
1 s:/C=US/O=GeoTrust Inc./CN=GeoTrust SSL CA - G3
i:/C=US/O=GeoTrust Inc./CN=GeoTrust Global CA
---
Server certificate
-----BEGIN CERTIFICATE-----
MIIHrTCCBpWgAwIBAgIQStxVhUEPlKCJNmsoaRVQVjANBgkqhkiG9w0BAQsFADBE
MQswCQYDVQQGEwJVUzEWMBQGA1UEChMNR2VvVHJ1c3QgSW5jLjEdMBsGA1UEAxMU
R2VvVHJ1c3QgU1NMIENBIC0gRzMwHhcNMTYwOTA3MDAwMDAwWhcNMTgxMjA3MjM1
OTU5WjCBkzELMAkGA1UEBhMCQ04xEjAQBgNVBAgMCUd1YW5nZG9uZzERMA8GA1UE
BwwIU2hlbnpoZW4xOjA4BgNVBAoMMVNoZW56aGVuIFRlbmNlbnQgQ29tcHV0ZXIg
U3lzdGVtcyBDb21wYW55IExpbWl0ZWQxDDAKBgNVBAsMA1ImRDETMBEGA1UEAwwK
cG9wLnFxLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALeSY7Vb
60Cvv7P2O+zhaZnqlz/KFs//DH4It3xmyMPFOPUFopzN1h8n3/4FPqGBtqEEuWBE
/o7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CN/ST=Guangdong/L=Shenzhen/O=Shenzhen Tencent Computer Systems Company Limited/OU=R&D/CN=pop.qq.com
issuer=/C=US/O=GeoTrust Inc./CN=GeoTrust SSL CA - G3
---
No client certificate CA names sent
---
SSL handshake has read 3432 bytes and written 675 bytes
---
Server public key is 2048 bit
Secure Renegotiation IS supported
Compression: NONE
Expansion: NONE
No ALPN negotiated
SSL-Session:
Protocol : TLSv1.2
Cipher : AES128-SHA256
Session-ID: A14F67315BF1542D3CD45B3B49A1FE6DEBA95A883B802728B6FCE4549CFD851D
Session-ID-ctx:
Master-Key: A8FDCD1EB692E305CB6D6BFEA985E4E7468908780DAE63173139892A4D97C7455A4F5E2D4FC08F573985F4D1EAC09BE9
Key-Arg : None
PSK identity: None
PSK identity hint: None
SRP username: None
TLS session ticket lifetime hint: 1200 (seconds)
TLS session ticket:
0000 - 67 30 86 a2 f7 69 8a cc-78 8e 26 48 d6 08 63 68 g0...i..x.&H..ch
0010 - a5 11 d1 e4 09 f4 70 3f-e9 13 0b 46 63 bb 56 93 ......p?...Fc.V.
0020 - d6 6d 94 ba 27 b0 a4 ef-ad b4 92 8b 05 83 aa 5e .m..'..........^
0030 - 84 00 46 74 ae c3 b5 55-d9 a7 74 e5 36 10 17 9e ..Ft...U..t.6...
0040 - 34 71 e9 bb de cd c1 ed-c6 15 04 73 b2 c9 54 4f 4q.........s..TO
0050 - d5 14 ad d8 88 b7 fd 73-16 e4 8d a4 b1 09 22 52 .......s......"R
0060 - df 75 5c 8c 35 72 33 c1-2f c5 f6 8b fe f8 1e d4 .u\.5r3./.......
TLS session ticket:
0000 - 67 30 86 a2 f7 69 8a cc-78 8e 26 48 d6 08 63 68 g0...i..x.&H..ch
0010 - a5 11 d1 e4 09 f4 70 3f-e9 13 0b 46 63 bb 56 93 ......p?...Fc.V.
0020 - d6 6d 94 ba 27 b0 a4 ef-ad b4 92 8b 05 83 aa 5e .m..'..........^
0030 - 84 00 46 74 ae c3 b5 55-d9 a7 74 e5 36 10 17 9e ..Ft...U..t.6...
0040 - 34 71 e9 bb de cd c1 ed-c6 15 04 73 b2 c9 54 4f 4q.........s..TO
0050 - d5 14 ad d8 88 b7 fd 73-16 e4 8d a4 b1 09 22 52 .......s......"R
0060 - df 75 5c 8c 35 72 33 c1-2f c5 f6 8b fe f8 1e d4 .u\.5r3./.......
0070 - 8e bf 60 1b 19 57 5c 76-5e dd 97 83 a5 ec 4d ef ..`..W\v^.....M.
0080 - 8e 6d 26 b7 f5 3e f4 cc-ea 4b 5f 5f 25 99 2f f1 .m&..>...K__%./.
0090 - 55 13 2b 12 02 42 69 39-5e ae 12 7d 47 0b 36 25 U.+..Bi9^..}G.6%
Start Time: 1488852592
Timeout : 300 (sec)
Verify return code: 20 (unable to get local issuer certificate)
---
220 smtp.qq.com Esmtp QQ Mail Server
ehlo [127.0.1.1]
250-smtp.qq.com
250-PIPELINING
250-SIZE 73400320
250-AUTH LOGIN PLAIN
250-AUTH=LOGIN
250-MAILCOMPRESS
250 8BITMIME
AUTH PLAIN xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
235 Authentication successful
mail FROM:<xxxx@qq.com> size=78
250 Ok
rcpt TO:<xxxx@163.com>
250 Ok
data
354 End data with <CR><LF>.<CR><LF>
From: Test <xxxx@qq.com>
To: Me <xxxx@163.com>
Subject: Testing email from telnet
This is the body
.
250 Ok: queued as
quit
221 Bye
closed
没有评论:
发表评论