You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Filip Hanik <fi...@filip.net> on 2000/12/15 01:59:55 UTC

Re: Setting up Apache/Tomcat for SSL-build scripts

here are the exact steps for building apache with ssl. if you copy and past this, your apache build will work, get the software from modssl.org, openssl.org and apache.org
--------------------------cut here----------------------------------
this script has to hard coded things
--prefix and the setenv SSL_BASE

gunzip apache_1.3.12.tar.gz 
tar -xvf apache_1.3.12.tar

gunzip openssl-0.9.5a.tar.gz  
tar -xvf openssl-0.9.5a.tar.gz  

gunzip mod_ssl-2.6.6-1.3.12.tar.gz 
tar -xvf mod_ssl-2.6.6-1.3.12.tar

cd apache_1.3.12 
./configure --prefix=/home/pakana/apache 

cd ../openssl-0.9.5a 
./config --prefix=/home/pakana/ssl 
make 
make test 
make install 

cd ../mod_ssl-2.6.6-1.3.12 
./configure --with-apache=../apache_1.3.12 

cd ../apache_1.3.12
setenv SSL_BASE ../openssl-0.9.5a 

./configure \
--enable-module=ssl \
--enable-module=proxy \
--enable-shared=proxy \
--enable-module=rewrite \
--enable-shared=rewrite \
--prefix=/home/pakana/apache \
--enable-shared=ssl \
--enable-rule=SHARED_CORE \
--enable-rule=SHARED_CHAIN \
--enable-module=so

make 

make certificate TYPE=test 

make install 

--------------------------cut here----------------------------------
  ----- Original Message ----- 
  From: guyr@bbo.com 
  To: tomcat-user@jakarta.apache.org 
  Sent: Thursday, December 14, 2000 4:44 PM
  Subject: Setting up Apache/Tomcat for SSL


  Yes, I'm reading furiously on the appropriate sites.  My question is about configuration.  I read that to run both a secure server and non-secure server on the same instance of Apache, one of them must be virtual.  The example given is for secure to be the non-virtual server, and it shows a server name of www.something.com; non-secure is virtual with a server name of something like pub.something.com.  However, the typical way of doing this is to have them both with a server name of www.something.com, with secure accessed through https on port 443 and non-secure through http on port 80.  Can this be done?  I'm trying to use mod_ssl.

  Also, could the kind person who provided a link to a pre-built mod_ssl enabled Apache please repost it?  I tried searching the digest site, and found that the search mechanism is broken.  Thanks.  (Our production environment is Solaris, development is Windows NT/2000).
  Guy Rouillier
  571-226-1229
  guyr@bbo.com
  BroadBand Office
  2950 Gallows Road
  Falls Church, VA 22042



RE: mod_jk.so (for Solaris)

Posted by Ed Gomolka <eg...@ausinfo.com>.
Hmmmm....
I thought that the restriction was that you could not redistribute the SDK ;
I didn't think that linking to it would be a problem, unless you mean that
it's a static link, and part of the SDK ends up being incorporated into
mod_jk.
This sounds like a question for Craig.

Ed
  -----Original Message-----
  From: Dave Smith [mailto:sat-guru@home.com]
  Sent: Sunday, October 15, 2000 11:45 AM
  To: tomcat-user@jakarta.apache.org
  Subject: Re: mod_jk.so (for Solaris)


  Ed,

  It probably breaks the licence because it
  links on code in the SDK. Isn't that the
  issue? If not I can make my FreeBSD
  mod_jk.so available to people who want it.

  Dave
    ----- Original Message -----
    From: Ed Gomolka
    To: tomcat-user@jakarta.apache.org
    Sent: Friday, December 15, 2000 12:05 PM
    Subject: RE: mod_jk.so (for Solaris)


    >At 07:51 PM 12/14/00 -0800, you wrote:
    >To: "'tomcat-user@jakarta.apache.org'" <to...@jakarta.apache.org>
    >Subject: RE: mod_jk.so
    >
    >try this site

>http://www.ccl.net/cca/software/UNIX/apache/solaris-t3.2/files/mod_jk.so

    Excellent! I didn't realize that there was a binary for Solaris.
    It seems odd that there isn't one on the Apache site, given Sun's
involvement in Tomcat.

    Thanks for the URL.







Re: mod_jk.so (for Solaris)

Posted by Dave Smith <sa...@home.com>.
Ed,

It probably breaks the licence because it 
links on code in the SDK. Isn't that the
issue? If not I can make my FreeBSD
mod_jk.so available to people who want it.

