Installation Woes

Installation Woes

am 14.03.2003 16:45:36 von Rick Root

Hi folks.. I'm a newbie here, installing Apache and OpenSSL and mod_ssl
from source on my RedHat 7.3 (I uninstalled the RPMS)

Call me stupid, but I must be missing something...

The installation instructions are pretty straightforward but I have one
major problem - the httpd.conf doesn't include ANY ssl configuration
options after it's installed.

So of course, SSL doesn't work.

The instructions seem to assume that the SSL configuration options will
be there. This left me really confused.

I ripped out some code from another httpd.conf but now I've got it
responding to SSL on port 80 as well as 443.

What I'm looking for is BASIC instructions on how to configure apache to
use SSL (and maybe someone can tell me why it's not IN the instructions
in the first place). I've looked in the FAQ and the reference guide but
I haven't had any luck yet.

Downloaded everything today - apache 1.3.27, open_ssl 0.9.7a, and
mod_ssl 2.8.12


____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org

RE: Installation Woes

am 14.03.2003 16:52:04 von Martin.Evans

Rick,

been fighting with it myself today, I'm using Solaris but if you run httpd
-l it will tell you what modules were compiled into your build, if mod_ssl
isn't there you'll either have to rebuild with mod_ssl or load the module
dynamically.

-----Original Message-----
From: Rick Root [mailto:rroot@wakeinternet.com]
Sent: Friday, March 14, 2003 3:46 PM
To: modssl-users@modssl.org
Subject: Installation Woes


Hi folks.. I'm a newbie here, installing Apache and OpenSSL and mod_ssl
from source on my RedHat 7.3 (I uninstalled the RPMS)

Call me stupid, but I must be missing something...

The installation instructions are pretty straightforward but I have one
major problem - the httpd.conf doesn't include ANY ssl configuration
options after it's installed.

So of course, SSL doesn't work.

The instructions seem to assume that the SSL configuration options will
be there. This left me really confused.

I ripped out some code from another httpd.conf but now I've got it
responding to SSL on port 80 as well as 443.

What I'm looking for is BASIC instructions on how to configure apache to
use SSL (and maybe someone can tell me why it's not IN the instructions
in the first place). I've looked in the FAQ and the reference guide but
I haven't had any luck yet.

Downloaded everything today - apache 1.3.27, open_ssl 0.9.7a, and
mod_ssl 2.8.12


____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org


------------------------------------------------------------ ------------------
The information in this Internet email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this Internet email by anyone else is unauthorised.
If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. When addressed to our clients any opinions or advice contained in this Internet email are subject to the terms and conditions expressed in any applicable governing ING terms of business or client engagement letter.
Visit us at www.ing.com
------------------------------------------------------------ ------------------
01

____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org

Re: Installation Woes

am 14.03.2003 17:30:45 von Stuart Cook

This is a multi-part message in MIME format.
--------------080108040903020406040906
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Hi,

I have attached a build script I use to make Apache 1.3.27 with SSL.
Maybe this will be useful.

Regards,

Stuart

---

