Thanks Boyle, your comments were very helpful.
I moved the directives inside the SSL VH but this was not enough.
Changing the RewriteCond
from :
RewriteCond %{ENV:SSL_CLIENT_S_DN}(.*)
to :
RewriteCond %{SSL:SSL_CLIENT_S_DN}(.*) [NC]
solved my problem.
Regards,
Alpay
2005/10/26, Boyle O
> -Original Message-
> From: Alpay Ozturk [mailto:[EMAIL PROTECTED]
>
> RewriteCond %{ENV:SSL_CLIENT_S_DN}(.*)
> RewriteRule .* - [E=FORWARD_CERT:%1]
> RequestHeader add APACHE_CLIENT_CERT_HARD %{FORWARD_CERT}e
>
> After this config, I see from tomcat side that APACHE_CLIENT_CERT_HARD
Thanks Boyle,
I have read the document and did some googling. I am using version
2.0.49 and wrote the below config to achive my goal :
RewriteEngine On
RewriteOptions MaxRedirects=10
RewriteLog "/home/alpayo/rewrite.log"
RewriteLogLevel 5
RewriteCond %{ENV:SSL_CLIENT_S_DN}(.*)
RewriteRule .*
> -Original Message-
> From: Alpay Ozturk [mailto:[EMAIL PROTECTED]
> Sent: Dienstag, 25. Oktober 2005 09:56
> To: users@httpd.apache.org
> Subject: [EMAIL PROTECTED] Pass client certificate thorough
> apache to tomcat
>
>
> Hi All,
>
> I have set up apache and tomcat where ssl request