Dave 
  ----- Original Message ----- 
  From: Ed Gomolka 
  To: tomcat-user@jakarta.apache.org 
  Sent: Friday, December 15, 2000 12:05 PM
  Subject: RE: mod_jk.so (for Solaris)


  >At 07:51 PM 12/14/00 -0800, you wrote:
  >To: "'tomcat-user@jakarta.apache.org'" <to...@jakarta.apache.org>
  >Subject: RE: mod_jk.so
  >
  >try this site
  >http://www.ccl.net/cca/software/UNIX/apache/solaris-t3.2/files/mod_jk.so

  Excellent! I didn't realize that there was a binary for Solaris.
  It seems odd that there isn't one on the Apache site, given Sun's involvement in Tomcat.

  Thanks for the URL.







RE: mod_jk.so (for Solaris)

Posted by Ed Gomolka <eg...@ausinfo.com>.
>At 07:51 PM 12/14/00 -0800, you wrote:
>To: "'tomcat-user@jakarta.apache.org'" <to...@jakarta.apache.org>
>Subject: RE: mod_jk.so
>
>try this site
>http://www.ccl.net/cca/software/UNIX/apache/solaris-t3.2/files/mod_jk.so

Excellent! I didn't realize that there was a binary for Solaris.
It seems odd that there isn't one on the Apache site, given Sun's
involvement in Tomcat.

Thanks for the URL.







Re: Setting up Apache/Tomcat for SSL-build scripts

Posted by Filip Hanik <fi...@filip.net>.
oops, forgot, that this build is for Apache 1.3.12, you will of course have to change to 1.3.14 if you want to use the latest and greatest :)

Filip
  ----- Original Message ----- 
  From: Filip Hanik 
  To: tomcat-user@jakarta.apache.org 
  Sent: Thursday, December 14, 2000 4:59 PM
  Subject: Re: Setting up Apache/Tomcat for SSL-build scripts 


  here are the exact steps for building apache with ssl. if you copy and past this, your apache build will work, get the software from modssl.org, openssl.org and apache.org
  --------------------------cut here----------------------------------
  this script has to hard coded things
  --prefix and the setenv SSL_BASE

  gunzip apache_1.3.12.tar.gz 
  tar -xvf apache_1.3.12.tar

  gunzip openssl-0.9.5a.tar.gz  
  tar -xvf openssl-0.9.5a.tar.gz  

  gunzip mod_ssl-2.6.6-1.3.12.tar.gz 
  tar -xvf mod_ssl-2.6.6-1.3.12.tar

  cd apache_1.3.12 
  ./configure --prefix=/home/pakana/apache 

  cd ../openssl-0.9.5a 
  ./config --prefix=/home/pakana/ssl 
  make 
  make test 
  make install 

  cd ../mod_ssl-2.6.6-1.3.12 
  ./configure --with-apache=../apache_1.3.12 

  cd ../apache_1.3.12
  setenv SSL_BASE ../openssl-0.9.5a 

  ./configure \
  --enable-module=ssl \
  --enable-module=proxy \
  --enable-shared=proxy \
  --enable-module=rewrite \
  --enable-shared=rewrite \
  --prefix=/home/pakana/apache \
  --enable-shared=ssl \
  --enable-rule=SHARED_CORE \
  --enable-rule=SHARED_CHAIN \
  --enable-module=so

  make 

  make certificate TYPE=test 

  make install 

  --------------------------cut here----------------------------------
    ----- Original Message ----- 
    From: guyr@bbo.com 
    To: tomcat-user@jakarta.apache.org 
    Sent: Thursday, December 14, 2000 4:44 PM
    Subject: Setting up Apache/Tomcat for SSL


    Yes, I'm reading furiously on the appropriate sites.  My question is about configuration.  I read that to run both a secure server and non-secure server on the same instance of Apache, one of them must be virtual.  The example given is for secure to be the non-virtual server, and it shows a server name of www.something.com; non-secure is virtual with a server name of something like pub.something.com.  However, the typical way of doing this is to have them both with a server name of www.something.com, with secure accessed through https on port 443 and non-secure through http on port 80.  Can this be done?  I'm trying to use mod_ssl.

    Also, could the kind person who provided a link to a pre-built mod_ssl enabled Apache please repost it?  I tried searching the digest site, and found that the search mechanism is broken.  Thanks.  (Our production environment is Solaris, development is Windows NT/2000).
    Guy Rouillier
    571-226-1229
    guyr@bbo.com
    BroadBand Office
    2950 Gallows Road
    Falls Church, VA 22042