Martin.Evans@UK.ING.COM wrote:
> Rick,
>
> been fighting with it myself today, I'm using Solaris but if you run httpd
> -l it will tell you what modules were compiled into your build, if mod_ssl
> isn't there you'll either have to rebuild with mod_ssl or load the module
> dynamically.
>
> -----Original Message-----
> From: Rick Root [mailto:rroot@wakeinternet.com]
> Sent: Friday, March 14, 2003 3:46 PM
> To: modssl-users@modssl.org
> Subject: Installation Woes
>
>
> Hi folks.. I'm a newbie here, installing Apache and OpenSSL and mod_ssl
> from source on my RedHat 7.3 (I uninstalled the RPMS)
>
> Call me stupid, but I must be missing something...
>
> The installation instructions are pretty straightforward but I have one
> major problem - the httpd.conf doesn't include ANY ssl configuration
> options after it's installed.
>
> So of course, SSL doesn't work.
>
> The instructions seem to assume that the SSL configuration options will
> be there. This left me really confused.
>
> I ripped out some code from another httpd.conf but now I've got it
> responding to SSL on port 80 as well as 443.
>
> What I'm looking for is BASIC instructions on how to configure apache to
> use SSL (and maybe someone can tell me why it's not IN the instructions
> in the first place). I've looked in the FAQ and the reference guide but
> I haven't had any luck yet.
>
> Downloaded everything today - apache 1.3.27, open_ssl 0.9.7a, and
> mod_ssl 2.8.12
>
>
> ____________________________________________________________ __________
> Apache Interface to OpenSSL (mod_ssl) www.modssl.org
> User Support Mailing List modssl-users@modssl.org
> Automated List Manager majordomo@modssl.org
>
>
> ------------------------------------------------------------ ------------------
> The information in this Internet email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this Internet email by anyone else is unauthorised.
> If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. When addressed to our clients any opinions or advice contained in this Internet email are subject to the terms and conditions expressed in any applicable governing ING terms of business or client engagement letter.
> Visit us at www.ing.com
> ------------------------------------------------------------ ------------------
> 01
>
> ____________________________________________________________ __________
> Apache Interface to OpenSSL (mod_ssl) www.modssl.org
> User Support Mailing List modssl-users@modssl.org
> Automated List Manager majordomo@modssl.org
>
>


--
--------------------------------------------
Stuart V Cook BSc. (Hons)
Senior Software Consultant - Micromuse Ltd.
90 Putney Bridge Rd, London. SW18 1DA. UK
Office: +44-(0)20-8875 9500 x734
Mobile: +44-(0)7771 816 472
--------------------------------------------

--------------080108040903020406040906
Content-Type: text/plain;
name="build_apache.sh"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="build_apache.sh"

#!/bin/sh

