I made certificate authentication in .Net core (API core) using the client certificate .pfx file and this works well locally but doesn't work after publishing the code and the .pfx file on IIS.
I am using the below article for reference
//medium.com/@niteshsinghal85/certificate-based-authentication-in-asp-net-core-web-api-aad37a33d448