Welcome to MobyThreads.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log in/Register/PasswordLog in/Register/Password

mod_ssl : %{LA-U:ENV:SSL_CLIENT_S_DN_L} doesn't work

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Related Topics:
Does apache/mod_ssl need to be configured to work with PHP? - I am running Apache 2.x and now I wanted to set up SSL by setting up the paths (eg. in ssl.conf. The PHP page is parsed but the secure version (https) doesn't show up Am I missing some..

mod_ssl - ok here goes. I'm running apache v2.0.50 on win 2k pro this is the I don't seem to have the mod_ssl module in my I went to the modssl website at and it only works for apache version 1.3.31 is this the..

mod_ssl - Hi, I have an Apache2 server on FreeBSD for which I am trying to install mod_ssl. I obtained and installed that. I then obtained (which is the latest tarball according to

mod_ssl quesiton. - System: (Unix) Debian GNU/Linux with mod_ssl Im able to do typical virtual hosts on a single IP system with the following entries. This enables me to host multiple sites on a single system running apache.. aslong as DNS is..

Apache 2.0.50 mod_ssl - Sorry if this has been asked before but I keep getting this message: # apachectl startssl Syntax error on line 258 of Cannot load into server:..
Author Message
simmon

External


Since: Jan 17, 2005
Posts: 1



(Msg. 1) Posted: Mon Jan 17, 2005 5:35 am
Post subject: mod_ssl : %{LA-U:ENV:SSL_CLIENT_S_DN_L} doesn't work
Archived from groups: alt>apache>configuration (more info?)

Hi

I need to extrac SSL_CLIENT_S_DN_L from apache (after successful client authentication using certificates)
and pass it to my web application via URL, like :

<a style='text-decoration: underline;' href="https://localhost/ren" target="_blank">https://localhost/ren</a> ... /?SSL_CLIENT_S_DN_L=SomeLocation/


I'm trying to achieve this by using mod_rewrite like that :

....
<VirtualHost _default_:443>
....
  SSLEngine on
  SSLOptions +StdEnvVars
  SSLVerifyClient require
  SSLVerifyDepth 1

  CustomLog logs/ssl_request.log \
  "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x%{SSL_CLIENT_S_DN}x \"%r\" %b"

  SSLCertificateFile conf\ssl\oracle\ssl.crt\server.crt
  SSLCertificateKeyFile conf\ssl\oracle\ssl.key\server.key
  SSLCACertificateFile conf\ssl\oracle\ssl.crt\demoCAcert.crt

  RewriteEngine on
  Options +FollowSymlinks

  RewriteRule rrcp <a style='text-decoration: underline;' href="https://%" target="_blank">https://%</a>{SERVER_NAME}/ren/?CN=%{LA-U:ENV:SSL_CLIENT_S_DN_L}/
....
</VirtualHost>
....

I've never used mod_rewrite before, but according to what i've found on the web i should work, but it doesn't, and what I get
in URL is :

<a style='text-decoration: underline;' href="https://localhost/ren/" target="_blank">https://localhost/ren/</a> .... /SSL_CLIENT_S_DN_L=/

rewrite log shows :

  ...
  lookahead: path=/rrcp var=ENV:SSL_CLIENT_S_DN_L -> val=
  ...

while all apache environment variables regarding ssl are set corretly (i've checked in logs and through phpinfo()).

Can anyone help me to find out what i am doing wrong?

Apache version is 2.0.50, mod_ssl version is 2.0.52, both server and client use certificates and a i'm a newbie as far as
mod_rewrite and mod_ssl are concerned.

Shym
m o d r a [a t] i c p n e t [d o t] p l<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: mod_ssl : %{LA-U:ENV:SSL_CLIENT_S_DN_L} doesn't work 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]