In MVC application I need to verify that the client certificate was signed/issued by a specific CA.
I know how to get Request.ClientCertificate
and X509Certificate2
from that, but I can't figure out how to check the issuer.
Request.ClientCertificate.Issuer
gives the subject of Issuer, but I don't think that is secure enough.
I would prefer to be able to check issuer thumbprint, so how do I retrieve it from client certificate?