[Mono-dev] Version Number: Bug in Mono with PKCS12 Certificates?

Munawar Bijani munawarb at gmail.com
Sun May 12 06:13:32 UTC 2013

Sorry, I listed the incorrect version number in my last Email. I’m using Mono version 2.6.7 on Debian.

munawarb at gmail.com

From: Munawar Bijani 
Sent: Saturday, May 11, 2013 9:34 PM
To: mono-devel-list at lists.ximian.com 
Subject: Bug in Mono with PKCS12 Certificates?

Hi Everyone,
I have a crt file and key file which I’ve merged into a pkcs12 file using OpenSSL on Linux. When I load this file into the X509Certificate2 object, I get an error: Unabel to decode certificate. I’m loading the certificate using the X509Certificate2.Import(String) method provided in .NET.

The interesting thing is, when I issue:
X509Certificate2.GetCertContentType(“server.p12”);, the output is correct: PKCS12.

I’m on Debian with Mono 2.0.67 I think is the build. Is this a problem with Mono or am I doing something incorrect when importing my PKCS12 certificate? Thanks much!
munawarb at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20130512/22f74170/attachment.html>

More information about the Mono-devel-list mailing list