|
| Hi,
i am using apache 2.2 on solaris. I have configured apache 2.2 in cert
mode.
I am using my plugin (which is .so) that makes a call to apr_table_get
function.
(The actual call is:
apr_table_get(requestRec->subprocess_env,"HTTPS") )
This call, if successful, should return value ON. But this is returning
NULL.
Also when i make this call with key value "SSL_CLIENT_CERT", it
returns NULL.
I have written a cgi script in PERL (printenv.pl) that displays all the
environment variables set by the apache webserver and it is showing
the certificates (and other varibales) properly. Also it shows HTTPS
value ON.
I have included the https-ssl.conf in httpd.conf file.
Following are some of the options which i have set in https-ssl.conf
file.
AddType application/x-x509-ca-cert .crt
AddType application/x-pkcs7-crl .crl
SSLPassPhraseDialog builtin
SSLSessionCache shmcb:/sharad/apache2/logs/ssl_scache(512000)
SSLSessionCacheTimeout 300
SSLEngine on
SSLCipherSuite
ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM
:+LOW:+SSLv2:+EXP:+eNULL
SSLCertificateFile /sharad/apache2/conf/server.crt
SSLCertificateKeyFile /sharad/apache2/conf/server.key
SSLCACertificateFile /sharad/apache2/bin/root_apache.cer
SSLVerifyClient require
SSLVerifyDepth 1
SSLOptions +FakeBasicAuth +ExportCertData +StrictRequire +StdEnvVars
SSLOptions +StdEnvVars
Can you tell me if i am missing any option in https-ssl.conf or do i
need to make any changes in httpd.conf and why my apr_table_get call is
returning NULL for the given key values.
Thanks
Ranjan
|
|