You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Marcus Leon <Ma...@baltimore.com> on 2002/08/30 00:21:05 UTC

[users@httpd] How can you programmatically get SSL info in Apache 2?

In Apache 1.x we got SSL info like this:
ap_hook_call("ap::mod_ssl::var_lookup", &hvalue, r->pool, r->server,
r->connection, r, "SSL_CLIENT_CERT");

This function does not appear to exist in Apache 2.  Does anyone know the
new method of obtaining SSL information?

We saw that there is a function ssl_var_lookup in mod_ssl.h.  Is this the
equivalent of ap_hook_call?

Thanks!



-----------------------------------------------------------------------------------------------------------------
The information contained in this message is confidential and is intended
for the addressee(s) only.  If you have received this message in error or
there are any problems please notify the originator immediately.  The 
unauthorised use, disclosure, copying or alteration of this message is 
strictly forbidden. Baltimore Technologies plc will not be liable for
direct, special, indirect or consequential damages arising from alteration of the
contents of this message by a third party or as a result of any virus being 
passed on.
 
This footnote confirms that this email message has been swept for Content Security threats, including
computer viruses.

http://www.baltimore.com

 
This footnote confirms that this email message has been swept by 
Baltimore MIMEsweeper for Content Security threats, including
computer viruses.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] How can you programmatically get SSL info in Apache 2?

Posted by "John K. Sterling" <jo...@sterls.com>.
I think the ssl_var_lookup has been moved to an optional function which  
you can look up and call from your module.

sterling

On Thursday, August 29, 2002, at 06:21 PM, Marcus Leon wrote:

> In Apache 1.x we got SSL info like this:
> ap_hook_call("ap::mod_ssl::var_lookup", &hvalue, r->pool, r->server,
> r->connection, r, "SSL_CLIENT_CERT");
>
> This function does not appear to exist in Apache 2.  Does anyone know  
> the
> new method of obtaining SSL information?
>
> We saw that there is a function ssl_var_lookup in mod_ssl.h.  Is this  
> the
> equivalent of ap_hook_call?
>
> Thanks!
>
>
>
> ----------------------------------------------------------------------- 
> ------------------------------------------
> The information contained in this message is confidential and is  
> intended
> for the addressee(s) only.  If you have received this message in error  
> or
> there are any problems please notify the originator immediately.  The
> unauthorised use, disclosure, copying or alteration of this message is
> strictly forbidden. Baltimore Technologies plc will not be liable for
> direct, special, indirect or consequential damages arising from  
> alteration of the
> contents of this message by a third party or as a result of any virus  
> being
> passed on.
>
> This footnote confirms that this email message has been swept for  
> Content Security threats, including
> computer viruses.
>
> http://www.baltimore.com
>
>
> This footnote confirms that this email message has been swept by
> Baltimore MIMEsweeper for Content Security threats, including
> computer viruses.
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server  
> Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org