I implemented a client certificate authentication in my asp net core application and now I'm wondering if there is any possibility to return a Error Page if the Certificate is rejected by the default validating method of Kestrel.
At the moment Kestrel does not send any response which leads to an ERR_EMPTY_RESPONSE Message in Google Chrome. I would like to provide some information to the user, so he knows why he doesn't receive any response.
When the validation fails, Kestrel reject the connection and I think a connection refused response would by more useful, than an empty response.
Is there anything I missed?