You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by do...@netnevada.net on 2003/10/03 02:00:57 UTC

[users@httpd] Re: Upgrading OpenSSL 0.9.7b to 0.9.7c (apache 2.0.47)

Quoting Nikolaus Schmitt <n....@scaet.de>:

> Hi Bill,
> 
> before compiling apache2, You will call "./configure" from within
> "/usr/local/src/httpd-2.0.47".
> Call "./configure --help" as 1st step and carefully study the possible
> options. There is an option to set the ssl stuff's and other, external
> component's location.
> Regards
> Niko

Nod, this is how I did it (tried this on a test box w/NO apache and no
openssl) (now if I did it right) :-)

got http-2.0.47 tarball, unpacked in /usr/local/src
got openssl-0.9.7b tarball, unpacked in /usr/local/src

cd /usr/local/src/openssl-0.9.7b
./config
make
make test
make install (default installs in /usr/local/ssl)

cd /usr/local/src/http-2.0.47
./configure --enable-ssl --with-ssl=/usr/local/ssl/

./config
make
make test
make install (default installs in /usr/local/ssl)

this overwrote JUST the items that had been changed
between 0.9.7b and 0.9.7c, from what I saw in /usr/local/ssl

cd /usr/local/src/http-2.0.47
make clean
./configure --enable-ssl --with-ssl=/usr/local/ssl/
make install

when I started apache back up again, and got the 404 error (on my test box, of 
course, I got this): 

billp@nermal:~> telnet localhost 80
Trying ::1...
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
hi there
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>400 Bad Request</title>
</head><body>
<h1>Bad Request</h1>
<p>Your browser sent a request that this server could not understand.<br />
</p>
<hr />
<address>Apache/2.0.47 (Unix) mod_ssl/2.0.47 OpenSSL/0.9.7c Server at nermal 
Port 80</address>
</body></html>
Connection closed by foreign host.

(when I did this before, it reported OpenSSL/0.9.7b)

Now, since this worked, is there a way I can shorten it, or is this the correct 
way to do such stuff (i'm learning) :-)

-Bill


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org