[Mono-dev] Bug in Mono with PKCS12 Certificates?
Andres G. Aragoneses
knocte at gmail.com
Tue May 14 17:21:02 UTC 2013
On 12/05/13 02:34, Munawar Bijani wrote:
> 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!
That version of Mono is very old, please upgrade to 3.x and test again.
More information about the Mono-devel-list
mailing list