Hello Team,
I am trying to connect my server through ssl. But it is getting fail. I don't know what is it error. Please look it once.
This is my debug info.
. Seeding the random number generator…
ok
. Loading the CA root certificate … ok (1 skipped)
. Connecting to tcp/localhost/443…
ok
. Setting up the SSL/TLS structure… ok
. Performing the SSL/TLS handshake…\Middlewares\Third_Party\mbedTLS\library\ssl_tls.c:6754: => handshake
…\Middlewares\Third_Party\mbedTLS\library\ssl_cli.c:3384: client state: 0
…\Middlewares\Third_Party\mbedTLS\library\ssl_tls.c:2471: => flush output
…\Middlewares\Third_Party\mbedTLS\library\ssl_tls.c:2483: <= flush output
…\Middlewares\Third_Party\mbedTLS\library\ssl_cli.c:3384: client state: 1
…\Middlewares\Third_Party\mbedTLS\library\ssl_tls.c:2471: => flush output
…\Middlewares\Third_Party\mbedTLS\library\ssl_tls.c:2483: <= flush output
…\Middlewares\Third_Party\mbedTLS\library\ssl_cli.c:0770: => write client hello
…\Middlewares\Third_Party\mbedTLS\library\ssl_cli.c:0808: client hello, max version: [3:3]
…\Middlewares\Third_Party\mbedTLS\library\ssl_cli.c:0703: client hello, current time: 0
…\Middlewares\Third_Party\mbedTLS\library\ssl_cli.c:0817: dumping ‘client hello, random bytes’ (32 bytes)
…\Middlewares\Third_Party\mbedTLS\library\ssl_cli.c:0817: 0000: 00 00 00 00 b3 d9 0a e4 62 27 93 cf 93 5e 31 a2 …b’…^1.
…\Middlewares\Third_Party\mbedTLS\library\ssl_cli.c:0817: 0010: fe fb 43 d2 73 0f 61 66 a8 be d0 93 94 30 e9 73 …C.s.af…0.s
…\Middlewares\Third_Party\mbedTLS\library\ssl_cli.c:0870: client hello, session id len.: 0
…\Middlewares\Third_Party\mbedTLS\library\ssl_cli.c:0871: dumping ‘client hello, session id’ (0 bytes)
…\Middlewares\Third_Party\mbedTLS\library\ssl_cli.c:0918: client hello, add ciphersuite: c02c
…\Middlewares\Third_Party\mbedTLS\library\ssl_cli.c:0918: client hello, add ciphersuite: c02b
…\Middlewares\Third_Party\mbedTLS\library\ssl_cli.c:0925: client hello, got 2 ciphersuites (excluding SCSVs)
…\Middlewares\Third_Party\mbedTLS\library\ssl_cli.c:0934: adding EMPTY_RENEGOTIATION_INFO_SCSV
…\Middlewares\Third_Party\mbedTLS\library\ssl_cli.c:0983: client hello, compress len.: 1
…\Middlewares\Third_Party\mbedTLS\library\ssl_cli.c:0985: client hello, compress alg.: 0
…\Middlewares\Third_Party\mbedTLS\library\ssl_cli.c:0186: client hello, adding signature_algorithms extension
…\Middlewares\Third_Party\mbedTLS\library\ssl_cli.c:0271: client hello, adding supported_elliptic_curves extension
…\Middlewares\Third_Party\mbedTLS\library\ssl_cli.c:0336: client hello, adding supported_point_formats extension
…\Middlewares\Third_Party\mbedTLS\library\ssl_cli.c:1059: client hello, total extension length: 38
…\Middlewares\Third_Party\mbedTLS\library\ssl_tls.c:2764: => write record
…\Middlewares\Third_Party\mbedTLS\library\ssl_tls.c:2910: output record: msgtype = 22, version = [3:3], msglen = 89
…\Middlewares\Third_Party\mbedTLS\library\ssl_tls.c:2913: dumping ‘output record sent to network’ (94 bytes)
…\Middlewares\Third_Party\mbedTLS\library\ssl_tls.c:2913: 0000: 16 03 03 00 59 01 00 00 55 03 03 00 00 00 00 b3 …Y…U…
…\Middlewares\Third_Party\mbedTLS\library\ssl_tls.c:2913: 0010: d9 0a e4 62 27 93 cf 93 5e 31 a2 fe fb 43 d2 73 …b’…^1…C.s
…\Middlewares\Third_Party\mbedTLS\library\ssl_tls.c:2913: 0020: 0f 61 66 a8 be d0 93 94 30 e9 73 00 00 06 c0 2c .af…0.s…,
…\Middlewares\Third_Party\mbedTLS\library\ssl_tls.c:2913: 0030: c0 2b 00 ff 01 00 00 26 00 0d 00 12 00 10 06 03 .+…&…
…\Middlewares\Third_Party\mbedTLS\library\ssl_tls.c:2913: 0040: 06 01 05 03 05 01 04 03 04 01 03 03 03 01 00 0a …
…\Middlewares\Third_Party\mbedTLS\library\ssl_tls.c:2913: 0050: 00 06 00 04 00 18 00 17 00 0b 00 02 01 00 …
…\Middlewares\Third_Party\mbedTLS\library\ssl_tls.c:2471: => flush output
…\Middlewares\Third_Party\mbedTLS\library\ssl_tls.c:2490: message length: 94, out_left: 94
…\Middlewares\Third_Party\mbedTLS\library\ssl_tls.c:2496: ssl->f_send() returned 94 (-0xffffffa2)
…\Middlewares\Third_Party\mbedTLS\library\ssl_tls.c:2523: <= flush output
…\Middlewares\Third_Party\mbedTLS\library\ssl_tls.c:2922: <= write record
…\Middlewares\Third_Party\mbedTLS\library\ssl_cli.c:1085: <= write client hello
…\Middlewares\Third_Party\mbedTLS\library\ssl_cli.c:3384: client state: 2
…\Middlewares\Third_Party\mbedTLS\library\ssl_tls.c:2471: => flush output
…\Middlewares\Third_Party\mbedTLS\library\ssl_tls.c:2483: <= flush output
…\Middlewares\Third_Party\mbedTLS\library\ssl_cli.c:1478: => parse server hello
…\Middlewares\Third_Party\mbedTLS\library\ssl_tls.c:3809: => read record
…\Middlewares\Third_Party\mbedTLS\library\ssl_tls.c:2252: => fetch input
…\Middlewares\Third_Party\mbedTLS\library\ssl_tls.c:2413: in_left: 0, nb_want: 5
…\Middlewares\Third_Party\mbedTLS\library\ssl_tls.c:2437: in_left: 0, nb_want: 5
…\Middlewares\Third_Party\mbedTLS\library\ssl_tls.c:2438: ssl->f_recv(_timeout)() returned 5 (-0xfffffffb)
…\Middlewares\Third_Party\mbedTLS\library\ssl_tls.c:2458: <= fetch input
…\Middlewares\Third_Party\mbedTLS\library\ssl_tls.c:3552: dumping ‘input record header’ (5 bytes)
…\Middlewares\Third_Party\mbedTLS\library\ssl_tls.c:3552: 0000: 15 03 03 00 02 …
…\Middlewares\Third_Party\mbedTLS\library\ssl_tls.c:3561: input record: msgtype = 21, version = [3:3], msglen = 2
…\Middlewares\Third_Party\mbedTLS\library\ssl_tls.c:2252: => fetch input
…\Middlewares\Third_Party\mbedTLS\library\ssl_tls.c:2413: in_left: 5, nb_want: 7
…\Middlewares\Third_Party\mbedTLS\library\ssl_tls.c:2437: in_left: 5, nb_want: 7
…\Middlewares\Third_Party\mbedTLS\library\ssl_tls.c:2438: ssl->f_recv(_timeout)() returned 2 (-0xfffffffe)
…\Middlewares\Third_Party\mbedTLS\library\ssl_tls.c:2458: <= fetch input
…\Middlewares\Third_Party\mbedTLS\library\ssl_tls.c:3738: dumping ‘input record from network’ (7 bytes)
…\Middlewares\Third_Party\mbedTLS\library\ssl_tls.c:3738: 0000: 15 03 03 00 02 02 28 …(
…\Middlewares\Third_Party\mbedTLS\library\ssl_tls.c:4100: got an alert message, type: [2:40]
…\Middlewares\Third_Party\mbedTLS\library\ssl_tls.c:4108: is a fatal alert message (msg 40)
…\Middlewares\Third_Party\mbedTLS\library\ssl_tls.c:3831: mbedtls_ssl_handle_message_type() returned -30592 (-0x7780)
…\Middlewares\Third_Party\mbedTLS\library\ssl_cli.c:1485: mbedtls_ssl_read_record() returned -30592 (-0x7780)
…\Middlewares\Third_Party\mbedTLS\library\ssl_tls.c:6764: <= handshake
failed
! mbedtls_ssl_handshake returned -0x7780
Thanks