TLS Alert Codes
TLS alerts signal errors and state changes during the handshake and session. Fatal alerts terminate the connection immediately. Warning alerts may allow the connection to continue. All alert codes are defined in RFC 8446 §6.2.
25
Fatal
3
Warning
Fatal Alerts
Fatal alerts immediately terminate the connection. The sender must close the TLS connection after sending a fatal alert.
Warning Alerts
Warning alerts do not necessarily terminate the connection. close_notify is the most important – both sides must send it for a clean shutdown.