if [ $# -lt 1 ]; then
echo "Usage:"
echo "\t$0 "
exit 1
fi

if [ -n "$2" ]; then
ROOTPATH=$2
fi

if [ -n "$ROOTPATH}" ]; then
MASTER_PATH="${ROOTPATH}/master/apache_1.3.27"
BUILD_PATH="${ROOTPATH}/${1}/apache"
OPENSSL_PATH="${ROOTPATH}/openssl-engine-0.9.6g"
# MM_PATH="${ROOTPATH}/mm-1.2.1"
MOD_SSL_PATH="${ROOTPATH}/mod_ssl-2.8.12-1.3.27"
else
echo "ERROR: Please specify root path to files."
exit 1
fi


################################
# Build Open Secure Socket Layer
################################
cd $OPENSSL_PATH
echo "Changed to directory `pwd`"
echo "Configuring OpenSSL..."

echo "Executing \"sh config no-idea no-threads\""

RES=`sh config no-idea no-threads 2>&1`
if [ $? -gt 0 ]; then
echo "Failed to configure OpenSSL becauase:\n$RES" | more
exit 1
fi

echo "Cleaning up any previous builds..."
echo "Executing \"make clean\""

RES=`make clean 2>&1`

echo "Making OpenSSL..."
echo "Executing \"make\""

RES=`make 2>&1`
if [ $? -gt 0 ]; then
echo "Failed to make OpenSSL because:\n$RES" | more
exit 3
fi


#############################
# Build Shared Memory Library
#############################
# cd $MM_PATH
# echo "Changed to directory `pwd`"
# echo "Configuring Shared Memory Library..."

# echo "Executing \"./configure --disable-shared\""

# RES=`./configure --disable-shared 2>&1`
# if [ $? -gt 0 ]; then
# echo "Failed to configure Shared Memory Library becauase:\n$RES" | more
# exit 1
# fi

# echo "Cleaning up any previous builds..."
# echo "Executing \"make clean\""

# RES=`make clean 2>&1`

# echo "Making Shared Memory Library..."
# echo "Executing \"make\""

# RES=`make 2>&1`
# if [ $? -gt 0 ]; then
# echo "Failed to make Shared Memory Library because:\n$RES" | more
# exit 3
# fi


########################################
# Configure Secure Socket Library Module
########################################
cd $MOD_SSL_PATH
echo "Changed to directory `pwd`"
echo "Configuring Secure Socket Library Module..."

CMD="./configure --with-apache=${MASTER_PATH} --with-ssl=${OPENSSL_PATH} --prefix=${BUILD_PATH} --enable-module=so"

echo "Executing \"${CMD}\""

RES=`${CMD} 2>&1`
if [ $? -gt 0 ]; then
echo "Failed to configure Secure Socket Library Module becauase:\n$RES" | more
exit 1
fi


#########################
# Build Apache Web Server
#########################
cd $MASTER_PATH
echo "Changed to directory `pwd`"
echo "Building Apache..."

echo "Cleaning up any previous builds..."
echo "Executing \"make clean\""

RES=`make clean 2>&1`

echo "Making Apache Web Server..."
echo "Executing \"make\""

RES=`make 2>&1`
if [ $? -gt 0 ]; then
echo "Failed to make because:\n$RES" | more
exit 3
fi

echo "Making SSL dummy certificate..."
echo "Executing \"make certificate\""

RES=`make certificate TYPE=dummy 2>&1`

echo "Installing Apache..."
echo "Executing \"make install\""

RES=`make install 2>&1`
if [ $? -gt 0 ]; then
echo "Failed to make installation because:\n$RES" | more
exit 4
fi

cd $MASTER_PATH

echo "Finished for apache build for platform $1"
echo

--------------080108040903020406040906--
____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org

RE: Installation Woes

am 14.03.2003 17:49:20 von camun2020

Have you tried this?

http://www.tldp.org/HOWTO/Apache-Compile-HOWTO/

cam

_______________________________________________
No banners. No pop-ups. No kidding.
Introducing My Way - http://www.myway.com
____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org

Re: Installation Woes

am 14.03.2003 17:50:56 von Evan Dillon

--=_4B140A67.C7A6FBD3
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

try the apache/mod_ssl part of this:
=20
http://www.devshed.com/Server_Side/PHP/SoothinglySeamless/pa ge1.html

>>> rroot@wakeinternet.com 03/14/03 08:45AM >>>
Hi folks.. I'm a newbie here, installing Apache and OpenSSL and mod_ssl=20
from source on my RedHat 7.3 (I uninstalled the RPMS)

Call me stupid, but I must be missing something...

The installation instructions are pretty straightforward but I have one=20
major problem - the httpd.conf doesn't include ANY ssl configuration=20
options after it's installed.

So of course, SSL doesn't work.

The instructions seem to assume that the SSL configuration options will=20
be there. This left me really confused.

I ripped out some code from another httpd.conf but now I've got it=20
responding to SSL on port 80 as well as 443.

What I'm looking for is BASIC instructions on how to configure apache =
to=20
use SSL (and maybe someone can tell me why it's not IN the instructions=20
in the first place). I've looked in the FAQ and the reference guide =
but=20
I haven't had any luck yet.

Downloaded everything today - apache 1.3.27, open_ssl 0.9.7a, and=20
mod_ssl 2.8.12


____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org=20
User Support Mailing List modssl-users@modssl.org=20
Automated List Manager majordomo@modssl.org=20



--=_4B140A67.C7A6FBD3
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable



>


try the apache/mod_ssl part of this:

 

href=3D"http://www.devshed.com/Server_Side/PHP/SoothinglySea mless/page1.htm=
l">http://www.devshed.com/Server_Side/PHP/SoothinglySeamless /page1.html=


>>>=20
rroot@wakeinternet.com 03/14/03 08:45AM >>>
Hi folks.. I'm a =
newbie=20
here, installing Apache and OpenSSL and mod_ssl
from source on my =
RedHat 7.3=20
(I uninstalled the RPMS)

Call me stupid, but I must be missing=20
something...

The installation instructions are pretty straightforwar=
d but=20
I have one
major problem - the httpd.conf doesn't include ANY ssl=20
configuration
options after it's installed.

So of course, SSL =
doesn't=20
work.

The instructions seem to assume that the SSL configuration =
options=20
will
be there.  This left me really confused.

I ripped out =
some=20
code from another httpd.conf but now I've got it
responding to SSL on =
port=20
80 as well as 443.

What I'm looking for is BASIC instructions on =
how to=20
configure apache to
use SSL (and maybe someone can tell me why it's =
not IN=20
the instructions
in the first place).  I've looked in the FAQ and =
the=20
reference guide but
I haven't had any luck yet.

Downloaded =
everything=20
today - apache 1.3.27, open_ssl 0.9.7a, and
mod_ssl=20
2.8.12


_________________________________________________________=
_____________
Apache=20
Interface to OpenSSL=20
(mod_ssl)           =
       =20

User Support =
Mailing=20
List            =
;         =20
modssl-users@modssl.org
Automated List=20
Manager           &n=
bsp;            =
;   =20
majordomo@modssl.org


--=_4B140A67.C7A6FBD3--
____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org

Re: Installation Woes

am 14.03.2003 18:16:59 von Rick Root

Evan Dillon wrote:
> try the apache/mod_ssl part of this:
>
> http://www.devshed.com/Server_Side/PHP/SoothinglySeamless/pa ge1.html

Evan,

That looks great... but... it doesn't tell me how to configure
SSL in the httpd.conf. SSL is nowhere to be found in my httpd.conf, the
default one that came with my apache 1.3.27 source distribution.

cam wrote:
> Have you tried this?
>
> http://www.tldp.org/HOWTO/Apache-Compile-HOWTO/

Cam,

I don't have any problem compiling apache with mod_ssl. I don't know
how to configure it in the httpd.conf because after installation, SSL is
nowhere to be mentioned in the httpd.conf that is installed.

Thanks.

Rick Root

____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org

Re: Installation Woes

am 14.03.2003 19:04:39 von dufresne

On Fri, 14 Mar 2003, Rick Root wrote:

> Evan Dillon wrote:
> > try the apache/mod_ssl part of this:
> >
> > http://www.devshed.com/Server_Side/PHP/SoothinglySeamless/pa ge1.html
>
> Evan,
>
> That looks great... but... it doesn't tell me how to configure
> SSL in the httpd.conf. SSL is nowhere to be found in my httpd.conf, the
> default one that came with my apache 1.3.27 source distribution.

which means that you have not configured mod-ssl and openssl properly
into your apache setup. Once properly done the default config will
reflect the changes you seek.


Thanks,


Ron DuFresne

>
> cam wrote:
> > Have you tried this?
> >
> > http://www.tldp.org/HOWTO/Apache-Compile-HOWTO/
>
> Cam,
>
> I don't have any problem compiling apache with mod_ssl. I don't know
> how to configure it in the httpd.conf because after installation, SSL is
> nowhere to be mentioned in the httpd.conf that is installed.
>
> Thanks.
>
> Rick Root
>
> ____________________________________________________________ __________
> Apache Interface to OpenSSL (mod_ssl) www.modssl.org
> User Support Mailing List modssl-users@modssl.org
> Automated List Manager majordomo@modssl.org
>

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
admin & senior security consultant: sysinfo.com
http://sysinfo.com

"Cutting the space budget really restores my faith in humanity. It
eliminates dreams, goals, and ideals and lets us get straight to the
business of hate, debauchery, and self-annihilation."
-- Johnny Hart

testing, only testing, and damn good at it too!

____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org