You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2016/05/24 13:26:22 UTC

[Bug 59626] mod_ssl configuration directives ExportCertData and StdEnvVars, and other ssl environment variables can't be used with a fastcgi authenticator

https://bz.apache.org/bugzilla/show_bug.cgi?id=59626

--- Comment #1 from Guilherme Destefani <ht...@destefani.eng.br> ---
Created attachment 33874
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=33874&action=edit
Test program. See instructions inside the source.

Use this program to test if apache httpd works with an Fcgi Authenticator
that checks client certificates using the variable SSL_CLIENT_CERT
exported with the mod_ssl configuration directive "SSLOptions +ExportCertData"
Run it like this:
gcc -std=gnu99 -lfcgi fcgi_test.c -o fcgi_test&&./fcgi_test :9000
This is *not* an example of how to program properly.
It is an AUTHORIZER and a RESPONDER in the same program.
Authorization succeeds with 200 OK if the environment has SSL_CLIENT_CERT,
otherwise 500 INTERNAL SERVER ERROR. As RESPONDER, prints all environment.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org