[Mono-list] ssl client authentication

nelson nelson <kascote@gmail.com>
Mon, 18 Apr 2005 16:06:52 -0300

Hi Gonzalo,

I expected the HttpClientCertificate object populated with data over
the certificate used in a HTTPS conecction.
>From the Request object that create a HttpClientCertificate object I
can't access WorkerRequest to suck the variables, and using
ServerVariablesCollection don't bring the correct variables for an
Apache server.... :( ... and if get all the variables I can get a
certificate from they.... :( :(

I was touching ServerVariablesCollection.cs to know about different
servers (IIS and Apache only, for now) and get the correct variables
(have different names), but enconter 2 problems in the way. 1)
mod_mono isn't getting all the server variables (not in my setup, I
put a message here in the forum) and 2) If I use only the variables
that ServerVariablesCollection.cs populate, I can't get a Certificate
in HttpClientCertificate, because the variable with the certificate
isn't populated.

I think that I need access to WorkerThread from HttpClientCertificate
to bypass ServerVariablesCollection and bring the one I need or
populate ServerVariablesCollection with more variables (may be this
option is more friendly).

Do you have some advice ?

:: nelson ::

On 4/7/05, Gonzalo Paniagua Javier <gonzalo@ximian.com> wrote:
> On Thu, 2005-03-31 at 12:35 -0500, S=E9bastien Pouliot wrote:
> > Hello Nelson,
> >
> > The HttpClientCertificate class isn't implemented in Mono (it's only
> > stubbed). It shouldn't be difficult to implement from the server variab=
> >
> > Of course it's more complicated if the server variables don't include t=
> > Gonzalo may know why they are missing (and how to add them ;-).
> We're not passing certificate information from mod_mono to
> mod-mono-server. What would you expect on the ASP.NET side? A server
> variable? Which one? Containing what? :)
> Once I know the answers, I'll implement that.
> -Gonzalo
> _______________________________________________
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list