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

Reply via email to