[Mono-dev] X509Certificate problem

Maciej Paszta paszczi at go2.pl
Mon Jun 2 16:37:12 EDT 2008

On Jun 2, 2008, at 2:25 PM, Sebastien Pouliot wrote:

> Hey,
> This should be working(*) and we have unit tests for them. Please  
> fill a
> bug report and attach your PEM certificate to it.

to anyone interested here's the link:

I was also wondering, since in my project I use  
X509Certificate2.PrivateKey setter which throws unsupported exception  
(the certificate is stored in pkcs#12 along with private key, but  
while exporting I want to get rid of it) - it works ok on .NET. Is it  
incomplete API or some other kind of bug? When I export such  
certificate (with removed PrivateKey) from .NET to file (encoded in  
Base64) and then try to import it again using mono runtime I get  
exception that the certificate couldn't be loaded (again works  
on .NET). Should I report it as well?

p.s. sorry for sending this mail directly to you :)

Best regards,
Maciej Paszta

More information about the Mono-devel-list mailing list