Closed kareem-wolfssl closed 2 years ago
Added alert history logging. Example:
2022/07/01 12:08:01 [crit] 74236#0: *1 SSL_do_handshake() failed (RX alert: level=fatal,code=illegal_parameter, TX alert: level=none,code=none) while SSL handshaking, client: 127.0.0.1, server: 0.0.0.0:1443
2022/07/01 12:08:01 [crit] 74236#0: *1 SSL_do_handshake() failed (SSL: received alert fatal error unknown error number) while SSL handshaking, client: 127.0.0.1, server: 0.0.0.0:1443
Unfortunately it isn't feasible to add it to the existing line with how nginx's logging is set up.
Without the relevant settings header included, nginx's test program compilation will fail: