Here is my cookbook approach that has worked for Solaris and Linux systems for building
Apache/1.3.12 (Unix) mod_perl/1.21 mod_ssl/2.6.4 OpenSSL/0.9.5a

if you notice...very similar to examples in the INSTALL. But I think if you want the above apache build just
follow step by step.
 

!. Unpacking
    $ gzip -d -c apache_1.3.12.tar.gz | tar xvf -
    $ gzip -d -c mod_ssl-2.6.4-1.3.x.tar.gz | tar xvf -
    $ gzip -d -c openssl-0.9.5a.tar.gz | tar xvf -
    $ mkdir rsaref-2.0
    $ (cd rsaref-2.0; gzip -d -c ../rsaref20.tar.Z | tar xvf -)

II. Configure and build the OpenSSL library
     (in conjunction with RSAref library...for USA folks)
 
     $ cd rsaref-2.0
     $ cp -rp install/unix local
     $ cd local
     $ make
     $ mv rsaref.a librsaref.a
     $ cd ../..
 
 
     $ cd openssl-0.9.x
     $ sh config \
            no-idea \
            -L`pwd`/../rsaref-2.0/local/ rsaref \
            -fPIC
     $ make
     $ make test
     $ cd ..

III. Prepare mod_ssl side
 
    $ cd mod_ssl-2.6.x-1.3.x
    $ ./configure \
          --with-apache=../apache_1.3.12
 
 
VI. Prepare mod_perl and build/install the Perl-side of mod_perl
 
   $ cd mod_perl-1.xx
   $ perl Makefile.PL \
          EVERYTHING=1 \
          APACHE_SRC=../apache_1.3.x/src \
          USE_APACI=1 \
          PREP_HTTPD=1 \
          DO_HTTPD=1
   $ make
   $ make install
   $ cd ..
 

VI. Build/install Apache with mod_ssl and mod_perl
 
    $ cd apache_1.3.x
 
    Edit the config.layout and change the <Layout Apache> "prefix:" parameter
    to say: /usr/local/etc/apache_1.3.12
 
    $ setenv SSL_BASE /usr/local/src/openssl-0.9.5a (csh shell)
    $ setenv RSA_BASE /usr/local/src/rsaref-2.0/local (csh shell)
    $ ./configure \
          --with-layout=Apache \
          --enable-module=ssl \
          --enable-module=rewrite \
          --enable-module=headers \
          --enable-module=unique_id \
          --activate-module=src/modules/perl/libperl.a
    $ make

    Choose your own adventure:
    1. Create a test certificate
    2. integrate an existing certificate by executing the correct command

    $ make certificate
    $ make install
 

    oooohh the power...!!
 
    $ cd ..
 
    #   cleanup after work
    $ rm -rf mod_perl-1.xx
    $ rm -rf mod_ssl-2.6.x-1.3.x
    $ rm -rf apache_1.3.x
 

Hope this helps.

-Carlos
 
 

Scott Ehrlich wrote:

Hello to all:

Backing up from a previous message of mine requesting help with
certificates, through some further experimentation with Apache 1.3.11 and
1.3.12, OpenSSL 0.9.5a, mod_perl 1.23, and mod_ssl (respective versions
for Apache) on my Slackware 7 system, I can't for the life of me figure
out what combination of what I used to compile https support to open port
443.  Every attempt from compiling and apachectl startssl only yields port
80.   nmap scans don't show 443 either.   ps ax listings yield
/usr/local/apache/bin/httpd -DSSL.

Please help me re-figure out the correct compile and install options and
orders to get a secure web server up and running again.

Thanks much in advance.

Scott

______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

-- 
-----------------------------------------------------------------------
 Carlos Ramirez  +  Boeing  +  Reusable Space Systems  +  714.372.4181
-----------------------------------------------------------------------
 

Reply via email to