https://bugzilla.novell.com/show_bug.cgi?id=403610
User [EMAIL PROTECTED] added comment https://bugzilla.novell.com/show_bug.cgi?id=403610#c12 Summary: Error importing Pkcs#12 certificate Product: Mono: Class Libraries Version: SVN Platform: Other OS/Version: Mac OS X 10.5 Status: NEW Severity: Normal Priority: P5 - None Component: System.Security AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] QAContact: [email protected] Found By: --- I have pkcs#12 certificate without private key (created with openssl) and whenever I try to import this cert into the system I get parsing exception: Unhandled Exception: System.Security.Cryptography.CryptographicException: Unable to decode certificate. ---> System.Security.Cryptography.CryptographicException: Input data cannot be coded as a valid certificate. ---> System.Security.Cryptography.CryptographicException: Input data cannot be coded as a valid certificate. at Mono.Security.X509.X509Certificate.Parse (System.Byte[] data) [0x00000] --- End of inner exception stack trace --- at Mono.Security.X509.X509Certificate.Parse (System.Byte[] data) [0x00000] at Mono.Security.X509.X509Certificate..ctor (System.Byte[] data) [0x00000] at System.Security.Cryptography.X509Certificates.X509Certificate.Import (System.Byte[] rawData, System.String password, X509KeyStorageFlags keyStorageFlags) [0x00000] --- End of inner exception stack trace --- at System.Security.Cryptography.X509Certificates.X509Certificate.Import (System.Byte[] rawData, System.String password, X509KeyStorageFlags keyStorageFlags) [0x00000] at System.Security.Cryptography.X509Certificates.X509Certificate2.Import (System.Byte[] rawData, System.String password, X509KeyStorageFlags keyStorageFlags) [0x00000] at System.Security.Cryptography.X509Certificates.X509Certificate2.Import (System.String fileName, System.String password, X509KeyStorageFlags keyStorageFlags) [0x00000] at System.Security.Cryptography.X509Certificates.X509Certificate..ctor (System.String fileName) [0x00000] at System.Security.Cryptography.X509Certificates.X509Certificate2..ctor (System.String fileName) [0x00000] -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
