Bug 14147

Summary: The conf directive "SSLOptions +StdEnvVars" for mod_ssl will cause every request to seg fault.
Product: [Retired] Red Hat Secure Web Server Reporter: George Dittmeier <george>
Component: securewebAssignee: Preston Brown <pbrown>
Status: CLOSED ERRATA QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 3.2   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-09-15 05:31:16 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
my conf file for Redhat Secure Web Server (The SSLOptions directive is currently commented out for obvious reasons) none

Description George Dittmeier 2000-07-17 17:46:06 UTC
Greetings.
I recently upgraded from the secure web server 2.0 product to 3.2.1-1.  I noticed that I was no longer getting the environment 
variable "HTTPS_SECRETKEYSIZE" in my cgi (perl) scripts.  After some investigation, I found that the name of this variable changed to 
"SSL_CIPHER_ALGKEYSIZE".  This didn't work either.  I then printed out my entire environment in cgi and found that non of the SSL 
environment variables as documented here-->http://www.modssl.org/docs/2.6/ssl_compat.html are being exported to my scripts.  According to 
the FAQ at www.modssl.org, I needed to add the set an SSLOption in my httpd.conf file to get these environment variables to export.  
Specifically, it says to add the line "SSLOptions +StdEnvVars" to the conf file withing the VirtualHost section for the secure server.  So I did 
this.  

So here's the rub.  I find that if I add "SSLOptions +StdEnvVars" to my httpd.conf file and restart my server every request to my secure server 
(even those that don't touch any cgi) result in a segmentation fault.  Needless to say this is very bad and getting very frustrating.  I currently 
have no way to access the SSL environment variables via cgi and our site needs to distinguish 128 bit key clients from 40 bit key clients.

We've been very disappointed in the quality and breadth of the documentation and support available for the red had secure server.  Hopefully a 
quick and meaningful response to this issue will change our minds.  
Thanks.

Comment 1 George Dittmeier 2000-07-17 17:50:24 UTC
Created attachment 1227 [details]
my conf file for Redhat Secure Web Server (The SSLOptions directive is currently commented out for obvious reasons)

Comment 2 Nalin Dahyabhai 2000-07-18 18:20:30 UTC
I've traced this one down to a call into the BSAFE library's ASN1_UTCTIME_print
function, which is not a supported API call.  Without the library source, the
best we
can do is to try to find a workaround.

Comment 3 George Dittmeier 2000-07-18 19:50:01 UTC
As long as the workaround gives access to the SSL environment variables I'll be happy.  FYI, I tried using the mod_env package to make the variables I 
need accessible to my cgi progs, but this had no affect.  I guess they simply aren't in the environment. Seems like the BSAFE code is causing problems 
in several areas (references in other bugs).  Maybe a patch is in order?

Comment 4 George Dittmeier 2000-07-18 19:50:31 UTC
Oh, and THANK YOU for your timely response.

Comment 5 George Dittmeier 2000-08-30 19:04:34 UTC
Can we please get some kind of resolution to this bug?  It's been over a month since the last update.
I spending valuable resources working around it via silly cgi-based fixes.

Comment 6 George Dittmeier 2000-09-15 05:31:13 UTC
Is anybody listening out there? Hello?

Comment 7 Nalin Dahyabhai 2000-10-27 16:48:57 UTC
This fix is going into the security errata we're putting out.