Azure Application Gateway Mutual authentication and client_certificate_verification server variable

Bartosz Witkowski 1 Reputation point
2022-08-30T09:12:12.503+00:00

Hi,

I have mutual TLS enabled, but when client does not send any certificate then I get "400 Bad Request No required SSL certificate was sent" - that's ok. But, is it possible to use client_certificate_verification server variable to pass the request further and not drop it at all?

Basically, what I want to achieve is to have one domain entry like https://abc.example.com with MTLS configured BUT when a client does not introduce certificate then the request is passed with client_certificate_verification=NONE (as MS docs says).

Are there any conditions/rewrites to do that? Or is there another way?

If not, where is the client_certificate_verification used? According to docs: "The result of the client certificate verification: SUCCESS, FAILED:<reason>, or NONE if a certificate was not present." so FAILED and NONE may be used somewhere...

Thanks!

Azure Application Gateway
Azure Application Gateway
An Azure service that provides a platform-managed, scalable, and highly available application delivery controller as a service.
1,213 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.