Article ID: 318217 - View products that this article applies to.
This article was previously published under Q318217
This article refers to the following Microsoft .NET Framework Class Library namespaces:
When you use the System.Security.Cryptography.X509Certificates.X509Certificate class, you may receive the following error message:
This problem occurs if one of the following conditions is true:
Input data cannot be coded as a valid certificate.
This problem occurs because the X509Certificate class only supports binary X.509 (.cer) certificates that are encoded in Distinguished Encoding Rules (DER).
If the certificate is Base64-encoded, follow these steps to resolve this problem:
Article ID: 318217 - Last Review: October 20, 2003 - Revision: 4.0
Contact us for more help
Connect with Answer Desk for expert help.