[Mono-bugs] [Bug 79617][Wis] New - X509Certificate2.Import is unable to load pfx file

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sat Oct 7 12:20:46 EDT 2006


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by ck at carlo-kok.com.

http://bugzilla.ximian.com/show_bug.cgi?id=79617

--- shadow/79617	2006-10-07 12:20:46.000000000 -0400
+++ shadow/79617.tmp.10002	2006-10-07 12:20:46.000000000 -0400
@@ -0,0 +1,58 @@
+Bug#: 79617
+Product: Mono: Class Libraries
+Version: 1.0
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: System
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: ck at carlo-kok.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: X509Certificate2.Import is unable to load pfx file
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+X509Certificate2.Import is unable to load an openssl generated pfx file.
+
+Steps to reproduce the problem:
+1. save the .cs and .pfx file 
+2. Compile the .cs file
+3. run
+
+Actual Results:
+Unhandled Exception: 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.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, System.String password) [0x00000]
+  at System.Security.Cryptography.X509Certificates.X509Certificate2..ctor
+(System.String fileName, System.String password) [0x00000]
+  at Poing.Thing.Main () [0x00000]
+
+
+Expected Results:
+Success
+
+How often does this happen? 
+
+
+Additional Information:


More information about the mono-bugs mailing list