I have in my dev machine a WCF Client which requires certificate and it is working fine.
After the deployment to production server I get the following Error:
I had this issue in with a PFX certificate file that had a 40 character password set, Windows allowed me to export it and also import it, but it couldn't be used in C# code, so I changed to a 30 character password and it works.