title: Apache X509 certificate auth mode setting HTTP headers
body: <p>How can we set X509 certificate parameters in HTTP header from Apache?</p>
  
  <p>my web proxy configuration contains </p>
  
  <pre><code>RequestHeader set SSL_CLIENT_CERT "%{SSL_CLIENT_CERT}s"
  </code></pre>
  
  <p>above will set complete certificate into HTTP header. I will get it from HTTP header in my servlet.</p>
  
  <p>But I need to set <a href="https://httpd.apache.org/docs/trunk/ssl/ssl_compat.html" rel="nofollow">individual parameter</a> like </p>
  
  <pre><code>SSL_CLIENT_S_DN_CN
  SSL_CLIENT_I_DN_OU
  </code></pre>
  
  <p>I have set like this,</p>
  
  <pre><code>RequestHeader set SSL_SERVER_S_DN_O "%{SSL_SERVER_S_DN_O}s"
  RequestHeader set SSL_SERVER_I_DN_OU "%{SSL_SERVER_I_DN_OU}s"
  </code></pre>
  
  <p>But its not working!</p>
  
  <p>Is there any parser/modules available for do this in Apache? 
  Please help me on this.</p>