Apache - ModSSL (SSL Version?)


 
Thread Tools Search this Thread
Top Forums Web Development Apache - ModSSL (SSL Version?)
# 1  
Old 06-04-2010
Apache - ModSSL (SSL Version?)

Does anyone know where Apache's use of SSL_VERSION_LIBRARY is defined and pulled from, in regard to headers? So far, I've tracked it down to mod_ssl. Which is fine, however, when I recompile mod_ssl with a new version of OpenSSL, and install the module, the request headers still report the old version of OpenSSL. Running strings on mod_ssl.so shows the correct version:

Code:
[modules]# strings mod_ssl.so | tail -n 1 
OpenSSL 0.9.8o 01 Jun 2010

Basically, I'm trying to get Apache to use and report OpenSSL version 0.9.8o. I would like to avoid manipulating the variable from the configuration file to do so, if possible.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Linux

Apache wildcard ssl on subdomain serves same page for non ssl virtualhosts

Issue observed: I have configured ng.my-site.com using widlcard ssl cert. When I hit https://www.my-site.com it loads ng.my-site.com website! please advise if I missed any concept / configs... Thank you! httpd.conf <VirtualHost *:80> ServerName www.my-site.com ServerAdmin... (0 Replies)
Discussion started by: ashokvpp
0 Replies

2. UNIX and Linux Applications

Apache 2, mod_ldap, mod_auth_ldap, SSL

Hi, I have following problem. I have an Apache httpd v2 running. One of it's URLs is secured by an LDAP authentication encrypted via SSL. This works fine with the given directives. Currently there is following directive to tell with which LDAP server to authenticate: AuthLDAPURL... (0 Replies)
Discussion started by: zaxxon
0 Replies

3. Web Development

Apache, cgi script run twice when ssl, once when not ssl

I have interesting problem. https:/host/some/x.cgi - this script has run twice when I call this url But http:/host/some/x.cgi work fine, only once. Output is text/plain. If I change output format to the Content-type text/html, then both urls works fine - executed only once. (2 Replies)
Discussion started by: kshji
2 Replies

4. Web Development

apache ssl routing 2 dns

Hi i'm looking for some advice on apache ssl routing for 2 url.Fyi one url is certificate is verified by GeoTrust and another url on the other site certificate is verified by Verisgn.Is that possible to routing between this two url. Here is my scenario I have an https:// site running on an... (0 Replies)
Discussion started by: netxus
0 Replies

5. Web Development

Apache SSL Help

I had to update the CA Trusted Chains on two different UNIX servers running Apache. After looking through some documentation, it said that after the new CA's were installed, I had to run the /usr/ccs/bin/make command in order to create the symbolic links for apache to recognize the certs. On the... (1 Reply)
Discussion started by: camerodity
1 Replies

6. Solaris

SSL key Apache

We are running Apache 1.3 on solaris 8 we have renewed our ssl key with verisign. They have confirmed renewel and new ssl certifcate is appended to the end of the email. out apache config file has two directives SSLCertificateFile /export/home/apache/conf/ssl.crt/xxxx.crt SSLCertificationKeyFile... (2 Replies)
Discussion started by: Tirmazi
2 Replies

7. HP-UX

Apache and SSL

When everytime I start apache, it asks me to enter pass phrase, and I have to enter the pass phrase manually. I would like to write a script to monitor the apache, such that it will check the apache status, if it is stopped, then start it automatically. However, the script fails since the pass... (1 Reply)
Discussion started by: alfredo
1 Replies

8. Solaris

Apache with SSL problem

Hi All, I'm attempting to build Apache 1.3.27 on a new Solaris 9 system. I am using following "Option 2" in the INSTALL of the mod_ssl-2.8.12-1.3.27, and I'm stumped. After I configure and make all the required components the make of the Apache server itself stops at: flex... (2 Replies)
Discussion started by: b_manu78
2 Replies

9. UNIX for Advanced & Expert Users

apache with modssl

I installed the apache 1.3.27 with modssl on my solaris 8 like SSL_BASE=/usr/local/ssl ./configure \ "--with-apache=../apache_1.3.27" \ "--with-ssl=/usr/local/ssl" \ the installation went alright and apache is working fine with http and https but when I stop apache and try to restart... (1 Reply)
Discussion started by: hassan2
1 Replies

10. UNIX for Dummies Questions & Answers

apache-ssl https-problem?

