Middleware mTLS

I need on a certain route to do an mTLS validation, validating the communication certificate with a list of certificates I have

the ideal is that it is in the route through a middleware, otherwise I would have to create a subdomain to do this at the http server level apache or nginx

Hi @elvisreis Why not let the server validate the certificates?
What is the actual question? Do you have sample code and more context?

Hi @elvisreis. I do not get it. What is your actual question?