We have a webapi hosted on azure, we need to enable TLS Mutual Authentication.
My question is, how do I restrict the calls to only allow requests coming from one (or set of) certificates that I know the caller will be sending. I can read some properties from HttpContext.Connection.GetClientCertificateAsync();
Should I just match these properties or is there a better way to make sure calls are only handled with certificates known to our API.
Thanks