[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FW: [cobalt-users] Raq3 attempt of OpenSSL Fix



I am attempting to use Gerald's instructions to get the OpenSSL version
upgraded on a Raq3. Changed a few lines to reflect the required files for a
Raq3. Also, and Gerald and I discussed this on the phone, the modules for
libssl.so are not under the Raq4 directory structure. Also the libssl.so is
symlinked to libssl.so.0 and then libssl.so.0 is linked to libssl.so.0.9.3,
I think that was it. So I am guessing that this is where they are located. I
cp'd all 3 to be safe. I don't see LoadModule ssl_module modules/libssl.so
Like the Raq4. Are Raq3's built with the SSL as a complied module and not as
a DSO?? I may be using the wrong terms in spots. Also when trying to apply
the Gerald Raq4 modified fix:) I am getting errors on ./configuration: See
below

================ No guarantees, and no warranties ==========
                ====== informational only ======
            === if you try it please post results ===

1) ssh to server
2) su -
3) cd /usr/local/src
4) wget http://www.openssl.org/source/openssl-engine-0.9.6g.tar.gz
5) tar -zxvf openssl-engine-0.9.6g.tar.gz
6) rm openssl-engine-0.9.6g.tar.gz
7) cd openssl-engine-0.9.6g
8)  ./config
9)   make
10)  make install  (puts ssl in /usr/local/ssl, won't hurt)
10a) cd ..
11) wget http://www.apache.org/dist/httpd/old/apache_1.3.6.tar.gz
12) tar -zxvf apache_1.3.6.tar.gz
13) rm apache_1.3.6.tar.gz
14) wget  http://www.modssl.org/source/mod_ssl-2.3.11-1.3.6.tar.gz
15) tar -zxvf mod_ssl-2.3.11-1.3.6.tar.gz
16) rm mod_ssl-2.3.11-1.3.6.tar.gz
17) cd mod_ssl-2.3.11-1.3.6
18) ./configure --with-apache=../apache_1.3.6/ \
             --with-apxs=/usr/sbin/apxs \
            --with-ssl=../openssl-engine-0.9.6g
##

I am getting a ton of apxs:warnings !!!:(
And this at the end

./configure:Error: The mod_ssl/2.3.11 can be used for Apache/1.3.6 only.
./configure:Error: Your Apache source tree under /usr is version .
./configure:Hint: please use an extracted apache_1.3.6.tar.gz tarball
./configure:Hint: with the --with-apache option, only.

##

19) make
20) cp /usr/lib/libssl.so /usr/lib/libssl.so.save
21) cp /usr/lib/libssl.so.0 /usr/lib/libssl.so.0.save
22) cp /usr/lib/libssl.so.0.9.3 /usr/lib/libssl.so.0.9.3save
23) cp pkg.sslmod/libssl.so /etc/httpd/modules/
24) /etc/rc.d/init.d/httpd reload
25) /etc/rc.d/init.d/admserv reload
  httpd may need restart, but try reload