SOLVED - Re: EnvelopedCms.Decrypt -- Certificate revocation problem in .net 2.0
From: Ziga Jakhel ("Ziga)
Date: 09/14/05
- Next message: Dominick Baier [DevelopMentor]: "Re: Anonymous access + Windows Authentication"
- Previous message: Ziga Jakhel: "SOLVED : Re: X.509 "Bad Key" error - EnvelopedCms.Decrypt()"
- In reply to: Ziga Jakhel: "EnvelopedCms.Decrypt -- Certificate revocation problem in .net 2.0"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 14 Sep 2005 09:30:57 +0200
Ok, the problem lies with makecert - generated certificates.
I generated one with Windows2003 CA, as Dominick has suggested and
everything works nicely.
Regards,
Ziga
"Ziga Jakhel" <ziga(dot)jakhel(at)rrc.si> wrote in message
news:u75eEgGuFHA.3720@TK2MSFTNGP14.phx.gbl...
> Hi!
>
> I'm trying to put together a demo for
> signing/verifying/encrypting/decrypting documents via pkcs #7 in VS2005,
> as per instructions in
> http://msdn2.microsoft.com/en-us/library/ms180960(en-US,VS.80).aspx
>
> The problem I'm getting is that when I call
> envelopedCms.Decrypt(), the operation fails with an error message "Bad
> Key".
> As far as I can trace it, it all comes down to the framework assuming the
> certificate is invalid, because it cannot get the revocation list from the
> ca.
>
> I have added the "homegrown" CA - Root Agency that the makecert tool
> created to all trusted roots, etc. but to no avail.
>
> Any ideas? I'm relatively new to programming with x.509
>
> Regards,
>
> Ziga
>
>
- Next message: Dominick Baier [DevelopMentor]: "Re: Anonymous access + Windows Authentication"
- Previous message: Ziga Jakhel: "SOLVED : Re: X.509 "Bad Key" error - EnvelopedCms.Decrypt()"
- In reply to: Ziga Jakhel: "EnvelopedCms.Decrypt -- Certificate revocation problem in .net 2.0"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|