SSL handshake successful: [ESP] REM: Performing the SSL/TLS handshake... [ESP] REM: Task 'Remote' free stack = 360 [ESP] REM: ssl_tls.c:5952: => handshake [ESP] REM: ssl_cli.c:2944: client state: 0 [ESP] REM: ssl_tls.c:2410: => flush output [ESP] REM: ssl_tls.c:2422: <= flush output [ESP] REM: ssl_cli.c:2944: client state: 1 [ESP] REM: ssl_tls.c:2410: => flush output [ESP] REM: ssl_tls.c:2422: <= flush output [ESP] REM: ssl_cli.c:0522: => write client hello [ESP] REM: ssl_tls.c:2695: => write record [ESP] REM: ssl_tls.c:2410: => flush output [ESP] REM: ssl_tls.c:2429: message length: 447, out_left: 447 [ESP] REM: ssl_tls.c:2435: ssl->f_send() returned 447 (-0xfffffe41) [ESP] REM: ssl_tls.c:2454: <= flush output [ESP] REM: ssl_tls.c:2842: <= write record [ESP] REM: ssl_cli.c:0842: <= write client hello [ESP] REM: ssl_cli.c:2944: client state: 2 [ESP] REM: ssl_tls.c:2410: => flush output [ESP] REM: ssl_tls.c:2422: <= flush output [ESP] REM: ssl_cli.c:1157: => parse server hello [ESP] REM: ssl_tls.c:3493: => read record [ESP] REM: ssl_tls.c:2202: => fetch input [ESP] REM: ssl_tls.c:2360: in_left: 0, nb_want: 5 [ESP] REM: ssl_tls.c:2384: in_left: 0, nb_want: 5 [ESP] REM: ssl_tls.c:2385: ssl->f_recv(_timeout)() returned 5 (-0xfffffffb) [ESP] REM: ssl_tls.c:2397: <= fetch input [ESP] REM: ssl_tls.c:2202: => fetch input [ESP] REM: ssl_tls.c:2360: in_left: 5, nb_want: 70 [ESP] REM: ssl_tls.c:2384: in_left: 5, nb_want: 70 [ESP] REM: ssl_tls.c:2385: ssl->f_recv(_timeout)() returned 65 (-0xffffffbf) [ESP] REM: ssl_tls.c:2397: <= fetch input [ESP] REM: ssl_tls.c:3693: <= read record [ESP] REM: ssl_cli.c:1416: server hello, total extension length: 21 [ESP] REM: ssl_cli.c:1589: <= parse server hello [ESP] REM: ssl_cli.c:2944: client state: 3 [ESP] REM: ssl_tls.c:2410: => flush output [ESP] REM: ssl_tls.c:2422: <= flush output [ESP] REM: ssl_tls.c:3909: => parse certificate [ESP] REM: ssl_tls.c:3493: => read record [ESP] REM: ssl_tls.c:2202: => fetch input [ESP] REM: ssl_tls.c:2360: in_left: 0, nb_want: 5 [ESP] REM: ssl_tls.c:2384: in_left: 0, nb_want: 5 [ESP] REM: ssl_tls.c:2385: ssl->f_recv(_timeout)() returned 5 (-0xfffffffb) [ESP] REM: ssl_tls.c:2397: <= fetch input [ESP] REM: ssl_tls.c:2202: => fetch input [ESP] REM: ssl_tls.c:2360: in_left: 5, nb_want: 2908 [ESP] REM: ssl_tls.c:2384: in_left: 5, nb_want: 2908 [ESP] REM: ssl_tls.c:2385: ssl->f_recv(_timeout)() returned 2903 (-0xfffff4a9) [ESP] REM: ssl_tls.c:2397: <= fetch input [ESP] REM: ssl_tls.c:3693: <= read record [ESP] REM: ssl_tls.c:4175: <= parse certificate [ESP] REM: ssl_cli.c:2944: client state: 4 [ESP] REM: ssl_tls.c:2410: => flush output [ESP] REM: ssl_tls.c:2422: <= flush output [ESP] REM: ssl_cli.c:1909: => parse server key exchange [ESP] REM: ssl_tls.c:3493: => read record [ESP] REM: ssl_tls.c:2202: => fetch input [ESP] REM: ssl_tls.c:2360: in_left: 0, nb_want: 5 [ESP] REM: ssl_tls.c:2384: in_left: 0, nb_want: 5 [ESP] MCT: OS free heap: 9872 [ESP] REM: ssl_tls.c:2385: ssl->f_recv(_timeout)() returned 5 (-0xfffffffb) [ESP] REM: ssl_tls.c:2397: <= fetch input [ESP] REM: ssl_tls.c:2202: => fetch input [ESP-SYS] RTC Adjust: drift = -372 ticks, cal = 26393 [ESP] REM: ssl_tls.c:2360: in_left: 5, nb_want: 338 [ESP] REM: ssl_tls.c:2384: in_left: 5, nb_want: 338 [ESP] REM: ssl_tls.c:2385: ssl->f_recv(_timeout)() returned 333 (-0xfffffeb3) [ESP] REM: ssl_tls.c:2397: <= fetch input [ESP] REM: ssl_tls.c:3693: <= read record [ESP] REM: ssl_cli.c:1649: ECDH curve: secp256r1 [ESP] REM: ssl_cli.c:1860: Server used SignatureAlgorithm 1 [ESP] REM: ssl_cli.c:1861: Server used HashAlgorithm 6 [ESP] REM: ssl_cli.c:2208: <= parse server key exchange [ESP] REM: ssl_cli.c:2944: client state: 5 [ESP] REM: ssl_tls.c:2410: => flush output [ESP] REM: ssl_tls.c:2422: <= flush output [ESP] REM: ssl_cli.c:2245: => parse certificate request [ESP] REM: ssl_tls.c:3493: => read record [ESP] REM: ssl_tls.c:2202: => fetch input [ESP] REM: ssl_tls.c:2360: in_left: 0, nb_want: 5 [ESP] REM: ssl_tls.c:2384: in_left: 0, nb_want: 5 [ESP] REM: ssl_tls.c:2385: ssl->f_recv(_timeout)() returned 5 (-0xfffffffb) [ESP] REM: ssl_tls.c:2397: <= fetch input [ESP] REM: ssl_tls.c:2202: => fetch input [ESP] REM: ssl_tls.c:2360: in_left: 5, nb_want: 9 [ESP] REM: ssl_tls.c:2384: in_left: 5, nb_want: 9 [ESP] REM: ssl_tls.c:2385: ssl->f_recv(_timeout)() returned 4 (-0xfffffffc) [ESP] REM: ssl_tls.c:2397: <= fetch input [ESP] REM: ssl_tls.c:3693: <= read record [ESP] REM: ssl_cli.c:2373: <= parse certificate request [ESP] REM: ssl_cli.c:2944: client state: 6 [ESP] REM: ssl_tls.c:2410: => flush output [ESP] REM: ssl_tls.c:2422: <= flush output [ESP] REM: ssl_cli.c:2386: => parse server hello done [ESP] REM: ssl_cli.c:2418: <= parse server hello done [ESP] REM: ssl_cli.c:2944: client state: 7 [ESP] REM: ssl_tls. flush output [ESP] REM: ssl_tls.c:2422: <= flush output [ESP] REM: ssl_tls.c:3794: => write certificate [ESP] REM: ssl_tls.c:3810: <= skip write certificate [ESP] REM: ssl_cli.c:2944: client state: 8 [ESP] REM: ssl_tls.c:2410: => flush output [ESP] REM: ssl_tls.c:2422: <= flush output [ESP] REM: ssl_cli.c:2429: => write client key exchange [ESP-SYS] Timer Stop Failed [ESP] REM: ssl_tls.c:2695: => write record [ESP] REM: ssl_tls.c:2410: => flush output [ESP] REM: ssl_tls.c:2429: message length: 75, out_left: 75 [ESP] REM: ssl_tls.c:2435: ssl->f_send() returned 75 (-0xffffffb5) [ESP] REM: ssl_tls.c:2454: <= flush output [ESP] REM: ssl_tls.c:2842: <= write record [ESP] REM: ssl_cli.c:2649: <= write client key exchange [ESP] REM: ssl_cli.c:2944: client state: 9 [ESP] REM: ssl_tls.c:2410: => flush output [ESP] REM: ssl_tls.c:2422: <= flush output [ESP] REM: ssl_cli.c:2695: => write certificate verify [ESP] MCT: OS free heap: 9204 [ESP] REM: ssl_tls.c:0502: => derive keys [ESP] REM: ssl_tls.c:0948: <= derive keys [ESP] REM: ssl_cli.c:2715: <= skip write certificate verify [ESP] REM: ssl_cli.c:2944: client state: 10 [ESP] REM: ssl_tls.c:2410: => flush output [ESP] REM: ssl_tls.c:2422: <= flush output [ESP] REM: ssl_tls.c:4191: => write change cipher spec [ESP] REM: ssl_tls.c:2695: => write record [ESP] REM: ssl_tls.c:2410: => flush output [ESP] REM: ssl_tls.c:2429: message length: 6, out_left: 6 [ESP] REM: ssl_tls.c:2435: ssl->f_send() returned 6 (-0xfffffffa) [ESP] REM: ssl_tls.c:2454: <= flush output [ESP] REM: ssl_tls.c:2842: <= write record [ESP] REM: ssl_tls.c:4205: <= write change cipher spec [ESP] REM: ssl_cli.c:2944: client state: 11 [ESP] REM: ssl_tls.c:2410: => flush ed tls sha256 [ESP] REM: ssl_tls.c:4571: <= calc finished [ESP] REM: ssl_tls.c:2695: => write record [ESP] REM: ssl_tls.c:1240: => encrypt buf [ESP] REM: ssl_tls.c:1554: <= encrypt buf [ESP] REM: ssl_tls.c:2410: => flush output [ESP] REM: ssl_tls.c:2429: message length: 45, out_left: 45 [ESP] REM: ssl_tls.c:2435: ssl->f_send() returned 45 (-0xffffffd3) [ESP] REM: ssl_tls.c:2454: <= flush output [ESP] REM: ssl_tls.c:2842: <= write record [ESP] REM: > read record [ESP] REM: ssl_tls.c:2202: => fetch input [ESP] REM: ssl_tls.c:2360: in_left: 0, nb_want: 5 [ESP] REM: ssl_tls.c:2384: in_left: 0, nb_want: 5 [ESP] REM: ssl_tls.c:2385: ssl->f_recv(_timeout)() returned 5 (-0xfffffffb) [ESP] REM: ssl_tls.c:2397: <= fetch input [ESP] REM: ssl_tls.c:2202: => fetch input [ESP] REM: ssl_tls.c:2360: in_left: 5, nb_want: 223 [ESP] REM: ssl_tls.c:2384: in_left: 5, nb_want: 223 [ESP] REM: ssl_tls.c:2385: ssl->f_recv(_timeout)() returned 218 (-0xffffff26) [ESP] REM: ssl_tls.c:2397: <= fetch input [ESP] REM: ssl_tls.c:3693: <= read record [ESP] REM: ssl_cli.c:2928: <= parse new session ticket [ESP] REM: ssl_cli.c:2944: client state: 12 [ESP] REM: ssl_tls.c:2410: => flush output [ESP] REM: ssl_tls.c:2422: <= flush output [ESP] REM: ssl_tls.c:4214: => parse change cipher spec [ESP] REM: ssl_tls.c:3493: => read record [ESP] REM: ssl_tls.c:2202: => fetch input [ESP] REM: ssl_tls.c:2360: in_left: 0, nb_want: 5 [ESP] REM: ssl_tls.c:2384: in_left: 0, nb_want: 5 [ESP] REM: ssl_tls.c:2385: ssl->f_recv(_timeout)() returned 5 (-0xfffffffb) [ESP] REM: ssl_tls.c:2397: <= fetch input [ESP] REM: ssl_tls.c:2202: => fetch input [ESP] REM: ssl_tls.c:2360: in_left: 5, nb_want: 6 [ESP] REM: ssl_tls.c:2384: in_left: 5, nb_want: 6 [ESP] REM: ssl_tls.c:2385: ssl->f_recv(_timeout)() returned 1 (-0xffffffff) [ESP] REM: ssl_tls.c:2397: <= fetch input [ESP] REM: ssl_tls.c:3693: <= read record [ESP] REM: ssl_tls.c:4284: <= parse change cipher spec [ESP] REM: ssl_cli.c:2944: client state: 13 [ESP] REM: ssl_tls.c:2410: => flush output [ESP] REM: ssl_tls.c:2422: <= flush output [ESP] REM: ssl_tls.c:4837: => parse finished [ESP] REM: ssl_tls.c:4541: => calc finished tls sha256 [ESP] REM: ssl_tls.c:4571: <= calc finished [ESP] REM: ssl_tls.c:3493: => read record [ESP] REM: ssl_tls.c:2202: => fetch input [ESP] REM: ssl_tls.c:2360: in_left: 0, nb_want: 5 [ESP] REM: ssl_tls.c:2384: in_left: 0, nb_want: 5 [ESP] REM: ssl_tls.c:2385: ssl->f_recv(_timeout)() returned 5 (-0xfffffffb) [ESP] REM: ssl_tls.c:2397: <= fetch input [ESP] REM: ssl_tls.c:2202: => fetch input [ESP] REM: ssl_tls.c:2360: in_left: 5, nb_want: 45 [ESP] REM: ssl_tls.c:2384: in_left: 5, nb_want: 45 [ESP] REM: ssl_tls.c:2385: ssl->f_recv(_timeout)() returned 40 (-0xffffffd8) [ESP] REM: ssl_tls.c:2397: <= fetch input [ESP] REM: ssl_tls.c:1570: => decrypt buf [ESP] REM: ssl_tls.c:2045: <= decrypt buf [ESP] REM: ssl_tls.c:3693: <= read record [ESP] REM: ssl_tls.c:4899: <= parse finished [ESP] REM: ssl_cli.c:2944: client state: 14 [ESP] REM: ssl_tls.c:2410: => flush output [ESP] REM: ssl_tls.c:2422: <= flush output [ESP] REM: ssl_cli.c:3055: handshake: done [ESP] REM: ssl_cli.c:2944: client state: 15 [ESP] REM: ssl_tls.c:2410: => flush output [ESP] REM: ssl_tls.c:2422: <= flush output [ESP] REM: ssl_tls.c:5962: <= handshake [ESP] REM: SSL handshake ok