Re: How to verify CA for a X.509 certificate
From: Michel Gallant (neutron_at_istar.ca)
Date: 06/12/04
- Previous message: DotNetJunkies User: "Re: Active Directory"
- In reply to: Bas van Atteveldt: "Re: How to verify CA for a X.509 certificate"
- Next in thread: Michel Gallant: "Re: How to verify CA for a X.509 certificate"
- Reply: Michel Gallant: "Re: How to verify CA for a X.509 certificate"
- Reply: Bas van Atteveldt: "Re: How to verify CA for a X.509 certificate"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Sat, 12 Jun 2004 10:34:24 -0400
The article DOES check if the public key is in the store, and tries
to use it to explicitly verify the signature on the cert. If the issuer-name
and associated cert/key was swapped, of COURSE the signature verification
would fail, so that is not a problem.
If you trust who you received the signed XML file from, and you ALSO trust
the integrity of your root CA store (i.e. haven't populated unwisely with unknown
root CA certs from potentially malicious origins, like my own openSSL generated
root CA certs ;-) then you should be golden.
- Mitch Gallant
www.jensign.com
"Bas van Atteveldt" <newsgroup@2at.nl> wrote in message
news:%23c4fadGUEHA.556@tk2msftngp13.phx.gbl...
> It helps a little. I had already found that article but it is an awfull lot
> of work using almost exclusively unmanaged calls. More importantly, if I
> read it correctly, it only checks if the issuer name exists in a store; this
> is not secure as the issuer name can be forged quite easily. It should check
> if the public key of the issuer (or the issuer's issuer, etc.) is in the
> store. I believe that code like this can also be done managed using the WSE
> (web services enhancements) from microsoft.
>
> Bas.
>
> "Michel Gallant" <neutron@istar.ca> wrote in message
> news:%232tdtP%23TEHA.3404@TK2MSFTNGP10.phx.gbl...
> > Note sure is this helps:
> > http://www.jensign.com/JavaScience/dotnet/VerifyCertSigner
> > - Mitch Gallant
> > MVP Security
> >
> ...
>
>
- Previous message: DotNetJunkies User: "Re: Active Directory"
- In reply to: Bas van Atteveldt: "Re: How to verify CA for a X.509 certificate"
- Next in thread: Michel Gallant: "Re: How to verify CA for a X.509 certificate"
- Reply: Michel Gallant: "Re: How to verify CA for a X.509 certificate"
- Reply: Bas van Atteveldt: "Re: How to verify CA for a X.509 certificate"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|