httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcus Leon <>
Subject How can you programmatically get SSL info in Apache 2?
Date Thu, 22 Aug 2002 16:58:50 GMT
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?

We are having problems testing this function.  Our module builds fine but we
get an error when we start Apache:
Syntax error on line 252 of httpd.conf: Cannot load 
into server: undefined symbol: 

To do this test, we just included mod_ssl.h and called the function.  We
have configured Apache with SSL and we can successfully make a SSL HTTP
request so mod_ssl should be loaded properly.

Any suggestions would be great.  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,
computer viruses.

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:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message