hi folks. i know that this is not a realī unix problem, itīs an apache-webserver problem, but maybe you can help me? i have installed apache & mod_ssl, done a certificate, and configured my server well, but apache only understands "http://servername", not "https://servername". any ideas? ... (1 Reply)
Discussion started by: loitschix
1 Replies
Login or Register to Ask a Question
libapache2-mod-perl2-2.0.7::docs::api::Apache2::Module(3User Contributed Perl Documentalibapache2-mod-perl2-2.0.7::docs::api::Apache2::Module(3pm)

NAME
Apache2::Module - Perl API for creating and working with Apache modules Synopsis use Apache2::Module (); #Define a configuration directive my @directives = ( { name => 'MyDirective', } ); Apache2::Module::add(__PACKAGE__, @directives); # iterate over the whole module list for (my $modp = Apache2::Module::top_module(); $modp; $modp = $modp->next) { my $name = $modp->name; my $index = $modp->module_index; my $ap_api_major_version = $modp->ap_api_major_version; my $ap_api_minor_version = $modp->ap_api_minor_version; my $commands = $modp->cmds; } # find a specific module my $module = Apache2::Module::find_linked_module('mod_ssl.c'); # remove a specific module $module->remove_loaded_module(); # access module configuration from a directive sub MyDirective { my ($self, $parms, $args) = @_; my $srv_cfg = Apache2::Module::get_config($self, $parms->server); [...] } # test if an Apache module is loaded if (Apache2::Module::loaded('mod_ssl.c')) { [...] } # test if a Perl module is loaded if (Apache2::Module::loaded('Apache2::Status')) { [...] } Description "Apache2::Module" provides the Perl API for creating and working with Apache modules See Apache Server Configuration Customization in Perl. API
"Apache2::Module" provides the following functions and/or methods: "add" Add a module's custom configuration directive to Apache. Apache2::Module::add($package, $cmds); arg1: $package ( string ) the package of the module to add arg2: $cmds ( ARRAY of HASH refs ) the list of configuration directives to add ret: no return value since: 2.0.00 See also Apache Server Configuration Customization in Perl. "ap_api_major_version" Get the httpd API version this module was build against, not the module's version. $major_version = $module->ap_api_major_version(); obj: $module ( "Apache2::Module object" ) ret: $major_version ( integer ) since: 2.0.00 This methid is used to check that module is compatible with this version of the server before loading it. "ap_api_minor_version" Get the module API minor version. $minor_version = $module->ap_api_minor_version(); obj: $module ( "Apache2::Module object" ) ret: $minor_version ( integer ) since: 2.0.00 "ap_api_minor_version()" provides API feature milestones. It's not checked during module init. "cmds" Get the "Apache2::Command" object, describing all of the directives this module defines. $command = $module->cmds(); obj: $module ( "Apache2::Module object" ) ret: $command ( "Apache2::Command object" ) since: 2.0.00 "get_config" Retrieve a module's configuration. Used by configuration directives. $cfg = Apache2::Module::get_config($class, $server, $dir_config); $cfg = Apache2::Module::get_config($class, $server); $cfg = $self->get_config($server, $dir_config); $cfg = $self->get_config($server); obj: $module ( "Apache2::Module object" ) arg1: $class ( string ) The Perl package this configuration is for arg2: $server ( "Apache2::ServerRec object" ) The current server, typically "$r->server" or "$parms->server". opt arg3: $dir_config ( "Apache2::ConfVector object" ) By default, the configuration returned is the server level one. To retrieve the per directory configuration, use "$r->per_dir_config" as a last argument. ret: $cfg (HASH reference) A reference to the hash holding the module configuration data. since: 2.0.00 See also Apache Server Configuration Customization in Perl. "find_linked_module" Find a module based on the name of the module $module = Apache2::Module::find_linked_module($name); arg1: $name ( string ) The name of the module ending in ".c" ret: $module ( "Apache2::Module object" ) The module object if found, "undef" otherwise. since: 2.0.00 For example: my $module = Apache2::Module::find_linked_module('mod_ssl.c'); "loaded" Determine if a certain module is loaded $loaded = Apache2::Module::loaded($module); name: $module ( string ) The name of the module to search for. If $module ends with ".c", search all the modules, statically compiled and dynamically loaded. If $module ends with ".so", search only the dynamically loaded modules. If $module doesn't contain a ".", search the loaded Perl modules (checks %INC). ret: $loaded ( boolean ) Returns true if the module is loaded, false otherwise. since: 2.0.00 For example, to test if this server supports ssl: if (Apache2::Module::loaded('mod_ssl.c')) { [...] } To test is this server dynamically loaded mod_perl: if (Apache2::Module::loaded('mod_perl.so')) { [...] } To test if "Apache2::Status" is loaded: if (Apache2::Module::loaded('Apache2::Status')) { [...] } "module_index" Get the index to this modules structures in config vectors. $index = $module->module_index(); obj: $module ( "Apache2::Module object" ) ret: $index ( integer ) since: 2.0.00 "name" Get the name of the module's .c file $name = $module->name(); obj: $module ( "Apache2::Module object" ) ret: $name ( string ) since: 2.0.00 For example a mod_perl module, will return: mod_perl.c. "next" Get the next module in the list, "undef" if this is the last module in the list. $next_module = $module->next(); obj: $module ( "Apache2::Module object" ) ret: $next_module ( "Apache2::Module object" ) since: 2.0.00 "remove_loaded_module" Remove a module from the list of loaded modules permanently. $module->remove_loaded_module(); obj: $module ( "Apache2::Module object" ) ret: no return value since: 2.0.00 "top_module" Returns the first module in the module list. Useful to start a module iteration. $module = Apache2::Module::top_module(); ret: $module ( "Apache2::Module object" ) since: 2.0.00 See Also mod_perl 2.0 documentation. Copyright mod_perl 2.0 and its core modules are copyrighted under The Apache Software License, Version 2.0. Authors The mod_perl development team and numerous contributors. perl v5.14.2 2013-03-12 libapache2-mod-perl2-2.0.7::docs::api::Apache2::Module(3pm)