[Mono-bugs] [Bug 403610] New: Error importing Pkcs#12 certificate
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Wed Jun 25 05:22:03 EDT 2008
https://bugzilla.novell.com/show_bug.cgi?id=403610
User paszczi at go2.pl 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: spouliot at novell.com
ReportedBy: paszczi at go2.pl
QAContact: mono-bugs at lists.ximian.com
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.
More information about the mono-bugs
mailing list