httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 59626] mod_ssl configuration directives ExportCertData and StdEnvVars, and other ssl environment variables can't be used with a fastcgi authenticator
Date Tue, 24 May 2016 13:26:22 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=59626

--- Comment #1 from Guilherme Destefani <httpd.apache.org@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


Mime
View raw message