You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modules-dev@httpd.apache.org by Vedavyas Raichur <ve...@gmail.com> on 2006/11/21 09:34:46 UTC

Question about SSL

Hi,
 i am trying to write a module for apache that handles some custom security
features for SSL peer authentication. The problem is in apache 2.0 i am not
able to fetch SSL connection object (created by mod_ssl) which we used to
obtain using ap_ctx_get(..., "ssl")  in apache 1.3. Is there any other way i
can get hold of the connection object to do some extra checking.
As of now i am obtaining it using ap_get_module_config(... , &ssl_module),
how correct is this approach or is there any alternative.
i am also able to get the client cert using the apr_table to which mod_ssl
writes an entry (SSL_CLIENT_CERT).

Thanks for any help.
(using apache 2.0.59 )

Best Regards,
Vyas