$ openssl s_client -cert cli-rsa-sha256.crt -key cli-rsa.key -verify 1 -CAfile test-ca.crt
verify depth is 1
CONNECTED(00000003)
depth=1 C = NL, O = PolarSSL, CN = PolarSSL Test CA
verify return:1
depth=0 C = NL, O = PolarSSL, CN = PolarSSL Server 1
verify return:1
---
Certificate chain
0 s:/C=NL/O=PolarSSL/CN=PolarSSL Server 1
i:/C=NL/O=PolarSSL/CN=PolarSSL Test CA
1 s:/C=NL/O=PolarSSL/CN=PolarSSL Test CA
i:/C=NL/O=PolarSSL/CN=PolarSSL Test CA
---
Server certificate
-----BEGIN CERTIFICATE-----
MIIDPzCCAiegAwIBAgIBATANBgkqhkiG9w0BAQUFADA7MQswCQYDVQQGEwJOTDER
MA8GA1UEChMIUG9sYXJTU0wxGTAXBgNVBAMTEFBvbGFyU1NMIFRlc3QgQ0EwHhcN
MTEwMjEyMTQ0NDA2WhcNMjEwMjEyMTQ0NDA2WjA8MQswCQYDVQQGEwJOTDERMA8G
A1UEChMIUG9sYXJTU0wxGjAYBgNVBAMTEVBvbGFyU1NMIFNlcnZlciAxMIIBIjAN
BgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAqQIfPUBq1VVTi/027oJlLhVhXom/
uOhFkNvuiBZS0/FDUEeWEllkh2v9K+BG+XO+3c+S4ZFb7Wagb4kpeUWA0INq1UFD
d185fAkER4KwVzlw7aPsFRkeqDMIR8EFQqn9TMO0390GH00QUUBncxMPQPhtgSVf
CrFTxjB+FTms+Vruf5KepgVb5xOXhbUjktnUJAbVCSWJdQfdphqPPwkZvq1lLGTr
lZvc/kFeF6babFtpzAK6FCwWJJxK3M3Q91Jnc/EtoCP9fvQxyi1wyokLBNsupk9w
bp7OvViJ4lNZnm5akmXiiD8MlBmj3eXonZUT7Snbq3AS3FrKaxerUoJUsQIDAQAB
o00wSzAJBgNVHRMEAjAAMB0GA1UdDgQWBBQfdNY/KcF0dEU7BRIsPai9Q1kCpjAf
BgNVHSMEGDAWgBS0WuSls97SUva51aaVD+s+vMf9/zANBgkqhkiG9w0BAQUFAAOC
AQEAvc+WwZUemsJu2IiI2Cp6liA+UAvIx98dQe3kZs2zAoF9VwQbXcYzWQ/BILkj
NImKbPL9x0g2jIDn4ZvGYFywMwIO/d++YbwYiQw42/v7RiMy94zBPnzeHi86dy/0
jpOOJUx3IXRsGLdyjb/1T11klcFqGnARiK+8VYolMPP6afKvLXX7K4kiUpsFQhUp
E5VeM5pV1Mci2ETOJau2cO40FJvI/C9W/wR+GAArMaw2fxG77E3laaa0LAOlexM6
A4KOb5f5cGTM5Ih6tEF5FVq3/9vzNIYMa1FqzacBLZF8zSHYLEimXBdzjBoN4qDU
/WzRyYRBRjAI49mzHX6raleqnw==
-----END CERTIFICATE-----
subject=/C=NL/O=PolarSSL/CN=PolarSSL Server 1
issuer=/C=NL/O=PolarSSL/CN=PolarSSL Test CA
---
Acceptable client certificate CA names
/C=NL/O=PolarSSL/CN=PolarSSL Test CA
Client Certificate Types: RSA sign, DSA sign, ECDSA sign
Requested Signature Algorithms: RSA+SHA512:DSA+SHA512:ECDSA+SHA512:RSA+SHA384:DSA+SHA384:ECDSA+SHA384:RSA+SHA256:DSA+SHA256:ECDSA+SHA256:RSA+SHA224:DSA+SHA224:ECDSA+SHA224:RSA+SHA1:DSA+SHA1:ECDSA+SHA1
Shared Requested Signature Algorithms: RSA+SHA512:DSA+SHA512:ECDSA+SHA512:RSA+SHA384:DSA+SHA384:ECDSA+SHA384:RSA+SHA256:DSA+SHA256:ECDSA+SHA256:RSA+SHA224:DSA+SHA224:ECDSA+SHA224:RSA+SHA1:DSA+SHA1:ECDSA+SHA1
Peer signing digest: SHA512
Server Temp Key: ECDH, P-256, 256 bits
---
SSL handshake has read 3421 bytes and written 2530 bytes
---
New, TLSv1/SSLv3, Cipher is ECDHE-RSA-AES256-GCM-SHA384
Server public key is 2048 bit
Secure Renegotiation IS supported
Compression: NONE
Expansion: NONE
No ALPN negotiated
SSL-Session:
Protocol : TLSv1.2
Cipher : ECDHE-RSA-AES256-GCM-SHA384
Session-ID: 5DA1CCB8653EFAA5F70A9CF5DC174AEAA8B829271C76BAAAD26D6A9CFB7F5915
Session-ID-ctx:
Master-Key: 9E23D15A0EC9EAFDF9B6E7D6D8FA2ABDAA3E8ECD7785EAA36408876925743DDF336425550A91DDAC442206CF21EAFBF5
Key-Arg : None
PSK identity: None
PSK identity hint: None
SRP username: None
TLS session ticket lifetime hint: 300 (seconds)
TLS session ticket:
0000 - 48 ae 01 f6 65 b9 51 41-d3 af 3d 8b 5f 30 43 d9 H...e.QA..=._0C.
0010 - 25 93 4f c4 24 b7 4c 60-3e 70 50 a6 63 07 1a e0 %.O.$.L`>pP.c...
0020 - c3 e5 e5 c3 9e ba 48 ea-39 7a 87 b7 e9 97 5b ec ......H.9z....[.
0030 - 61 35 1c 49 c4 b8 89 71-42 ef 5b 13 08 3f 97 52 a5.I...qB.[..?.R
0040 - 0e 32 11 df c2 e0 03 cf-75 36 1b 06 50 67 fc 7d .2......u6..Pg.}
0050 - 3e d7 f1 43 4d 97 1d eb-f9 76 5b 65 d6 2f c6 7f >..CM....v[e./..
0060 - bd 1d 76 b1 64 4c 7a 3d-e6 32 47 d7 03 fc 29 c7 ..v.dLz=.2G...).
0070 - 2e e7 fa b4 09 c7 b4 b9-21 dd 8e 39 70 cc a8 15 ........!..9p...
0080 - 29 ca 44 ea 2a 0e aa 97-17 25 24 fd bc 83 b9 41 ).D.*....%$....A
0090 - 92 b7 5b e1 84 53 7b e1-e9 94 24 fd 9a ae 4f 9f ..[..S{...$...O.
00a0 - fe 2d 56 1b 92 cf 3a bd-80 36 82 17 5f ff 4d 8b .-V...:..6.._.M.
00b0 - 1a ec 0d 06 3a 63 1e a3-81 23 43 68 fc 8e 13 01 ....:c...#Ch....
00c0 - bc 89 3c 60 6a 4f dd ff-ff 4e 0d 0a cd d9 99 a2 ..<`jO...N......
00d0 - fe 0c 20 9f 78 4f ce c4-2f 29 ae 92 90 cf 0a a7 .. .xO../)......
00e0 - 89 44 4a f9 e7 21 ac 6f-3d 55 13 1f f0 e5 51 ed .DJ..!.o=U....Q.
00f0 - ff 54 4c 6b 3a ac 73 b3-73 1d 77 dc a2 2b 7c 89 .TLk:.s.s.w..+|.
0100 - 9d 35 8a d0 cd 3b 91 f4-c6 4b c1 79 dc b4 28 a6 .5...;...K.y..(.
0110 - 2a 90 6b e6 31 dc db 0f-21 fb b7 b6 d1 b4 98 2e *.k.1...!.......
0120 - 03 62 5e a2 66 2d fe 48-35 97 67 7a 8b 76 f7 16 .b^.f-.H5.gz.v..
0130 - c3 96 7d 93 5b 22 80 e4-a5 c3 60 cb 0a 98 74 88 ..}.["....`...t.
0140 - e9 ad 24 c2 72 e3 5e 40-d4 af c7 5c d8 f9 5e 21 ..$.r.^@...\..^!
0150 - 90 7f e1 a5 b2 d8 aa 14-9b f4 38 28 55 57 0f be ..........8(UW..
0160 - 0e 4f 3c c4 61 16 6c a1-41 fc 7c 9c 6a 62 b0 d3 .O<.a.l.A.|.jb..
0170 - f8 e7 f4 08 8c 51 12 24-56 12 af 34 64 26 b4 67 .....Q.$V..4d&.g
0180 - ee bb 66 22 e9 4b c6 6f-82 6a 21 4e 5f 80 9c 30 ..f".K.o.j!N_..0
0190 - 4c 41 b4 42 e6 7d 4c be-88 d9 48 2a bc 7e bb 05 LA.B.}L...H*.~..
01a0 - bc 55 42 5d 25 9e 69 5b-d1 bc ac 4d 59 98 3a 66 .UB]%.i[...MY.:f
01b0 - ec 66 5f 1d f8 15 e5 83-c6 cc f1 45 dc 4d 35 d1 .f_........E.M5.
01c0 - 3c 92 11 6d 81 24 4c 83-8a 93 7b d3 81 c9 f1 42 <..m.$L...{....B
01d0 - e9 ad a8 0e de bb fd cc-1a 93 e4 f2 18 63 bd bd .............c..
01e0 - be 81 80 e4 44 c9 12 6f-4f 1a dd 2e 64 35 78 74 ....D..oO...d5xt
01f0 - 80 43 8e 80 33 cb e1 70-5f fd da 3b f6 b7 df 76 .C..3..p_..;...v
0200 - ee 66 47 f3 17 db 50 ad-61 a2 1e ff 09 d4 77 8f .fG...P.a.....w.
0210 - 81 75 4c e5 e1 6f 5f 2e-80 39 44 8e 73 52 31 7e .uL..o_..9D.sR1~
0220 - 7d df 5f bc ca 00 39 56-8d b8 e2 ca ff 5f 93 ce }._...9V....._..
0230 - 23 57 14 74 00 36 11 d3-be 22 cb 66 87 a4 e3 5a #W.t.6...".f...Z
0240 - ea f3 88 3e 35 5a 43 bc-db cc 0c 60 9e dc 63 90 ...>5ZC....`..c.
0250 - f2 97 50 dc a0 e0 2f cb-9d 82 e8 a7 2d 5b ae 96 ..P.../.....-[..
0260 - 5e ee 36 1b 01 da a9 50-15 c9 be 0c e1 96 8c 4b ^.6....P.......K
0270 - af 90 19 64 12 23 0c 87-0f 1e 7a c6 ec a8 64 79 ...d.#....z...dy
0280 - b7 6f e9 ff 74 c5 d2 35-96 08 25 82 17 c2 e4 e8 .o..t..5..%.....
0290 - 1a ea 21 9f ff 0b 37 56-12 79 45 b1 6d 62 3b 19 ..!...7V.yE.mb;.
02a0 - 13 43 c0 8d 18 73 07 d1-db fd 44 54 79 b0 0c 06 .C...s....DTy...
02b0 - 92 0d 86 05 94 3b cf 03-90 c2 60 eb ef 11 69 7d .....;....`...i}
02c0 - ba 08 ad 1d 9f 87 e2 9e-c4 91 01 6d 8c a2 92 34 ...........m...4
02d0 - 1a 35 af 05 1f 32 b4 1f-fa 12 a1 3d fe 65 d0 f0 .5...2.....=.e..
02e0 - 94 39 b3 69 58 2f 40 e7-fd bb d9 db 00 44 7d 94 .9.iX/@......D}.
02f0 - 38 39 d4 90 3f 25 62 be-b8 6b e7 76 9b 6f 7b a1 89..?%b..k.v.o{.
0300 - e2 3b ba e6 cb 35 c7 0f-c8 d0 72 4b 69 9a c7 75 .;...5....rKi..u
0310 - 00 55 07 43 61 f8 58 26-f0 78 c6 04 93 31 26 f2 .U.Ca.X&.x...1&.
0320 - 27 ae 6d 57 0a 10 cc 94-cb 5f 26 82 ad 6f aa 31 '.mW....._&..o.1
0330 - 49 9b 81 62 3c dc ea c2-a0 35 bc 79 1c 51 74 c4 I..b<....5.y.Qt.
0340 - 98 5e 21 b2 c9 d0 db 73-76 86 d7 8d 08 60 80 33 .^!....sv....`.3
0350 - 41 c3 b3 82 09 fd 4e 49-76 11 9a f0 6f 87 29 c0 A.....NIv...o.).
0360 - 03 49 f4 1c 0d bc f0 1a-e4 f7 c1 c8 ef b5 d2 b4 .I..............
0370 - ac 49 56 b3 b2 75 b3 29-64 c0 e9 e4 67 45 ca 58 .IV..u.)d...gE.X
0380 - 64 99 51 24 e2 8a 55 78-3f 24 12 f5 f0 ea cc 52 d.Q$..Ux?$.....R
0390 - 83 01 45 d7 72 23 d9 b4-ce 84 e1 ab ae e2 05 f4 ..E.r#..........
03a0 - 22 37 98 61 73 6d e1 cd-23 fe 7e 84 2b 96 5d 75 "7.asm..#.~.+.]u
03b0 - ee 6d a9 47 b4 72 c6 07-71 a6 ad 4b c9 12 de 39 .m.G.r..q..K...9
03c0 - 91 99 ba 83 ba 15 f5 75-eb 88 52 ca 27 e8 0d 91 .......u..R.'...
03d0 - 1c bb a7 15 01 d0 0f 7d-77 14 00 36 05 3b ca c2 .......}w..6.;..
03e0 - 3f 7a aa 43 06 d3 f9 a0-28 3d dc 58 9c ba 49 2a ?z.C....(=.X..I*
03f0 - 11 7d 88 f7 24 74 ec d5-28 28 2a 81 ff 6c 56 76 .}..$t..((*..lVv
0400 - aa 68 bf d7 19 42 e5 7c-1e c2 26 5b 26 ff c9 cd .h...B.|..&[&...
0410 - 08 f6 c0 01 92 ca 28 97-7a 0e d8 4a 13 04 02 27 ......(.z..J...'
0420 - 2c 16 99 36 60 73 86 7e-71 8c 7b 0f 52 b9 e5 4e ,..6`s.~q.{.R..N
Start Time: 1542864626
Timeout : 300 (sec)
Verify return code: 0 (ok)
---
Hello