damienbod / AspNetCoreCertificates

Certificate Manager in .NET Core for creating and using X509 certificates
https://www.nuget.org/packages/CertificateManager/
MIT License
227 stars 54 forks source link

GetClientCertificateAsync #35

Open lopesclayton opened 3 years ago

lopesclayton commented 3 years ago

Hello guys, I developed an api. that at the controller I need to read the data from the client certificate attached to the request. on my computer in development mode, I make requests and when debugging I receive the certified object concealer when I run X509Certificate2 cert = await HttpContext.Connection.GetClientCertificateAsync ();

is some extra configuration that I have to do, or some other detail that I'm missing, I would like to know if someone can give me a light on this issue ....