Thanks for the inputs.

I forgot to mention that I had already created the certificates
successfully.

I had installed  openssl-0.9.7c
./config shared
make
make test 
make install
echo "/usr/local/ssl/lib" >> /etc/ld.so.conf
ldconfig

2.
tar -xvzf mod_ssl-2.8.15-1.3.28.tar.gz
cd mod_ssl-2.8.15-1.3.28
./configure --with-apache=../apache_1.3.28 

3.
tar -zxvf mod_perl-1.28.tar.gz
cd mod_perl-1.28
perl Makefile.PL \
EVERYTHING=1 \
APACHE_SRC=../apache_1.3.28/src \
USE_APACI=1 \
PREP_HTTPD=1 \
DO_HTTPD=1

make
make install

4.
cd /usr/local/src/apache/apache_1.3-28/ 
SSL_BASE="/usr/local/ssl" \
./configure \
--enable-module=most \
--enable-module=unique_id \
--enable-shared=max \
--enable-module=auth_digest \
--enable-module=auth \
--enable-module=rewrite \
--enable-module=speling \
--enable-module=expires \
--enable-module=info \
--enable-module=log_agent \
--enable-module=log_referer \
--enable-module=usertrack \
--enable-module=proxy \
--enable-module=userdir \
--enable-module=so \
--enable-shared=ssl \
--enable-module=ssl \
--server-uid=www \
 --server-gid=www \
--activate-module=src/modules/perl/libperl.a \
--enable-module=perl \
 --verbose 2>&1 | tee apache-config.log

make
make certificate TYPE=custom
make install

everything went fine, I got no errors at all, the only error I get is
whil starting apache. I think its got something to with the
--enable-module=most --enable-shared=max and the other modules. Prolly I
can't use these options together.

Mani



On Wed, 2003-10-15 at 18:39, keshab wrote:
> Hi,
> If you want to enable ssl for apache to the following -
> 1. Install openssl  ftp://ftp.openssl.org
>     ./config -fPIC --prefix=/opt --openssl=/opt/openssl (change the path
> if rquried)
>     make
> 
> 2. Install mod_ssl http://www.modssl.org (find the matching mod_ssl
> version)
>     ./configure --with-apache=../apache_1.3.28
> 
> 3. compile apache (considering that apache source is unziped in a
> directory)
>     export SSL_BASE=../openssl-0.9.6g (use the openssl directory name in
> your system)
> 
> ./configure --with-layout=Apache --prefix=/opt --enable-module=ssl 
> --enable-shared=ssl --enable-module=so
> (change path as required add your perl option here)
> 
> make
> make certificate
>       choose signature algorithm (prefer RSA)
>       input data for DN fields
>       choose certificate versions (prefer 3)
>       choose encrypt server key (y)
> make install
> 
> N.B. be carefull about the path you will give
> 
> 4. edit your httpd.conf accordingly at right place
> 
> <IfDefine SSL>
> LoadModule ssl_module         libexec/libssl.so
> </IfDefine>
> 
> 
> <IfDefine SSL>
> Listen 80
> Listen 443
> </IfDefine>
> 
> 5. now test apachectl startssl
> 
> Hope it will work fine.
> 
> ciao
> keshab
> 
> On Wed, 2003-10-15 at 18:16, A. Subramani wrote:
> 
> > I have compiled 1.3.28 apache with mod_ssl(2.8) and mod_perl(1.28)
> > 
> > the ./configuration  make and make install went absolutely fine, however
> > when I do a /usr/local/apache/bin/apachectl startssl it gives me an
> > error 
> > 
> > Cannot add module via name 'mod_env.c': not in list of loaded modules
> > 
> > I checked my httpd.conf and it seems that this error occurs for all the
> > Addmodules under the ClearModuleList
> > 
> > AddModule mod_env.c
> > AddModule mod_log_config.c
> > AddModule mod_log_agent.c
> > .....
> > ...
> > AddModule mod_usertrack.c
> > AddModule mod_unique_id.c
> > AddModule mod_so.c
> > AddModule mod_setenvif.c
> > 
> > /usr/local/apache/bin/httpd -l gives the folowing
> > Compiled-in modules:
> >   http_core.c
> >   mod_so.c
> >   mod_perl.c
> > 
> > I am using RH 9, While configuring apache I had given the folowing
> > options
> > 
> > SSL_BASE="/usr/local/ssl" \
> > ./configure \
> > --enable-module=most \
> > --enable-module=unique_id \
> > --enable-shared=max \
> > --enable-module=auth_digest \
> > --enable-module=auth \
> > --enable-module=rewrite \
> > --enable-module=speling \
> > --enable-module=expires \
> > --enable-module=info \
> > --enable-module=log_agent \
> > --enable-module=log_referer \
> > --enable-module=usertrack \
> > --enable-module=proxy \
> > --enable-module=userdir \
> > --enable-module=so \
> > --enable-shared=ssl \
> > --enable-module=ssl \
> > --server-uid=www \
> >  --server-gid=www \
> > --activate-module=src/modules/perl/libperl.a \
> > --enable-module=perl \
> >  --verbose 2>&1 | tee apache-config.log
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > _______________________________________________
> > ilugd mailing list
> > [EMAIL PROTECTED]
> > http://frodo.hserus.net/mailman/listinfo/ilugd
> _______________________________________________
> ilugd mailing list
> [EMAIL PROTECTED]
> http://frodo.hserus.net/mailman/listinfo/ilugd
> 


_______________________________________________
ilugd mailing list
[EMAIL PROTECTED]
http://frodo.hserus.net/mailman/listinfo/ilugd

Reply via email to