[Mono-bugs] [Bug 403610] Error importing Pkcs#12 certificate

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Jun 27 06:00:13 EDT 2008


User paszczi at go2.pl added comment

--- Comment #5 from Maciej Paszta <paszczi at go2.pl>  2008-06-27 04:00:12 MDT ---
Sebastien that works great thanks! Gert what do you mean by original behavior?
My p12 was created with empty password and without private key. Importing this

X509Certificate2 cert = new X509Certificate2(@"cert.p12");

Worked on .NET but not on the Mono, however as Sebastien suggested:

X509Certificate2 cert = new X509Certificate2(@"cert.p12", String.Empty);

Works both on the .NET and on the Mono.

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