SSL error

SSL error

Post by charles271.. » Wed, 12 Jul 2000 04:00:00



I have what I think is a vanilla Apache configuration file (with
mod_ssl), to which I have added some name-based virtual host
containers.  My global ServerName directive is foo.com.  When I try to
access https://foo.com/, I get a message box from Netscape:

A network error occured while Netscape was receiving data.  (Network
Error: Connection refused)  Try connecting again.

I get no such error with a normal HTTP connection.  Can someone help me?

Sent via Deja.com http://www.deja.com/
Before you buy.

 
 
 

SSL error

Post by Rafael Garcia-Suar » Wed, 12 Jul 2000 04:00:00



Quote:>I have what I think is a vanilla Apache configuration file (with
>mod_ssl), to which I have added some name-based virtual host
>containers.  My global ServerName directive is foo.com.  When I try to
>access https://foo.com/, I get a message box from Netscape:

>A network error occured while Netscape was receiving data.  (Network
>Error: Connection refused)  Try connecting again.

>I get no such error with a normal HTTP connection.  Can someone help me?

Define the <VirtualHost _default_:443> for your HTTPS server, enable listening
on this port with the 'Listen 443' directive, and start apache with 'apachectl
startssl'. Have you done all this?

--
Rafael Garcia-Suarez

 
 
 

SSL error

Post by charles271.. » Wed, 12 Jul 2000 04:00:00


I have just tried replacing my conf file with the default conf that came
with the distribution, and now I get the same error for both HTTP and
HTTPS.  So it's something else.  (The default does have the VirtualHost
_default_:443 and Listen 443 directives.)

It must have something to do with my DNS and etc... very confusing!

At least I know it's probably not a conf file problem...




> >I have what I think is a vanilla Apache configuration file (with
> Define the <VirtualHost _default_:443> for your HTTPS server, enable
listening
> on this port with the 'Listen 443' directive, and start apache with
'apachectl
> startssl'. Have you done all this?

Sent via Deja.com http://www.deja.com/
Before you buy.
 
 
 

SSL error

Post by Joseph Sutti » Wed, 12 Jul 2000 04:00:00


I too had to restore my conf file for my apache server, the default conf
file doesn't have the 'listen' command active, i.e. it is commented out,
that is why now both http pages get the error. The default setting is
security, the web page is noted open for access when you do an install.

> I have just tried replacing my conf file with the default conf that came
> with the distribution, and now I get the same error for both HTTP and
> HTTPS.  So it's something else.  (The default does have the VirtualHost
> _default_:443 and Listen 443 directives.)

> It must have something to do with my DNS and etc... very confusing!

> At least I know it's probably not a conf file problem...




> > >I have what I think is a vanilla Apache configuration file (with
> > Define the <VirtualHost _default_:443> for your HTTPS server, enable
> listening
> > on this port with the 'Listen 443' directive, and start apache with
> 'apachectl
> > startssl'. Have you done all this?

> Sent via Deja.com http://www.deja.com/
> Before you buy.

 
 
 

SSL error

Post by Paul Rub » Thu, 13 Jul 2000 04:00:00



>I have what I think is a vanilla Apache configuration file (with
>mod_ssl), to which I have added some name-based virtual host
>containers.  My global ServerName directive is foo.com.  When I try to
>access https://foo.com/, I get a message box from Netscape:

>A network error occured while Netscape was receiving data.  (Network
>Error: Connection refused)  Try connecting again.

>I get no such error with a normal HTTP connection.  Can someone help me?

Try it with MSIE and see if you get the same error.  Post your findings here.
 
 
 

SSL error

Post by charles271.. » Thu, 13 Jul 2000 04:00:00


I get the same error with MSIE, but I having discovered how to check the
Internet socket status, I can definitely see that apache is not
listening to 443.

I start apache with 'startssl'.  That works no prob.

In my conf file, I have

Port 80
<IfDefine SSL>
Listen 80
Listen 443
</IfDefine>

Shouldn't this be enough to get apache listening to 443?  Also, I see no
error messages in the logs; one would think there would be some kind of
message if you 'startssl' and 443 is not listened to?

Thanks for any help...

Sent via Deja.com http://www.deja.com/
Before you buy.

 
 
 

SSL error

Post by Paul Rub » Thu, 13 Jul 2000 04:00:00



>Port 80
><IfDefine SSL>
>Listen 80
>Listen 443
></IfDefine>

>Shouldn't this be enough to get apache listening to 443?

No you need

    <VirtualHost _default_:443>
      ...
    </VirtualHost>

as well.  I thought you said you had that.

Are you starting the server with "apachectl startssl"?

Please try httpd -l and make sure the SSL module is even installed.

Dunno what else to tell you; it's kind of hard to diagnose via newsgroup :).

 
 
 

1. RH8, up2date SSL error?

I've installed RH 8.0 fresh on my laptop.  However, when I try to use
up2date, I get the message:

There was an SSL error: [('SSL routines',
'SSL3_GET_SERVER_CERTIFICATE', 'certificate verify failed')]

If I edit /etc/sysconfig/rhn/up2date to use http: instead of https:
for the serverURL, up2date runs ok (except, obviously, without SSL).

I have openssl-0.9.6b-29 installed.

Can anyone give me a hint as to what might be going wrong?

Thanks,

Carl

2. Using a True IP for Mail server instead of port mapping behind firewall ?

3. Apache + IE + SSL = Error (Known problem?)

4. Lsox installation

5. APACHE 2.0.35 SSL ERROR

6. ISDN - Newbee

7. Apache SSL error: SSL_accept failed

8. non-blocking I/O on X.25

9. Compile SSL error

10. Compile Apache-SSL error under FreeBSD

11. apache + ssl error

12. apache-ssl error

13. Apache-ssl error