Thanks... it really work :)

Inside ~ssl_engine_kernel.c~ in function ~void 
ssl_hook_NewConnection(conn_rec *conn)~, I added a line of :

rawcert = ssl_var_lookup(conn->pool, conn->base_server, conn, NULL, 
"SSL_CLIENT_CERT");

where rawcert is char * and conn is conn_rec *. Plus a small configuration 
inside httpd.conf as you suggested to me; SSLOptions +ExportCertData, the 
result is what I want.

This function will return the string as inside the certificate file.

Regards  :)
M.Hanizan

______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to