arturobernalg commented on PR #1278: URL: https://github.com/apache/tomcat/pull/1278#issuecomment-7271656525
CLIENT_CERT has the same problem, it is just another name that no client can answer: it is the Servlet API getAuthType() value, not an HTTP authentication scheme, and there is no Authorization header a client could send back. For this mechanism the challenge is the TLS CertificateRequest, which the server has either already sent or was unable to send for this request. RFC 9110 11.4 treats transport level authentication as an additional mechanism outside the challenge-response framework, and 15.5.2 requires a challenge applicable to the target resource, which no HTTP challenge is here, so I think the real issue is that 401 is the wrong status here, not that a header is missing. I would rather see this return 403 (15.5.4). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
