[Mono-list] ssl client authentication (mod_mono + xsp)

nelson nelson <kascote@gmail.com>
Tue, 19 Apr 2005 00:16:05 -0300


Hi,
The problem isn't with the SSL_XXX variables...=20
In the mail I put about the mod_mono problem, I put the Apache config
section I'm using and the SSL options and variables are ok.
The problem is that mod_mono isn't getting *some* variables like
SERVER_SOFTWARE, CGI_GATEWAY. I use the first to try identify the
server and use the correct variables to populate over
ServerVariablesCollection.

May be my english isn't very good and I'm making difficult to explain
the problem.

let me start again.....

I want to authenticate users with certificates and use
HttpClientCertificate to catch the certificate the user present at
server request. HttpClientCertificate is an stub class and I try to
implement it. For that I use ServerVariables, because I know there is
the information, but ServerVariablesCollection class don't bring all
the server variables, only the IIS compatibles ones (but mod_mono
don't work with IIS :) and Apache use other variables names :p ).
Making some changes to ServerVariablesCollection to populate the
internal structure with different server variables for IIS and Apache,
I try to get SERVER_SOFTWARE variable to identify the server but found
that it isn't populated, putting some debug code in mod_mono there are
other variables that isn't populated.... At this moment i'm not in the
machine with the test code i'm using. tomorrow i will post all the
variables I think that mod_mono is missing.
I'm stuck there because i don't know the apache api and don't know if
the problem is my or not.....

regards
--=20
:: Nelson ::


On 4/18/05, Gonzalo Paniagua Javier <gonzalo@ximian.com> wrote:
> On Mon, 2005-04-18 at 19:05 -0400, Gonzalo Paniagua Javier wrote:
>=20
> > May be the ones for SSL are kerpt somewhere else. I'm searching the
> > sources to figure out where.
>=20
> Those variables are stored where mod_mono expects *if* you set the
> corresponding SslOption in apache configuration. See
> http://httpd.apache.org/docs-2.0/mod/mod_ssl.html#ssloptions
>=20
> -Gonzalo
>