Re: Apache2 + SSL

2004-10-19 Thread Andrew L. Gould
On Tuesday 19 October 2004 05:40 am, Nelis Lamprecht wrote:
> Hi,
>
> I've recently just installed apache-2.0.52_1 from ports on a new
> system. I've taken an already working configuration from an older
> machine and transferred it to the new server. No matter what I do I
> can't get SSL working even though it shows up as being used.
>
> www  54695  0.0  0.4 14256 9024  ??  I12:25PM   0:00.00
> /usr/local/sbin/httpd -DSSL
>
> It's as if anything I put between  and
>  gets totally ignored.
>
> 
> Include etc/apache2/ssl.conf
> 
>
> The worst part is there is no logging of any sort to tell me
> otherwise and I've run out of ideas on how to debug this. I've even
> tried compiling in SSL statically but it didn't make any difference.
> I've used certificates already in use and created my own but Apache
> will still not listen on port 443( and nothing else is ) no matter
> what I do. I've tried various ssl configurations but they all seem to
> be ignored. Even httpd -S shows only the virtual hosts in httpd.conf
> and nothing from ssl.conf
>
> Has anybody got any other ideas on how to debug this problem ? How
> can I determine whether SSL is being used ?
>
> By the way, I've also installed openssl from ports and recompiled
> apache but still no luck. I've tried everything! ;) I think..
>
> Thanks.
>
> Nelis
>

I seem to recall having to do the following before I could get apache2 + 
ssl working:

1. Create (self) signed certificates.
2. Modify /usr/local/etc/rc.d/apache2.sh so that it can find the 
certificate.

Best of luck,

Andrew Gould
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Apache2 + SSL

2004-10-19 Thread Nelis Lamprecht
Sorry about the top posting but the person who replied to my question
was rejected( black listed by combined.njabl.org ) by our server and I
found his message below via the web archives.

In reference to the below message.

Putting  instead of  in my httpd.conf
which Includes ssl.conf causes Apache to complain about all SSL type
commands. eg.

Syntax error on line 76 of /usr/local/etc/apache2/ssl.conf:
Invalid command 'SSLPassPhraseDialog', perhaps mis-spelled or defined by
a module not included in the server configuration

Which leads me to think that perhaps the SSL portion of Apache2 is
faulty ? 

httpd -S -DSSL returns the same thing as httpd -S and shows only the
httpd.conf virtual hosts on port 80.

Thanks.

Nelis
 

* Nelis Lamprecht <[EMAIL PROTECTED]> [1041 11:41]:
> Hi,
> 
> I've recently just installed apache-2.0.52_1 from ports on a new system.
> I've taken an already working configuration from an older machine and
> transferred it to the new server. No matter what I do I can't get SSL
> working even though it shows up as being used.
> 
> www  54695  0.0  0.4 14256 9024  ??  I12:25PM   0:00.00
> /usr/local/sbin/httpd -DSSL
> 
> It's as if anything I put between  and 
> gets totally ignored.
> 
> 
> Include etc/apache2/ssl.conf
> 

Try 


 Include etc/apache2/ssl.conf



> httpd -S shows only the virtual hosts in httpd.conf and nothing from
> ssl.conf 

httpd -S -DSSL



___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Apache2 + SSL

2004-10-19 Thread Dick Davies
* Nelis Lamprecht <[EMAIL PROTECTED]> [1041 11:41]:
> Hi,
> 
> I've recently just installed apache-2.0.52_1 from ports on a new system.
> I've taken an already working configuration from an older machine and
> transferred it to the new server. No matter what I do I can't get SSL
> working even though it shows up as being used.
> 
> www  54695  0.0  0.4 14256 9024  ??  I12:25PM   0:00.00
> /usr/local/sbin/httpd -DSSL
> 
> It's as if anything I put between  and 
> gets totally ignored.
> 
> 
> Include etc/apache2/ssl.conf
> 

Try 


 Include etc/apache2/ssl.conf



> httpd -S shows only the virtual hosts in httpd.conf and nothing from
> ssl.conf 

httpd -S -DSSL

-- 
My life, and by extension everyone else's, is meaningless. - Bender
Rasputin :: Jack of All Trades - Master of Nuns
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Apache2 + SSL

2004-10-19 Thread Nelis Lamprecht
Hi,

I've recently just installed apache-2.0.52_1 from ports on a new system.
I've taken an already working configuration from an older machine and
transferred it to the new server. No matter what I do I can't get SSL
working even though it shows up as being used.

www  54695  0.0  0.4 14256 9024  ??  I12:25PM   0:00.00
/usr/local/sbin/httpd -DSSL

It's as if anything I put between  and 
gets totally ignored.


Include etc/apache2/ssl.conf


The worst part is there is no logging of any sort to tell me otherwise
and I've run out of ideas on how to debug this. I've even tried
compiling in SSL statically but it didn't make any difference. I've used
certificates already in use and created my own but Apache will still not
listen on port 443( and nothing else is ) no matter what I do. I've
tried various ssl configurations but they all seem to be ignored. Even
httpd -S shows only the virtual hosts in httpd.conf and nothing from
ssl.conf 

Has anybody got any other ideas on how to debug this problem ? How can I
determine whether SSL is being used ?

By the way, I've also installed openssl from ports and recompiled apache
but still no luck. I've tried everything! ;) I think..

Thanks.

Nelis


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: apache2 + ssl

2004-03-23 Thread Matthew Seaman
On Tue, Mar 23, 2004 at 11:01:57AM +0100, thomas may wrote:
> i like to install apache2 with ssl support. For apache 1.3.x i can find a
> mod_ssl port.
> 
> What must i do for apache 2 ?

mod_ssl is a standard part of apache2.  You don't need any extra
software.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


apache2 + ssl

2004-03-23 Thread thomas may
Hi,

 

i like to install apache2 with ssl support. For apache 1.3.x i can find a
mod_ssl port.

What must i do for apache 2 ?

 

thanx


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.631 / Virus Database: 404 - Release Date: 17.03.2004
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"