Thanks Dave,

Here are the results...

I have been starting the server with 
 /usr/local/sbin/apahectl sslstart

Then
 /usr/local/sbin/apahectl start

(Am I supposed to do both - in that order?)

I installed curl (http://curl.haxx.se/) and
tested via the terminal

When I type...
/usr/local/bin/curl http://localhost/
  my home page shows up fine

When I type...
/usr/local/bin/curl https://localhost/
  I get  curl:  (7) Connection refused.

Oh, and I also tested with the default config that
is installed with mod_ssl and got the same results.

Any other ideas?    It seems that port 443 does not
get along well with SSL, only non-SSL.

-Deborah
 

David Rees wrote:
> 
> It sounds like you are not running "apachectl startssl", and just running
> "apachectl start".
> 
> Personally, I've found those <IfDefine SSL> statements a PITA.
> 
> What I do is replace all <IfDefine SSL> statements with <IfModule
> mod_ssl.c>, except for the ones around the mod_ssl LoadModule and AddModule
> lines.
> 
> Then if I want to turn off mod_ssl, I just comment out mod_ssl
> LoadModule/AddModule lines and I don't have to remember to use "apachectl
> startssl" anymore.
> 
> -Dave
> 
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of AndersonCreations.com
> > Sent: Thursday, March 22, 2001 4:26 PM
> > To: [EMAIL PROTECTED]
> > Subject: https problem - port 443 problem
> >
> >
> > Hello there,
> >
> > I have spent hours pouring over the archives of this
> > list to find an answer to this problem.  It seems that
> > none of the answers, so far, match this problem "exactly."
> >
> > In other words, I have tried everything and nothing works.
> >
> > No matter what I do, I get "Server not accepting connections"
> > whenever I use https  or domain.dom:443
> >
> > (The non-secure apache - http://  works fine)
> >
> >
> > Here is some info:
> >
> > I am running Mac OS X Server 1.2v3.
> >
> > I have successfully installed OpenSSL, Apache, mod_ssl.
> >
> > I have the following in my config file:
> > Port 80
> > <IfDefine SSL>
> > Listen 80
> > Listen 443
> > </IfDefine>
> >
> > Also, in the virtual host portion...
> > <IfDefine SSL>
> > <VirtualHost netnameone.org>
> > ...
> >
> > I have tried oodles of variations on this..
> >
> > For example:
> > <IfDefine SSL>
> > <VirtualHost netnameone.org:443>
> >
> > etc. etc.
> >
> > Also, If I remove the <IfDefine... from the load module,
> > it works on 443 but not 80...
> > #<IfDefine SSL>
> > LoadModule ssl_module  /Local/Library/Apache/Modules/libssl.so
> > #</IfDefine>
> >
> > I have tested with...
> >
> > root#  netstat -a | grep LISTEN
> >
> > port *.443 does not show up
> > port *.80 does show up
> >
> >
> > If I change the config file so that it listens to
> > port 80 and port 443, then port *.443 shows up in
> > the listing (above).
> >
> > When I test with
> > netstat -na | grep 80   I show multiple connections
> > netstat -na | grep 443  shows none
> >
> > How do I get my server to listen to 443?
> >
> > Thanks for any help - I apologize if this is a dumb
> > question and I am missing something really obvious :)
> >
> > -Deborah
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to