diff --git a/lib/ssl/src/tls_server_connection_1_3.erl b/lib/ssl/src/tls_server_connection_1_3.erl index 8801f00b6787..684770f5ff16 100644 --- a/lib/ssl/src/tls_server_connection_1_3.erl +++ b/lib/ssl/src/tls_server_connection_1_3.erl @@ -507,8 +507,8 @@ do_handle_client_hello(#client_hello{cipher_suites = ClientCiphers, {Ref, #alert{} = Alert} -> Alert; error:Reason:ST -> - ?SSL_LOG(debug, handshake_error, [{reason, Reason}, {stacktrace, ST}]), - ?ALERT_REC(?ILLEGAL_PARAMETER, illegal_parameter_in_client_hello) + ?SSL_LOG(info, handshake_error, [{reason, Reason}, {stacktrace, ST}]), + ?ALERT_REC(?FATAL, ?ILLEGAL_PARAMETER, illegal_parameter_in_client_hello) end. send_hello_flight({start_handshake, PSK0}, @@ -590,8 +590,8 @@ send_hello_flight({start_handshake, PSK0}, {Ref, #alert{} = Alert} -> Alert; error:Reason:ST -> - ?SSL_LOG(debug, crypto_error, [{reason, Reason}, {stacktrace, ST}]), - ?ALERT_REC(?ILLEGAL_PARAMETER, illegal_parameter_to_compute_key) + ?SSL_LOG(info, crypto_error, [{reason, Reason}, {stacktrace, ST}]), + ?ALERT_REC(?FATAL, ?ILLEGAL_PARAMETER, illegal_parameter_to_compute_key) end. validate_cookie(_Cookie, #state{ssl_options = #{cookie := false}}) ->