HTTPSを手動でテスト(telnet localhost 443的な事)する
HTTPなどをテストする際に、telnet localhost 80
などして、コネクションはってから、手動でGET / HTTP/1.0
などとしますよね?
でも、HTTPSだと暗号化されているので、telnetではできないですよね。
opensslのコマンドを使うと同じような事が可能です。
こんな感じでopensslコマンドを使うことで、同様のことが可能です。
$ openssl s_client -connect localhost:443
ポート番号を変えることで、SMTPSとかも行けます。ちなみに、STARTTLSする時は-starttls protocol
をつければ良いです。
$ openssl s_client -crlf -starttls smtp -connect localhost:smtp
また、-ssl2, -ssl3, -tls1, -tls1_1, -tls1_2
などのオプションを指定すれば、Protocolの指定することも可能です。
以下はhttps://www.google.co.jp/ へ接続した例。
最初の証明書のやりとりなんかも見れます。
後ろの方にあるGET / HTTP/1.0\n\n
が手動で入力した部分です。
$ openssl s_client -connect www.google.co.jp:443
CONNECTED(00000003)
depth=3 C = US, O = Equifax, OU = Equifax Secure Certificate Authority
verify return:1
depth=2 C = US, O = GeoTrust Inc., CN = GeoTrust Global CA
verify return:1
depth=1 C = US, O = Google Inc, CN = Google Internet Authority G2
verify return:1
depth=0 C = US, ST = California, L = Mountain View, O = Google Inc, CN = google.com
verify return:1
---
Certificate chain
0 s:/C=US/ST=California/L=Mountain View/O=Google Inc/CN=google.com
i:/C=US/O=Google Inc/CN=Google Internet Authority G2
1 s:/C=US/O=Google Inc/CN=Google Internet Authority G2
i:/C=US/O=GeoTrust Inc./CN=GeoTrust Global CA
2 s:/C=US/O=GeoTrust Inc./CN=GeoTrust Global CA
i:/C=US/O=Equifax/OU=Equifax Secure Certificate Authority
---
Server certificate
-----BEGIN CERTIFICATE-----
MIIfOzCCHiOgAwIBAgIIQSWDBtWwJmEwDQYJKoZIhvcNAQEFBQAwSTELMAkGA1UE
BhMCVVMxEzARBgNVBAoTCkdvb2dsZSBJbmMxJTAjBgNVBAMTHEdvb2dsZSBJbnRl
cm5ldCBBdXRob3JpdHkgRzIwHhcNMTUwMTI5MTIxNDMwWhcNMTUwNDI5MDAwMDAw
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bGUudHSCCWdvb2dsZS51c4IJZ29vZ2xlLnV6ggln
b29nbGUudmeCCWdvb2dsZS52dYIJZ29vZ2xlLndzghJnb29nbGVjb21tZXJjZS5j
b22CC2dzdGF0aWMuY29tggp1cmNoaW4uY29tggh5b3V0dS5iZYILeW91dHViZS5j
b22CFHlvdXR1YmVlZHVjYXRpb24uY29tMGgGCCsGAQUFBwEBBFwwWjArBggrBgEF
BQcwAoYfaHR0cDovL3BraS5nb29nbGUuY29tL0dJQUcyLmNydDArBggrBgEFBQcw
AYYfaHR0cDovL2NsaWVudHMxLmdvb2dsZS5jb20vb2NzcDAdBgNVHQ4EFgQUnCqx
WPX3t+iXZDFDDnEBaaD+rU0wDAYDVR0TAQH/BAIwADAfBgNVHSMEGDAWgBRK3QYW
G7z2aLV29YG2u2IaulqBLzAXBgNVHSAEEDAOMAwGCisGAQQB1nkCBQEwMAYDVR0f
BCkwJzAloCOgIYYfaHR0cDovL3BraS5nb29nbGUuY29tL0dJQUcyLmNybDANBgkq
hkiG9w0BAQUFAAOCAQEAdGYTCpag768ic1u4kvMkR+LlGVKJe92Auo9Thr8XteJS
7cKNbxajIJHodrtiw38WzjpbYT2rgXWHSGwcFjtQg9jYTAbiWvZKTwvasUsAhgCn
Djqyfbw+bFl56VV2hy+7RphZwIjhRtHrd32kIi7vbkJr0vSyAAqM+tthk46eJlMh
L5gpoO/VWmItw9yihI6mAEF+X6wSDkpPYDmPqRUzM8+oaCFUqgP6c/0Sse5MUmYy
sy8VX908J6tRRl1cql0a5UIAKhxoT8LVcEv87lteFH20lPgQBjXhTNaC+1YMM5Xq
RF+PaReCA5KqSnMTnlFOkRxpbHV+cBH0cvxczXM+Jg==
-----END CERTIFICATE-----
subject=/C=US/ST=California/L=Mountain View/O=Google Inc/CN=google.com
issuer=/C=US/O=Google Inc/CN=Google Internet Authority G2
---
No client certificate CA names sent
Server Temp Key: ECDH, prime256v1, 256 bits
---
SSL handshake has read 10572 bytes and written 331 bytes
---
New, TLSv1/SSLv3, Cipher is ECDHE-RSA-AES128-GCM-SHA256
Server public key is 2048 bit
Secure Renegotiation IS supported
Compression: NONE
Expansion: NONE
SSL-Session:
Protocol : TLSv1.2
Cipher : ECDHE-RSA-AES128-GCM-SHA256
Session-ID: 67A89E36206858C122978951F70097A1432322D2EFF8A072CACFCED468D6FBD7
Session-ID-ctx:
Master-Key: FE3A0DAE610F3C5AA9E6A31A15733BD5ADB035AF021B34489EBD9C6D624042A81B743FAFFECA11B79D1017BD6FA09F32
Key-Arg : None
Krb5 Principal: None
PSK identity: None
PSK identity hint: None
TLS session ticket lifetime hint: 100800 (seconds)
TLS session ticket:
0000 - 80 ed c9 74 9a 5a 2c 4f-d9 30 ff aa 5b 8d e3 e4 ...t.Z,O.0..[...
0010 - df e9 0f 4e 40 46 f1 e1-05 b7 90 a2 53 51 f0 a4 [email protected]..
0020 - 9d cd 7b e8 06 f5 59 7d-41 ff 1c ed 4b e6 c3 a4 ..{...Y}A...K...
0030 - 13 d7 41 8b 69 7f fc 5b-b8 08 04 e9 2c 1c 4d 74 ..A.i..[....,.Mt
0040 - 83 6c 09 65 71 3e 7e bc-f6 cb ea d7 81 a3 1a 07 .l.eq>~.........
0050 - 60 4b cd de cb 5d 3a 22-d4 37 0c 92 6b fa fc 6d `K...]:".7..k..m
0060 - c2 55 48 d6 51 5b b3 73-9f 6d 19 1c 71 b4 f8 a7 .UH.Q[.s.m..q...
0070 - 61 15 77 5e 87 b9 dc f5-f6 4f 52 2a c7 04 98 84 a.w^.....OR*....
0080 - 7a bc 6a 0f c0 56 c0 94-f8 96 64 74 bf c1 7c fa z.j..V....dt..|.
0090 - 51 0a e2 ce 49 dc b2 3a-2f 4f 0a 52 4d 23 99 95 Q...I..:/O.RM#..
00a0 - 45 38 6a a3 E8j.
Start Time: 1423130209
Timeout : 300 (sec)
Verify return code: 0 (ok)
---
GET / HTTP/1.0
HTTP/1.0 302 Found
Cache-Control: private
Content-Type: text/html; charset=UTF-8
Location: https://www.google.co.jp/?gfe_rd=cr&ei=aj7TVMmkJ6rS8gfe3YDYCw
Content-Length: 262
Date: Thu, 05 Feb 2015 09:56:58 GMT
Server: GFE/2.0
Alternate-Protocol: 443:quic,p=0.02
<HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8">
<TITLE>302 Moved</TITLE></HEAD><BODY>
<H1>302 Moved</H1>
The document has moved
<A HREF="https://www.google.co.jp/?gfe_rd=cr&ei=aj7TVMmkJ6rS8gfe3YDYCw">here</A>.
</BODY></HTML>
read:errno=0
Author And Source
この問題について(HTTPSを手動でテスト(telnet localhost 443的な事)する), 我々は、より多くの情報をここで見つけました https://qiita.com/hkajikawa/items/9a9ccceecb63538061bf著者帰属:元の著者の情報は、元のURLに含まれています。著作権は原作者に属する。
Content is automatically searched and collected through network algorithms . If there is a violation . Please contact us . We will adjust (correct author information ,or delete content ) as soon as possible .