Apache with mod_ssl

2007-06-15 Thread Saikat Saha
We have apache 2.2.4 compiled with all modules but commented out all
load modules. Do not have anything in httpd.conf file to state that this
is https. But when I start apache, it tries to goto https and prompts
for pass phrase. How does apache determine that this is https whereas
this is actually a http server. After I enter a passphrase, it shows
successful but the server never starts up. Can someone please help?

 

Also can apache support both http and https at different ports at the
same time?

 

Thanks much for your help.

SS

 

 

 

[EMAIL PROTECTED] bin]# ./apachectl start

Apache/2.2.4 mod_ssl/2.2.4 (Pass Phrase Dialog)

Some of your private key files are encrypted for security reasons.

In order to read them you have to provide the pass phrases.

 

Server 10.3.110.109:443 (RSA)

Enter pass phrase:

 

OK: Pass Phrase Dialog successful.

 

 

Httpd.conf 

 

# Secure (SSL/TLS) connections

#Include conf/extra/httpd-ssl.conf

#

# Note: The following must must be present to support

#   starting without SSL on platforms with no /dev/random equivalent

#   but a statically compiled-in mod_ssl.

#

IfModule ssl_module

SSLRandomSeed startup builtin

SSLRandomSeed connect builtin

/IfModule



RE: Apache with mod_ssl

2007-06-15 Thread Saikat Saha
Apache was compiled as below

./configure --with-ldap --enable-mods-shared=all ssl ldap cache proxy
authn_alias mem_cache file_cache authnz_ldap charset_lite dav_lock
disk_cache --prefix=/opt/apache-2.2.4

Httpd -l gives below
[EMAIL PROTECTED] bin]# httpd -l
Compiled in modules:
  core.c
  prefork.c
  http_core.c
  mod_so.c

How do I compile so that it does not load mod_ssl automatically and
loads only if httpd.conf is configured.

Surprisingly there are no error logs even at debug level.

Thank you so very much for the kind help.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Omar W. Hannet
Sent: Friday, June 15, 2007 4:13 PM
To: modssl-users@modssl.org
Subject: Re: Apache with mod_ssl

Saikat Saha wrote:
 We have apache 2.2.4 compiled with all modules but commented out all 
 load modules. Do not have anything in httpd.conf file to state that
this 
 is https. But when I start apache, it tries to goto https and prompts 
 for pass phrase. How does apache determine that this is https whereas 
 this is actually a http server.

Perhaps mod_ssl is a compiled-in module.  Run 'httpd -l' to check this.

 After I enter a passphrase, it shows 
 successful but the server never starts up. Can someone please help?

The reason probably can be found in Apache's error_log file.

 Also can apache support both http and https at different ports at the 
 same time?

Yes.  The defaults are port 80 for http and port 443 for https.

-- 
Omar W. Hannet
http://www.allez-oop.net/
__
Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
User Support Mailing List  modssl-users@modssl.org
Automated List Manager[EMAIL PROTECTED]
__
Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
User Support Mailing List  modssl-users@modssl.org
Automated List Manager[EMAIL PROTECTED]


mod_ssl setup process with apache 2.2.4

2007-06-12 Thread Saikat Saha
Hi,

 

We are trying to setup apache 2.2.4 alongwith mod_ssl and mod_jk. Mod_jk
has been successfully configured and working with two instances of
Jboss.

However after installing mod_ssl, does not seem to be
installed/configured properly. Is there some link which describes step
by step setup process to configure 

Mod_ssl with apache 2.2.4? Can anyone please forward the link? 

 

Also, we have three ports, two of them need to be https and one needs to
be http. How do we configure this?

 

In our configuration, we want Apache to receive https requests from
clients and then forward http to the Jboss application server thru
mod_jk. Can someone please point to some link/documentation.

We would assume these are standard practices.

 

Thank you so very much for your kind help.

 

Regards,

SS